Regards.
When receiving a file with a telegram bot (with the jTelegrambot version 0.24 library) an image or any file
i get this error
When receiving a file with a telegram bot (with the jTelegrambot version 0.24 library) an image or any file
i get this error
B4X:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "file_unique_id" (class io.fouad.jtb.core.beans.PhotoSize), not marked as ignorable (5 known properties: "file_path", "file_size", "file_id", "height", "width"])
at [Source: (String)"{"ok":true,"result":[{"update_id":684933860,
"message":{"message_id":1581,"from":{"id":105526931,"is_bot":false,"first_name":"Padina System","username":"padina_system","language_code":"fa"},"chat":{"id":105526931,"first_name":"Padina System","username":"padina_system","type":"private"},"date":1578335763,"document":{"file_name":"photo_2019-07-31_22-44-19.jpg","mime_type":"image/jpeg","thumb":{"file_id":"AAQEAAOsBgACcfSYUIuF1xLGu4mmfg62GwAEAQAHbQADwg4AAhYE","file_unique_id":"AQADfg62GwAEwg4AAg",""[truncated 505 chars]; line: 2, column: 434] (through reference chain: io.fouad.jtb.core.beans.TelegramResult["result"]->java.lang.Object[][0]->io.fouad.jtb.core.beans.Update["message"]->io.fouad.jtb.core.beans.Message["document"]->io.fouad.jtb.core.beans.Document["thumb"]->io.fouad.jtb.core.beans.PhotoSize["file_unique_id"])