OptionalallowWhether the widget can send queries to the bot
OptionalchatInitial chat-specific state of the widget (up to 1024 bytes)
OptionalheightHeight of the widget in CSS pixels
HTML source of the widget (up to 32 KB, and up to 4 KB after zlib compression).
Must be a single self-contained document without external resources
OptionalinvertWhether to render the widget above the caption
OptionalpublicInitial shared state of the widget (up to 1024 bytes)
OptionalreplyMessage reply markup
OptionalsharedWhether to create a shared widget object, which can later be re-sent by its ID and whose publicData is shared between all messages containing it
OptionaltextCaption of the widget
OptionalwidthWidth of the widget in CSS pixels
Inline message containing an HTML widget