Voice et bot modif

This commit is contained in:
pi 2026-06-16 17:09:34 +00:00
parent 189d56026b
commit 7333a22bcd
10774 changed files with 634644 additions and 933308 deletions

View file

@ -0,0 +1,21 @@
from typing import Iterator, overload
class IndexEntry:
pos: int
timestamp: int
flags: int
is_keyframe: bool
is_discard: bool
size: int
min_distance: int
class IndexEntries:
def __len__(self) -> int: ...
def __iter__(self) -> Iterator[IndexEntry]: ...
@overload
def __getitem__(self, index: int) -> IndexEntry: ...
@overload
def __getitem__(self, index: slice) -> list[IndexEntry]: ...
def search_timestamp(
self, timestamp, *, backward: bool = True, any_frame: bool = False
) -> int: ...