B4J Question jtelegrambot Lib Error when forward photo with caption

behnam_tr

Active Member
Licensed User
Longtime User
hi


jtelegrambot Lib Error when i forward photo with caption



B4X:
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "caption_entities" (class io.fouad.jtb.core.beans.Message), not marked as ignorable (39 known properties: "entities", "new_chat_member", "edit_date", "left_chat_participant", "new_chat_photo", "new_chat_participant", "forward_from_message_id", "message_id", "audio", "chat", "document", "reply_markup", "delete_chat_photo", "contact", "migrate_from_chat_id", "forward_from", "caption", "forward_date", "left_chat_member", "from", "text", "date", "venue", "new_chat_title", "new_chat_members", "game", "location", "reply_to_message", "video", "supergroup_chat_created", "sticker", "group_chat_created", "animation", "forward_from_chat", "pinned_message", "photo", "channel_chat_created", "voice", "migrate_to_chat_id"])
 at [Source: (String)"{"ok":true,"result":[{"update_id":684934347,
"message":{"message_id":19381,"from":{"id":105526931,"is_bot":false,"first_name":"Padina System","username":"padina_system","language_code":"fa"},"chat":{"id":-1001317513320,"title":"\u06af\u0631\u0648\u0647 \u0645\u0639\u0627\u0645\u0644\u0627\u062a \u0622\u0628\u0634\u062f\u0647 \u06af\u0644\u062f\u0627\u0633\u062a\u0627\u0631","type":"supergroup"},"date":1579021437,"photo":[{"file_id":"AgADBAADArQxG2nu8FAs8K0vAzjJ8OJDsRoABAEAAwIAA20AA_10BAABFgQ",""[truncated 13559 chars]; line: 2, column: 3395] (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["caption_entities"])
 
Top