Interface EditWidgetData

Edits public data of a shared widget created by the bot; for bots only. Request type for Tdjson#editWidgetData.

interface EditWidgetData {
    @type: "editWidgetData";
    cache_time: number;
    public_data: string;
    widget_id: string;
}

Properties

@type: "editWidgetData"
cache_time: number

Time during which the public data can be cached, in seconds; 5-3600. Pass 0 to keep the current value, which is 30 by default.

public_data: string

New public data of the widget.

widget_id: string

Identifier of the shared widget.