This commit is contained in:
Noam Meltzer 2017-01-07 23:05:58 +02:00
parent 191e442e59
commit bd96771a7a

View file

@ -415,7 +415,7 @@ class Bot(TelegramObject):
chat_id: Unique identifier for the message recipient - Chat id. chat_id: Unique identifier for the message recipient - Chat id.
document: File to send. You can either pass a file_id as String to resend a file that document: File to send. You can either pass a file_id as String to resend a file that
is already on the Telegram servers, or upload a new file using multipart/form-data. is already on the Telegram servers, or upload a new file using multipart/form-data.
filename (Optional[str]): File name that shows in telegram message (it is usefull when filename (Optional[str]): File name that shows in telegram message (it is useful when
you send file generated by temp module, for example). you send file generated by temp module, for example).
caption (Optional[str]): Document caption (may also be used when resending documents by caption (Optional[str]): Document caption (may also be used when resending documents by
file_id), 0-200 characters. file_id), 0-200 characters.