lib/telegram/bot/api.rb in telegram-bot-ruby-1.0.0.pre vs lib/telegram/bot/api.rb in telegram-bot-ruby-1.0.0.rc1
- old
+ new
@@ -24,10 +24,12 @@
deleteMyCommands setStickerSetThumb logOut close copyMessage
createChatInviteLink editChatInviteLink revokeChatInviteLink
approveChatJoinRequest declineChatJoinRequest banChatSenderChat
unbanChatSenderChat answerWebAppQuery setChatMenuButton
getChatMenuButton setMyDefaultAdministratorRights
- getMyDefaultAdministratorRights createInvoiceLink
+ getMyDefaultAdministratorRights createInvoiceLink editGeneralForumTopic
+ closeGeneralForumTopic reopenGeneralForumTopic hideGeneralForumTopic
+ unhideGeneralForumTopic
].freeze
attr_reader :token, :url, :environment
def initialize(token, url: 'https://api.telegram.org', environment: :production)