Slightly improve docs heuristics for video files

This commit is contained in:
Lonami Exo 2020-07-28 19:46:50 +02:00
parent 34861ad1bc
commit cb6ffeaabd

View File

@ -36,7 +36,8 @@ KNOWN_NAMED_EXAMPLES = {
('lang_pack', 'string'): "''",
('lang_code', 'string'): "'en'",
('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 = {