lib/telegram/bot/client.rb in telegram-bot-0.9.0.alpha2 vs lib/telegram/bot/client.rb in telegram-bot-0.9.0
- old
+ new
@@ -61,31 +61,38 @@
end
%w(
answerCallbackQuery
answerInlineQuery
+ editMessageCaption
+ editMessageReplyMarkup
+ editMessageText
forwardMessage
getChat
getChatAdministrators
getChatMember
getChatMembersCount
getFile
+ getGameHighScores
getMe
getUpdates
getUserProfilePhotos
+ getWebhookInfo
kickChatMember
leaveChat
sendAudio
sendChatAction
sendContact
sendDocument
+ sendGame
sendLocation
sendMessage
sendPhoto
sendSticker
sendVenue
sendVideo
sendVoice
+ setGameScore
setWebhook
unbanChatMember
).each do |method|
define_method(method.underscore) { |*args| request(method, *args) }
end