Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurs after adding my bot to the group. #1

Open
isul opened this issue Dec 16, 2016 · 2 comments
Open

An error occurs after adding my bot to the group. #1

isul opened this issue Dec 16, 2016 · 2 comments

Comments

@isul
Copy link

isul commented Dec 16, 2016

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
Copy link
Author

isul commented Dec 16, 2016

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;

@mekenzh
Copy link

mekenzh commented Jan 20, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants