mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Comment fix
This commit is contained in:
parent
555257a3fe
commit
08fc32b70a
@ -75,74 +75,59 @@ 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
|
||||||
sendLocation
|
|
||||||
sendChatAction
|
|
||||||
sendDice
|
|
||||||
sendContact
|
|
||||||
sendInvoice
|
|
||||||
sendMediaGroup
|
sendMediaGroup
|
||||||
getUserProfilePhotos
|
sendLocation
|
||||||
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
|
||||||
exportChatInviteLink
|
approveChatJoinRequest
|
||||||
setChatStickerSet
|
declineChatJoinRequest
|
||||||
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
|
||||||
answerInlineQuery
|
getMyCommands
|
||||||
answerShippingQuery
|
|
||||||
answerPreCheckoutQuery
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
@ -94,7 +94,66 @@ class CancelUpdate:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
class AsyncTeleBot:
|
class AsyncTeleBot:
|
||||||
|
""" This is AsyncTeleBot Class
|
||||||
|
Methods:
|
||||||
|
getMe
|
||||||
|
logOut
|
||||||
|
close
|
||||||
|
sendMessage
|
||||||
|
Formatting options
|
||||||
|
forwardMessage
|
||||||
|
copyMessage
|
||||||
|
sendPhoto
|
||||||
|
sendAudio
|
||||||
|
sendDocument
|
||||||
|
sendVideo
|
||||||
|
sendAnimation
|
||||||
|
sendVoice
|
||||||
|
sendVideoNote
|
||||||
|
sendMediaGroup
|
||||||
|
sendLocation
|
||||||
|
editMessageLiveLocation
|
||||||
|
stopMessageLiveLocation
|
||||||
|
sendVenue
|
||||||
|
sendContact
|
||||||
|
sendPoll
|
||||||
|
sendDice
|
||||||
|
sendChatAction
|
||||||
|
getUserProfilePhotos
|
||||||
|
getFile
|
||||||
|
banChatMember
|
||||||
|
unbanChatMember
|
||||||
|
restrictChatMember
|
||||||
|
promoteChatMember
|
||||||
|
setChatAdministratorCustomTitle
|
||||||
|
banChatSenderChat
|
||||||
|
unbanChatSenderChat
|
||||||
|
setChatPermissions
|
||||||
|
exportChatInviteLink
|
||||||
|
createChatInviteLink
|
||||||
|
editChatInviteLink
|
||||||
|
revokeChatInviteLink
|
||||||
|
approveChatJoinRequest
|
||||||
|
declineChatJoinRequest
|
||||||
|
setChatPhoto
|
||||||
|
deleteChatPhoto
|
||||||
|
setChatTitle
|
||||||
|
setChatDescription
|
||||||
|
pinChatMessage
|
||||||
|
unpinChatMessage
|
||||||
|
unpinAllChatMessages
|
||||||
|
leaveChat
|
||||||
|
getChat
|
||||||
|
getChatAdministrators
|
||||||
|
getChatMemberCount
|
||||||
|
getChatMember
|
||||||
|
setChatStickerSet
|
||||||
|
deleteChatStickerSet
|
||||||
|
answerCallbackQuery
|
||||||
|
setMyCommands
|
||||||
|
deleteMyCommands
|
||||||
|
getMyCommands
|
||||||
|
"""
|
||||||
|
|
||||||
def __init__(self, token: str, parse_mode: Optional[str]=None, offset=None,
|
def __init__(self, token: str, parse_mode: Optional[str]=None, offset=None,
|
||||||
exception_handler=None) -> None: # TODO: ADD TYPEHINTS
|
exception_handler=None) -> None: # TODO: ADD TYPEHINTS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user