Edit state of a widget inside a message sent by the bot.
Fields that are not passed are left unchanged, and an empty string clears the field. For shared widgets, editing publicData changes it for all messages containing the widget.
publicData
Optional
New chat-specific state of the widget (up to 1024 bytes)
New shared state of the widget (up to 1024 bytes)
Edit state of a widget inside a message sent by the bot.
Fields that are not passed are left unchanged, and an empty string clears the field. For shared widgets, editing
publicDatachanges it for all messages containing the widget.