mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-03-13 16:05:49 +03:00
Slightly improve docs heuristics for video files
This commit is contained in:
parent
34861ad1bc
commit
cb6ffeaabd
|
@ -36,7 +36,8 @@ KNOWN_NAMED_EXAMPLES = {
|
||||||
('lang_pack', 'string'): "''",
|
('lang_pack', 'string'): "''",
|
||||||
('lang_code', 'string'): "'en'",
|
('lang_code', 'string'): "'en'",
|
||||||
('chat_id', 'int'): '478614198',
|
('chat_id', 'int'): '478614198',
|
||||||
('client_id', 'long'): 'random.randrange(-2**63, 2**63)'
|
('client_id', 'long'): 'random.randrange(-2**63, 2**63)',
|
||||||
|
('video', 'InputFile'): "client.upload_file('/path/to/file.mp4')",
|
||||||
}
|
}
|
||||||
|
|
||||||
KNOWN_TYPED_EXAMPLES = {
|
KNOWN_TYPED_EXAMPLES = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user