diff --git a/src/tourmaline/client/api.cr b/src/tourmaline/client/api.cr index b8ce8f2e0..0dd44497c 100644 --- a/src/tourmaline/client/api.cr +++ b/src/tourmaline/client/api.cr @@ -604,7 +604,7 @@ module Tourmaline }) end - # Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. In albums, bots must react to the first message. Returns True on success. + # Use this method to change the chosen reactions on a message. Service messages can't be reacted to. Automatically forwarded messages from a channel to its discussion group have the same available reactions as messages in the channel. Returns True on success. def set_message_reaction( chat_id : Int32 | Int64 | String, message_id : Int32 | Int64, diff --git a/src/tourmaline/types/api.cr b/src/tourmaline/types/api.cr index 15c59f4be..8928c7185 100644 --- a/src/tourmaline/types/api.cr +++ b/src/tourmaline/types/api.cr @@ -1927,11 +1927,11 @@ module Tourmaline end end - # This object represents one button of the reply keyboard. For simple text buttons, String can be used instead of this object to specify the button text. The optional fields web_app, request_user, request_chat, request_contact, request_location, and request_poll are mutually exclusive. + # This object represents one button of the reply keyboard. For simple text buttons, String can be used instead of this object to specify the button text. The optional fields web_app, request_users, request_chat, request_contact, request_location, and request_poll are mutually exclusive. # Note: request_contact and request_location options will only work in Telegram versions released after 9 April, 2016. Older clients will display unsupported message. # Note: request_poll option will only work in Telegram versions released after 23 January, 2020. Older clients will display unsupported message. # Note: web_app option will only work in Telegram versions released after 16 April, 2022. Older clients will display unsupported message. - # Note: request_user and request_chat options will only work in Telegram versions released after 3 February, 2023. Older clients will display unsupported message. + # Note: request_users and request_chat options will only work in Telegram versions released after 3 February, 2023. Older clients will display unsupported message. class KeyboardButton include JSON::Serializable @@ -2821,11 +2821,11 @@ module Tourmaline property type : String # Custom emoji identifier - property custom_emoji : String + property custom_emoji_id : String def initialize( @type, - @custom_emoji + @custom_emoji_id ) end end