https://github.com/rubenlagus/TelegramBots/tree/master/telegrambots-meta/src/main/java/org/telegram/telegrambots/meta/api/objects/chatmember/serialization Here is deserializer, but is is still not clear how to use it. I was looking for some examples in github. to see how people use it... But there is no examples, except forks of that library without changes :)
Did you try to call new ChatMemberDeserializer().deserialize() ?
tried a lot of different experiments. it requires some jsonParser and some context. don't know where to get it
Обсуждают сегодня