lib/telegram/bot/api.rb in telegram-bot-ruby-0.17.0 vs lib/telegram/bot/api.rb in telegram-bot-ruby-0.18.0
- old
+ new
@@ -17,11 +17,13 @@
setStickerPositionInSet deleteStickerFromSet answerInlineQuery
sendInvoice answerShippingQuery answerPreCheckoutQuery
sendGame setGameScore getGameHighScores setPassportDataErrors
editMessageMedia sendAnimation sendPoll stopPoll setChatPermissions
setChatAdministratorCustomTitle sendDice getMyCommands setMyCommands
- setStickerSetThumb logOut close copyMessage createChatInviteLink
- editChatInviteLink revokeChatInviteLink
+ deleteMyCommands setStickerSetThumb logOut close copyMessage
+ createChatInviteLink editChatInviteLink revokeChatInviteLink
+ approveChatJoinRequest declineChatJoinRequest banChatSenderChat
+ unbanChatSenderChat
].freeze
attr_reader :token, :url
def initialize(token, url: 'https://api.telegram.org')