lib/telegram/bot/api.rb in telegram-bot-ruby-0.7.2 vs lib/telegram/bot/api.rb in telegram-bot-ruby-0.8.0
- old
+ new
@@ -2,15 +2,16 @@
module Bot
class Api
ENDPOINTS = %w(
getUpdates setWebhook deleteWebhook getWebhookInfo getMe sendMessage
forwardMessage sendPhoto sendAudio sendDocument sendSticker sendVideo
- sendVoice sendLocation sendVenue sendContact sendChatAction
- getUserProfilePhotos getFile kickChatMember leaveChat unbanChatMember
- getChat getChatAdministrators getChatMembersCount getChatMember
- answerCallbackQuery editMessageText editMessageCaption
- editMessageReplyMarkup answerInlineQuery sendGame setGameScore
- getGameHighScores
+ sendVoice sendVideoNote sendLocation sendVenue sendContact
+ sendChatAction getUserProfilePhotos getFile kickChatMember
+ unbanChatMember leaveChat getChat getChatAdministrators
+ getChatMembersCount getChatMember answerCallbackQuery editMessageText
+ editMessageCaption editMessageReplyMarkup deleteMessage
+ answerInlineQuery sendInvoice answerShippingQuery answerPreCheckoutQuery
+ sendGame setGameScore getGameHighScores
).freeze
REPLY_MARKUP_TYPES = [
Telegram::Bot::Types::ReplyKeyboardMarkup,
Telegram::Bot::Types::ReplyKeyboardRemove,
Telegram::Bot::Types::ForceReply,