JTelegramBot icon indicating copy to clipboard operation
JTelegramBot copied to clipboard

An error occurs after adding my bot to the group.

Open isul opened this issue 8 years ago • 2 comments

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....

isul avatar Dec 16 '16 08:12 isul

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;

isul avatar Dec 16 '16 09:12 isul

Still not fixed, I'll make fork with fix of this problem.

mekenzh avatar Jan 20 '17 15:01 mekenzh