- Notifications
You must be signed in to change notification settings - Fork5.7k
Closed
Milestone
Description
Steps to Reproduce
Trying to send data from webapp to bot with
bot.answerWebAppQuery( web_app_query_id=str(payload.query_id), result=InlineQueryResultArticle( id=str(uuid.uuid4()), title="Caps", input_message_content=InputTextMessageContent('text'), ) )
Expected behaviour
no error
Actual behaviour
but got error Object of type InlineQueryResultArticle is not JSON serializable
Operating System
windows 11 x64
Version of Python, python-telegram-bot & dependencies
python-telegram-bot 13.14 (v2.0.1-78-g9483410)Bot API 6.2certifi2022.06.15Python 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)]
Relevant log output
No response
Additional Context
No response