mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-13 10:26:53 +00:00
176 lines
5.4 KiB
Text
176 lines
5.4 KiB
Text
|
|
# 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"
|
||
|
|
"POT-Creation-Date: 2022-10-01 22:51+0300\n"
|
||
|
|
"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_poll.rst:3
|
||
|
|
msgid "sendPoll"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/send_poll.rst:5
|
||
|
|
msgid "Returns: :obj:`Message`"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: aiogram.methods.send_poll.SendPoll:1 of
|
||
|
|
msgid ""
|
||
|
|
"Use this method to send a native poll. On success, the sent "
|
||
|
|
":class:`aiogram.types.message.Message` is returned."
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: aiogram.methods.send_poll.SendPoll:3 of
|
||
|
|
msgid "Source: https://core.telegram.org/bots/api#sendpoll"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.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_poll.SendPoll.question:1 of
|
||
|
|
msgid "Poll question, 1-300 characters"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.options:1 of
|
||
|
|
msgid ""
|
||
|
|
"A JSON-serialized list of answer options, 2-10 strings 1-100 characters "
|
||
|
|
"each"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.is_anonymous:1 of
|
||
|
|
msgid ":code:`True`, if the poll needs to be anonymous, defaults to :code:`True`"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.type:1 of
|
||
|
|
msgid "Poll type, 'quiz' or 'regular', defaults to 'regular'"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.allows_multiple_answers:1
|
||
|
|
#: of
|
||
|
|
msgid ""
|
||
|
|
":code:`True`, if the poll allows multiple answers, ignored for polls in "
|
||
|
|
"quiz mode, defaults to :code:`False`"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.correct_option_id:1 of
|
||
|
|
msgid ""
|
||
|
|
"0-based identifier of the correct answer option, required for polls in "
|
||
|
|
"quiz mode"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.explanation:1 of
|
||
|
|
msgid ""
|
||
|
|
"Text that is shown when a user chooses an incorrect answer or taps on the"
|
||
|
|
" lamp icon in a quiz-style poll, 0-200 characters with at most 2 line "
|
||
|
|
"feeds after entities parsing"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.explanation_parse_mode:1
|
||
|
|
#: of
|
||
|
|
msgid ""
|
||
|
|
"Mode for parsing entities in the explanation. See `formatting options "
|
||
|
|
"<https://core.telegram.org/bots/api#formatting-options>`_ for more "
|
||
|
|
"details."
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.explanation_entities:1 of
|
||
|
|
msgid ""
|
||
|
|
"A JSON-serialized list of special entities that appear in the poll "
|
||
|
|
"explanation, which can be specified instead of *parse_mode*"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.open_period:1 of
|
||
|
|
msgid ""
|
||
|
|
"Amount of time in seconds the poll will be active after creation, 5-600. "
|
||
|
|
"Can't be used together with *close_date*."
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.close_date:1 of
|
||
|
|
msgid ""
|
||
|
|
"Point in time (Unix timestamp) when the poll will be automatically "
|
||
|
|
"closed. Must be at least 5 and no more than 600 seconds in the future. "
|
||
|
|
"Can't be used together with *open_period*."
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.is_closed:1 of
|
||
|
|
msgid ""
|
||
|
|
"Pass :code:`True` if the poll needs to be immediately closed. This can be"
|
||
|
|
" useful for poll preview."
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.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_poll.SendPoll.protect_content:1 of
|
||
|
|
msgid "Protects the contents of the sent message from forwarding and saving"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring aiogram.methods.send_poll.SendPoll.reply_to_message_id:1 of
|
||
|
|
msgid "If the message is a reply, ID of the original message"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../docstring
|
||
|
|
#: aiogram.methods.send_poll.SendPoll.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_poll.SendPoll.reply_markup:1 of
|
||
|
|
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 ""
|
||
|
|
|
||
|
|
#: ../../api/methods/send_poll.rst:14
|
||
|
|
msgid "Usage"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/send_poll.rst:17
|
||
|
|
msgid "As bot method"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/send_poll.rst:25
|
||
|
|
msgid "Method as object"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/send_poll.rst:27
|
||
|
|
msgid "Imports:"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/send_poll.rst:29
|
||
|
|
msgid ":code:`from aiogram.methods.send_poll import SendPoll`"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/send_poll.rst:30
|
||
|
|
msgid "alias: :code:`from aiogram.methods import SendPoll`"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/send_poll.rst:33
|
||
|
|
msgid "With specific bot"
|
||
|
|
msgstr ""
|
||
|
|
|
||
|
|
#: ../../api/methods/send_poll.rst:40
|
||
|
|
msgid "As reply into Webhook in handler"
|
||
|
|
msgstr ""
|