1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00
This commit is contained in:
_run 2021-12-08 14:15:40 +05:00
parent 08fc32b70a
commit 311eec6888
2 changed files with 68 additions and 38 deletions

View File

@ -75,59 +75,74 @@ class TeleBot:
logOut logOut
close close
sendMessage sendMessage
Formatting options
forwardMessage forwardMessage
copyMessage copyMessage
deleteMessage
sendPhoto sendPhoto
sendAudio sendAudio
sendDocument sendDocument
sendSticker
sendVideo sendVideo
sendVenue
sendAnimation sendAnimation
sendVoice
sendVideoNote sendVideoNote
sendMediaGroup
sendLocation sendLocation
sendChatAction
sendDice
sendContact
sendInvoice
sendMediaGroup
getUserProfilePhotos
getUpdates
getFile
sendPoll
stopPoll
sendGame
setGameScore
getGameHighScores
editMessageText
editMessageCaption
editMessageMedia
editMessageReplyMarkup
editMessageLiveLocation editMessageLiveLocation
stopMessageLiveLocation stopMessageLiveLocation
sendVenue
sendContact
sendPoll
sendDice
sendChatAction
getUserProfilePhotos
getFile
banChatMember banChatMember
unbanChatMember unbanChatMember
restrictChatMember restrictChatMember
promoteChatMember promoteChatMember
setChatAdministratorCustomTitle setChatAdministratorCustomTitle
banChatSenderChat
unbanChatSenderChat
setChatPermissions setChatPermissions
exportChatInviteLink
createChatInviteLink createChatInviteLink
editChatInviteLink editChatInviteLink
revokeChatInviteLink revokeChatInviteLink
approveChatJoinRequest exportChatInviteLink
declineChatJoinRequest setChatStickerSet
deleteChatStickerSet
createNewStickerSet
addStickerToSet
deleteStickerFromSet
setStickerPositionInSet
uploadStickerFile
setStickerSetThumb
getStickerSet
setChatPhoto setChatPhoto
deleteChatPhoto deleteChatPhoto
setChatTitle setChatTitle
setChatDescription setChatDescription
pinChatMessage pinChatMessage
unpinChatMessage unpinChatMessage
unpinAllChatMessages
leaveChat leaveChat
getChat getChat
getChatAdministrators getChatAdministrators
getChatMemberCount getChatMemberCount
getChatMember getChatMember
setChatStickerSet
deleteChatStickerSet
answerCallbackQuery answerCallbackQuery
getMyCommands
setMyCommands setMyCommands
deleteMyCommands deleteMyCommands
getMyCommands answerInlineQuery
answerShippingQuery
answerPreCheckoutQuery
""" """
def __init__( def __init__(

View File

@ -100,59 +100,74 @@ class AsyncTeleBot:
logOut logOut
close close
sendMessage sendMessage
Formatting options
forwardMessage forwardMessage
copyMessage copyMessage
deleteMessage
sendPhoto sendPhoto
sendAudio sendAudio
sendDocument sendDocument
sendSticker
sendVideo sendVideo
sendVenue
sendAnimation sendAnimation
sendVoice
sendVideoNote sendVideoNote
sendMediaGroup
sendLocation sendLocation
sendChatAction
sendDice
sendContact
sendInvoice
sendMediaGroup
getUserProfilePhotos
getUpdates
getFile
sendPoll
stopPoll
sendGame
setGameScore
getGameHighScores
editMessageText
editMessageCaption
editMessageMedia
editMessageReplyMarkup
editMessageLiveLocation editMessageLiveLocation
stopMessageLiveLocation stopMessageLiveLocation
sendVenue
sendContact
sendPoll
sendDice
sendChatAction
getUserProfilePhotos
getFile
banChatMember banChatMember
unbanChatMember unbanChatMember
restrictChatMember restrictChatMember
promoteChatMember promoteChatMember
setChatAdministratorCustomTitle setChatAdministratorCustomTitle
banChatSenderChat
unbanChatSenderChat
setChatPermissions setChatPermissions
exportChatInviteLink
createChatInviteLink createChatInviteLink
editChatInviteLink editChatInviteLink
revokeChatInviteLink revokeChatInviteLink
approveChatJoinRequest exportChatInviteLink
declineChatJoinRequest setChatStickerSet
deleteChatStickerSet
createNewStickerSet
addStickerToSet
deleteStickerFromSet
setStickerPositionInSet
uploadStickerFile
setStickerSetThumb
getStickerSet
setChatPhoto setChatPhoto
deleteChatPhoto deleteChatPhoto
setChatTitle setChatTitle
setChatDescription setChatDescription
pinChatMessage pinChatMessage
unpinChatMessage unpinChatMessage
unpinAllChatMessages
leaveChat leaveChat
getChat getChat
getChatAdministrators getChatAdministrators
getChatMemberCount getChatMemberCount
getChatMember getChatMember
setChatStickerSet
deleteChatStickerSet
answerCallbackQuery answerCallbackQuery
getMyCommands
setMyCommands setMyCommands
deleteMyCommands deleteMyCommands
getMyCommands answerInlineQuery
answerShippingQuery
answerPreCheckoutQuery
""" """
def __init__(self, token: str, parse_mode: Optional[str]=None, offset=None, def __init__(self, token: str, parse_mode: Optional[str]=None, offset=None,