2022-10-02 00:04:31 +03:00
|
|
|
# SOME DESCRIPTIVE TITLE.
|
|
|
|
|
# Copyright (C) 2022, aiogram Team
|
|
|
|
|
# This file is distributed under the same license as the aiogram package.
|
|
|
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
|
|
|
|
|
#
|
|
|
|
|
#, fuzzy
|
|
|
|
|
msgid ""
|
|
|
|
|
msgstr ""
|
|
|
|
|
"Project-Id-Version: aiogram \n"
|
|
|
|
|
"Report-Msgid-Bugs-To: \n"
|
2022-11-06 14:28:21 +02:00
|
|
|
"POT-Creation-Date: 2022-11-06 14:18+0200\n"
|
2022-10-02 00:04:31 +03:00
|
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
|
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
|
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
|
|
|
"MIME-Version: 1.0\n"
|
|
|
|
|
"Content-Type: text/plain; charset=utf-8\n"
|
|
|
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
"Generated-By: Babel 2.10.3\n"
|
|
|
|
|
|
|
|
|
|
#: ../../api/methods/send_document.rst:3
|
|
|
|
|
msgid "sendDocument"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../api/methods/send_document.rst:5
|
|
|
|
|
msgid "Returns: :obj:`Message`"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: aiogram.methods.send_document.SendDocument:1 of
|
|
|
|
|
msgid ""
|
|
|
|
|
"Use this method to send general files. On success, the sent "
|
|
|
|
|
":class:`aiogram.types.message.Message` is returned. Bots can currently "
|
|
|
|
|
"send files of any type of up to 50 MB in size, this limit may be changed "
|
|
|
|
|
"in the future."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: aiogram.methods.send_document.SendDocument:3 of
|
|
|
|
|
msgid "Source: https://core.telegram.org/bots/api#senddocument"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../docstring aiogram.methods.send_document.SendDocument.chat_id:1 of
|
|
|
|
|
msgid ""
|
|
|
|
|
"Unique identifier for the target chat or username of the target channel "
|
|
|
|
|
"(in the format :code:`@channelusername`)"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../docstring aiogram.methods.send_document.SendDocument.document:1 of
|
|
|
|
|
msgid ""
|
|
|
|
|
"File to send. Pass a file_id as String to send a file that exists on the "
|
|
|
|
|
"Telegram servers (recommended), pass an HTTP URL as a String for Telegram"
|
|
|
|
|
" to get a file from the Internet, or upload a new one using multipart"
|
|
|
|
|
"/form-data. :ref:`More information on Sending Files » <sending-files>`"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
2022-11-06 14:28:21 +02:00
|
|
|
#: ../../docstring
|
|
|
|
|
#: aiogram.methods.send_document.SendDocument.message_thread_id:1 of
|
|
|
|
|
msgid ""
|
|
|
|
|
"Unique identifier for the target message thread (topic) of the forum; for"
|
|
|
|
|
" forum supergroups only"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
2022-10-02 00:04:31 +03:00
|
|
|
#: ../../docstring aiogram.methods.send_document.SendDocument.thumb:1 of
|
|
|
|
|
msgid ""
|
|
|
|
|
"Thumbnail of the file sent; can be ignored if thumbnail generation for "
|
|
|
|
|
"the file is supported server-side. The thumbnail should be in JPEG format"
|
|
|
|
|
" and less than 200 kB in size. A thumbnail's width and height should not "
|
|
|
|
|
"exceed 320. Ignored if the file is not uploaded using multipart/form-"
|
|
|
|
|
"data. Thumbnails can't be reused and can be only uploaded as a new file, "
|
|
|
|
|
"so you can pass 'attach://<file_attach_name>' if the thumbnail was "
|
|
|
|
|
"uploaded using multipart/form-data under <file_attach_name>. :ref:`More "
|
|
|
|
|
"information on Sending Files » <sending-files>`"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../docstring aiogram.methods.send_document.SendDocument.caption:1 of
|
|
|
|
|
msgid ""
|
|
|
|
|
"Document caption (may also be used when resending documents by "
|
|
|
|
|
"*file_id*), 0-1024 characters after entities parsing"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../docstring aiogram.methods.send_document.SendDocument.parse_mode:1 of
|
|
|
|
|
msgid ""
|
|
|
|
|
"Mode for parsing entities in the document caption. See `formatting "
|
|
|
|
|
"options <https://core.telegram.org/bots/api#formatting-options>`_ for "
|
|
|
|
|
"more details."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../docstring
|
|
|
|
|
#: aiogram.methods.send_document.SendDocument.caption_entities:1 of
|
|
|
|
|
msgid ""
|
|
|
|
|
"A JSON-serialized list of special entities that appear in the caption, "
|
|
|
|
|
"which can be specified instead of *parse_mode*"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../docstring
|
|
|
|
|
#: aiogram.methods.send_document.SendDocument.disable_content_type_detection:1
|
|
|
|
|
#: of
|
|
|
|
|
msgid ""
|
|
|
|
|
"Disables automatic server-side content type detection for files uploaded "
|
|
|
|
|
"using multipart/form-data"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../docstring
|
|
|
|
|
#: aiogram.methods.send_document.SendDocument.disable_notification:1 of
|
|
|
|
|
msgid ""
|
|
|
|
|
"Sends the message `silently <https://telegram.org/blog/channels-2-0"
|
|
|
|
|
"#silent-messages>`_. Users will receive a notification with no sound."
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../docstring aiogram.methods.send_document.SendDocument.protect_content:1
|
|
|
|
|
#: of
|
|
|
|
|
msgid "Protects the contents of the sent message from forwarding and saving"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../docstring
|
|
|
|
|
#: aiogram.methods.send_document.SendDocument.reply_to_message_id:1 of
|
|
|
|
|
msgid "If the message is a reply, ID of the original message"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../docstring
|
|
|
|
|
#: aiogram.methods.send_document.SendDocument.allow_sending_without_reply:1 of
|
|
|
|
|
msgid ""
|
|
|
|
|
"Pass :code:`True` if the message should be sent even if the specified "
|
|
|
|
|
"replied-to message is not found"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../docstring aiogram.methods.send_document.SendDocument.reply_markup:1 of
|
|
|
|
|
msgid ""
|
|
|
|
|
"Additional interface options. A JSON-serialized object for an `inline "
|
2022-11-06 14:28:21 +02:00
|
|
|
"keyboard <https://core.telegram.org/bots/features#inline-keyboards>`_, "
|
|
|
|
|
"`custom reply keyboard "
|
|
|
|
|
"<https://core.telegram.org/bots/features#keyboards>`_, instructions to "
|
|
|
|
|
"remove reply keyboard or to force a reply from the user."
|
2022-10-02 00:04:31 +03:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../api/methods/send_document.rst:14
|
|
|
|
|
msgid "Usage"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../api/methods/send_document.rst:17
|
|
|
|
|
msgid "As bot method"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../api/methods/send_document.rst:25
|
|
|
|
|
msgid "Method as object"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../api/methods/send_document.rst:27
|
|
|
|
|
msgid "Imports:"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../api/methods/send_document.rst:29
|
|
|
|
|
msgid ":code:`from aiogram.methods.send_document import SendDocument`"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../api/methods/send_document.rst:30
|
|
|
|
|
msgid "alias: :code:`from aiogram.methods import SendDocument`"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../api/methods/send_document.rst:33
|
|
|
|
|
msgid "With specific bot"
|
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
|
|
#: ../../api/methods/send_document.rst:40
|
|
|
|
|
msgid "As reply into Webhook in handler"
|
|
|
|
|
msgstr ""
|
2022-11-06 14:28:21 +02:00
|
|
|
|
|
|
|
|
#~ msgid ""
|
|
|
|
|
#~ "Additional interface options. A JSON-"
|
|
|
|
|
#~ "serialized object for an `inline "
|
|
|
|
|
#~ "keyboard <https://core.telegram.org/bots#inline-"
|
|
|
|
|
#~ "keyboards-and-on-the-fly-updating>`_, "
|
|
|
|
|
#~ "`custom reply keyboard "
|
|
|
|
|
#~ "<https://core.telegram.org/bots#keyboards>`_, instructions "
|
|
|
|
|
#~ "to remove reply keyboard or to "
|
|
|
|
|
#~ "force a reply from the user."
|
|
|
|
|
#~ msgstr ""
|