1
0
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:
_run 2023-01-04 17:39:34 +04:00 committed by GitHub
commit 9b9eb775f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1854 additions and 609 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -4197,7 +4197,7 @@ class TeleBot:
def stop_poll(
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.
@ -4210,7 +4210,7 @@ class TeleBot:
:type message_id: :obj:`int`
: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.
:rtype: :obj:`types.Poll`

View File

@ -5061,7 +5061,7 @@ class AsyncTeleBot:
async def stop_poll(
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.
@ -5074,7 +5074,7 @@ class AsyncTeleBot:
:type message_id: :obj:`int`
: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.
:rtype: :obj:`types.Poll`