JTelegramBot
JTelegramBot copied to clipboard
An error occurs after adding my bot to the group.
onGetUpdatesFailure:Unrecognized field "all_members_are_administrators" (class io.fouad.jtb.core.beans.Chat), not marked as ignorable (6 known properties: "last_name", "username", "title", "type", "first_name", "id"]) at [Source: {"ok":true,"result":[{"update_id":800563....
The following two classes seem to require some member variables.
Chat.java
@JsonProperty("all_members_are_administrators") private boolean allMembersAreAdministrators;
Message.java
@JsonProperty("new_chat_participant") private User newChatParticipant;
@JsonProperty("left_chat_participant") private User leftChatParticipant;
Still not fixed, I'll make fork with fix of this problem.