Interface EditInlineMessageWidgetData

Edits data of a widget in an inline message sent via the bot; for bots only. Request type for Tdjson#editInlineMessageWidgetData.

interface EditInlineMessageWidgetData {
    @type: "editInlineMessageWidgetData";
    chat_data: string;
    edit_chat_data?: boolean;
    edit_public_data?: boolean;
    inline_message_id: string;
    public_data: string;
}

Properties

@type: "editInlineMessageWidgetData"
chat_data: string

New data of the widget that is specific to the chat; ignored if edit_chat_data is false.

edit_chat_data?: boolean

Pass true to edit data of the widget that is specific to the chat.

edit_public_data?: boolean

Pass true to edit public data of the widget.

inline_message_id: string

Inline message identifier.

public_data: string

New public data of the widget; ignored if edit_public_data is false.