mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Merge pull request #1863 from Cub11k/master
Finished translations into russian of files: sync_version.po, async_version.po
This commit is contained in:
commit
9b9eb775f7
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -4197,7 +4197,7 @@ class TeleBot:
|
|||||||
|
|
||||||
def stop_poll(
|
def stop_poll(
|
||||||
self, chat_id: Union[int, str], message_id: int,
|
self, chat_id: Union[int, str], message_id: int,
|
||||||
reply_markup: Optional[REPLY_MARKUP_TYPES]=None) -> types.Poll:
|
reply_markup: Optional[types.InlineKeyboardMarkup]=None) -> types.Poll:
|
||||||
"""
|
"""
|
||||||
Use this method to stop a poll which was sent by the bot. On success, the stopped Poll is returned.
|
Use this method to stop a poll which was sent by the bot. On success, the stopped Poll is returned.
|
||||||
|
|
||||||
@ -4210,7 +4210,7 @@ class TeleBot:
|
|||||||
:type message_id: :obj:`int`
|
:type message_id: :obj:`int`
|
||||||
|
|
||||||
:param reply_markup: A JSON-serialized object for a new message markup.
|
:param reply_markup: A JSON-serialized object for a new message markup.
|
||||||
:type reply_markup: :obj:`InlineKeyboardMarkup` | :obj:`ReplyKeyboardMarkup` | :obj:`ReplyKeyboardRemove` | :obj:`ForceReply`
|
:type reply_markup: :obj:`InlineKeyboardMarkup`
|
||||||
|
|
||||||
:return: On success, the stopped Poll is returned.
|
:return: On success, the stopped Poll is returned.
|
||||||
:rtype: :obj:`types.Poll`
|
:rtype: :obj:`types.Poll`
|
||||||
|
@ -5061,7 +5061,7 @@ class AsyncTeleBot:
|
|||||||
|
|
||||||
async def stop_poll(
|
async def stop_poll(
|
||||||
self, chat_id: Union[int, str], message_id: int,
|
self, chat_id: Union[int, str], message_id: int,
|
||||||
reply_markup: Optional[REPLY_MARKUP_TYPES]=None) -> types.Poll:
|
reply_markup: Optional[types.InlineKeyboardMarkup]=None) -> types.Poll:
|
||||||
"""
|
"""
|
||||||
Use this method to stop a poll which was sent by the bot. On success, the stopped Poll is returned.
|
Use this method to stop a poll which was sent by the bot. On success, the stopped Poll is returned.
|
||||||
|
|
||||||
@ -5074,7 +5074,7 @@ class AsyncTeleBot:
|
|||||||
:type message_id: :obj:`int`
|
:type message_id: :obj:`int`
|
||||||
|
|
||||||
:param reply_markup: A JSON-serialized object for a new message markup.
|
:param reply_markup: A JSON-serialized object for a new message markup.
|
||||||
:type reply_markup: :obj:`InlineKeyboardMarkup` | :obj:`ReplyKeyboardMarkup` | :obj:`ReplyKeyboardRemove` | :obj:`ForceReply`
|
:type reply_markup: :obj:`InlineKeyboardMarkup`
|
||||||
|
|
||||||
:return: On success, the stopped Poll is returned.
|
:return: On success, the stopped Poll is returned.
|
||||||
:rtype: :obj:`types.Poll`
|
:rtype: :obj:`types.Poll`
|
||||||
|
Loading…
Reference in New Issue
Block a user