Documentation - v0.32.8
    Preparing search index...

    Function editInlineMessageWidgetData

    • Edit state of a widget inside an inline message sent via the bot.

      Fields that are not passed are left unchanged, and an empty string clears the field. For shared widgets, editing publicData changes it for all messages containing the widget.

      Parameters

      • client: ITelegramClient
      • params: {
            chatData?: string;
            messageId: string | TypeInputBotInlineMessageID;
            publicData?: string;
        }
        • OptionalchatData?: string

          New chat-specific state of the widget (up to 1024 bytes)

        • messageId: string | TypeInputBotInlineMessageID

          Inline message ID, either as a TL object, or as a TDLib and Bot API compatible string

        • OptionalpublicData?: string

          New shared state of the widget (up to 1024 bytes)

      Returns Promise<void>