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 Feb 4, 2024
1 parent 870d1e5 commit 6b50d68
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 6b50d68

Please sign in to comment.