Interface EditMessageWidgetData

Edits data of a widget sent by the bot; for bots only. Request type for Tdjson#editMessageWidgetData.

interface EditMessageWidgetData {
    @type: "editMessageWidgetData";
    chat_data: string;
    chat_id: number;
    edit_chat_data?: boolean;
    edit_public_data?: boolean;
    message_id: number;
    public_data: string;
}

Properties

@type: "editMessageWidgetData"
chat_data: string

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

chat_id: number

The chat the message belongs to.

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.

message_id: number

Identifier of the widget message.

public_data: string

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