lib/telegram/bot/api/endpoints.rb in telegram-bot-ruby-2.0.0 vs lib/telegram/bot/api/endpoints.rb in telegram-bot-ruby-2.1.0
- old
+ new
@@ -31,11 +31,11 @@
'banChatMember' => Types::Bool,
'unbanChatMember' => Types::Bool,
'restrictChatMember' => Types::Bool,
'promoteChatMember' => Types::Bool,
'leaveChat' => Types::Bool,
- 'getChat' => Types::Chat,
+ 'getChat' => Types::ChatFullInfo,
'getChatAdministrators' => Types::Array.of(Types::ChatMember),
'exportChatInviteLink' => Types::String,
'setChatPhoto' => Types::Bool,
'deleteChatPhoto' => Types::Bool,
'setChatTitle' => Types::Bool,
@@ -105,10 +105,20 @@
'setMyName' => Types::Bool,
'getMyName' => Types::BotName,
'setMyDescription' => Types::Bool,
'getMyDescription' => Types::BotDescription,
'setMyShortDescription' => Types::Bool,
- 'getMyShortDescription' => Types::BotShortDescription
+ 'getMyShortDescription' => Types::BotShortDescription,
+ 'refundStarPayment' => Types::Bool,
+ 'getStarTransactions' => Types::StarTransactions,
+ 'sendPaidMedia' => Types::Message,
+ 'createChatSubscriptionInviteLink' => Types::ChatInviteLink,
+ 'editChatSubscriptionInviteLink' => Types::ChatInviteLink,
+ 'getAvailableGifts' => Types::Gifts,
+ 'sendGift' => Types::Bool,
+ 'savePreparedInlineMessage' => Types::PreparedInlineMessage,
+ 'editUserStarSubscription' => Types::Bool,
+ 'setUserEmojiStatus' => Types::Bool
}.freeze
end
end
end