lib/telegram/bot/api.rb in telegram-bot-ruby-0.8.2 vs lib/telegram/bot/api.rb in telegram-bot-ruby-0.8.3
- old
+ new
@@ -1,17 +1,19 @@
module Telegram
module Bot
class Api
ENDPOINTS = %w(
getUpdates setWebhook deleteWebhook getWebhookInfo getMe sendMessage
- forwardMessage sendPhoto sendAudio sendDocument sendSticker sendVideo
- sendVoice sendVideoNote sendLocation sendVenue sendContact
- sendChatAction getUserProfilePhotos getFile kickChatMember
- unbanChatMember restrictChatMember promoteChatMember leaveChat getChat
+ forwardMessage sendPhoto sendAudio sendDocument sendVideo sendVoice
+ sendVideoNote sendLocation sendVenue sendContact sendChatAction
+ getUserProfilePhotos getFile kickChatMember unbanChatMember
+ restrictChatMember promoteChatMember leaveChat getChat
getChatAdministrators exportChatInviteLink setChatPhoto deleteChatPhoto
setChatTitle setChatDescription pinChatMessage unpinChatMessage
getChatMembersCount getChatMember answerCallbackQuery editMessageText
editMessageCaption editMessageReplyMarkup deleteMessage
+ sendSticker getStickerSet uploadStickerFile createNewStickerSet
+ addStickerToSet setStickerPositionInSet deleteStickerFromSet
answerInlineQuery sendInvoice answerShippingQuery answerPreCheckoutQuery
sendGame setGameScore getGameHighScores
).freeze
REPLY_MARKUP_TYPES = [
Telegram::Bot::Types::ReplyKeyboardMarkup,