@@ -54,11 +54,13 @@ public enum Type {
5454 private Message pinned_message ;
5555 private ChatPermissions permissions ;
5656 private Integer slow_mode_delay ;
57+ private Integer unrestrict_boost_count ;
5758 private Integer message_auto_delete_time ;
5859 private Boolean has_protected_content ;
5960 private Boolean has_visible_history ;
6061 private String sticker_set_name ;
6162 private Boolean can_set_sticker_set ;
63+ private String custom_emoji_sticker_set_name ;
6264 private Long linked_chat_id ;
6365 private ChatLocation location ;
6466
@@ -190,6 +192,10 @@ public Integer slowModeDelay() {
190192 return slow_mode_delay ;
191193 }
192194
195+ public Integer unrestrictBoostCount () {
196+ return unrestrict_boost_count ;
197+ }
198+
193199 public Integer messageAutoDeleteTime () {
194200 return message_auto_delete_time ;
195201 }
@@ -210,6 +216,10 @@ public Boolean canSetStickerSet() {
210216 return can_set_sticker_set != null && can_set_sticker_set ;
211217 }
212218
219+ public String customEmojiStickerSetName () {
220+ return custom_emoji_sticker_set_name ;
221+ }
222+
213223 public Long linkedChatId () {
214224 return linked_chat_id ;
215225 }
@@ -251,11 +261,13 @@ public boolean equals(Object o) {
251261 Objects .equals (pinned_message , chat .pinned_message ) &&
252262 Objects .equals (permissions , chat .permissions ) &&
253263 Objects .equals (slow_mode_delay , chat .slow_mode_delay ) &&
264+ Objects .equals (unrestrict_boost_count , chat .unrestrict_boost_count ) &&
254265 Objects .equals (message_auto_delete_time , chat .message_auto_delete_time ) &&
255266 Objects .equals (has_protected_content , chat .has_protected_content ) &&
256267 Objects .equals (has_visible_history , chat .has_visible_history ) &&
257268 Objects .equals (sticker_set_name , chat .sticker_set_name ) &&
258269 Objects .equals (can_set_sticker_set , chat .can_set_sticker_set ) &&
270+ Objects .equals (custom_emoji_sticker_set_name , chat .custom_emoji_sticker_set_name ) &&
259271 Objects .equals (linked_chat_id , chat .linked_chat_id ) &&
260272 Objects .equals (location , chat .location );
261273 }
@@ -296,11 +308,13 @@ public String toString() {
296308 ", pinned_message=" + pinned_message +
297309 ", permissions=" + permissions +
298310 ", slow_mode_delay=" + slow_mode_delay +
311+ ", unrestrict_boost_count=" + unrestrict_boost_count +
299312 ", message_auto_delete_time=" + message_auto_delete_time +
300313 ", has_protected_content=" + has_protected_content +
301314 ", has_visible_history=" + has_visible_history +
302315 ", sticker_set_name='" + sticker_set_name + '\'' +
303316 ", can_set_sticker_set=" + can_set_sticker_set +
317+ ", custom_emoji_sticker_set_name=" + custom_emoji_sticker_set_name +
304318 ", linked_chat_id=" + linked_chat_id +
305319 ", location=" + location +
306320 '}' ;
0 commit comments