Skip to content

Commit

Permalink
Fixed incorrect Chat#profileBackgroundCustomEmojiId field type. Chang…
Browse files Browse the repository at this point in the history
…ed from 'Boolean' to 'String' (according to TelegramBotAPI Official Documentation). (#1315)
  • Loading branch information
link1107 authored and rubenlagus committed Feb 17, 2024
1 parent 3750868 commit 6ee5425
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public class Chat implements BotApiObject {
* Returned only in getChat.
*/
@JsonProperty(PROFILE_BACKGROUND_CUSTOM_EMOJI_ID_FIELD)
private Boolean profileBackgroundCustomEmojiId;
private String profileBackgroundCustomEmojiId;
/**
* Optional.
* True, if new chat members will have access to old messages; available only to chat administrators.
Expand Down

0 comments on commit 6ee5425

Please sign in to comment.