@@ -34,6 +34,7 @@ public enum Type {
3434 private ChatPhoto photo ;
3535 private String [] active_usernames ;
3636 private String emoji_status_custom_emoji_id ;
37+ private Integer emoji_status_expiration_date ;
3738 private String bio ;
3839 private Boolean has_private_forwards ;
3940 private Boolean has_restricted_voice_and_video_messages ;
@@ -93,6 +94,10 @@ public String getEmojiStatusCustomEmojiId() {
9394 return emoji_status_custom_emoji_id ;
9495 }
9596
97+ public Integer emojiStatusExpirationDate () {
98+ return emoji_status_expiration_date ;
99+ }
100+
96101 public String bio () {
97102 return bio ;
98103 }
@@ -180,6 +185,7 @@ public boolean equals(Object o) {
180185 Objects .equals (photo , chat .photo ) &&
181186 Arrays .equals (active_usernames , chat .active_usernames ) &&
182187 Objects .equals (emoji_status_custom_emoji_id , chat .emoji_status_custom_emoji_id ) &&
188+ Objects .equals (emoji_status_expiration_date , chat .emoji_status_expiration_date ) &&
183189 Objects .equals (bio , chat .bio ) &&
184190 Objects .equals (has_private_forwards , chat .has_private_forwards ) &&
185191 Objects .equals (has_restricted_voice_and_video_messages , chat .has_restricted_voice_and_video_messages ) &&
@@ -218,6 +224,7 @@ public String toString() {
218224 ", photo=" + photo +
219225 ", active_usernames=" + Arrays .toString (active_usernames ) +
220226 ", emoji_status_custom_emoji_id='" + emoji_status_custom_emoji_id + '\'' +
227+ ", emoji_status_expiration_date='" + emoji_status_expiration_date + '\'' +
221228 ", bio='" + bio + '\'' +
222229 ", has_private_forwards=" + has_private_forwards +
223230 ", has_restricted_voice_and_video_messages=" + has_restricted_voice_and_video_messages +
0 commit comments