Telegram Bot API
Work in progress
Usage
bot, err := telegram.New("123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew1")
user, err := bot.GetMe()
Supported API Calls
Update
Methods
- getMe
- sendMessage
- forwardMessage
- sendPoll
- getUserProfilePhotos
- getChat
- getChatAdministrators
- getChatMembersCount
- getChatMember
- getFile
- setChatTitle
- setChatDescription
- setChatAdministratorCustomTitle
- kickChatMember
- unbanChatMember
- deleteChatPhoto
- leaveChat
- setChatStickerSet
- deleteChatStickerSet
- exportChatInviteLink
- pinChatMessage
- unpinChatMessage
- sendChatAction
- sendLocation
Sticker
Game
Passport
Payment
Todo
Update
Methods
- sendPhoto
- sendAudio
- sendDocument
- sendVideo
- sendAnimation
- sendVoice
- sendVideoNote
- sendMediaGroup
- editMessageLiveLocation
- stopMessageLiveLocation
- sendVenue
- sendContact
- restrictChatMember
- promoteChatMember
- setChatPermissions
- setChatPhoto
- answerCallbackQuery