Interface GetWidgetPublicData

Returns the current public data of a widget. Must be called only if the widget is visible on the screen and asked to poll its public data. Request type for Tdjson#getWidgetPublicData.

interface GetWidgetPublicData {
    @type: "getWidgetPublicData";
    chat_id: number;
    message_id: number;
}

Properties

@type: "getWidgetPublicData"
chat_id: number

Identifier of the chat with the message.

message_id: number

Identifier of the widget message. The message must not be scheduled.