tgbot-cpp
Loading...
Searching...
No Matches
TgBot::EditSharedWidgetDataArgs Struct Reference

Arguments for Api::editSharedWidgetData. More...

#include <Types.h>

Public Attributes

std::string publicData { }
 New public data of the widget, 0-1024 bytes; pass an empty string to remove the public data.
std::string widgetId { }
 Unique identifier of the shared widget.
std::uint32_t cacheTime = 0
 The maximum amount of time in seconds that the public data of the widget may be cached client-side; 5-3600. If omitted, then the current value is kept, which is 30 by default.

Detailed Description

Arguments for Api::editSharedWidgetData.

Definition at line 16970 of file Types.h.

Member Data Documentation

◆ cacheTime

std::uint32_t TgBot::EditSharedWidgetDataArgs::cacheTime = 0

The maximum amount of time in seconds that the public data of the widget may be cached client-side; 5-3600. If omitted, then the current value is kept, which is 30 by default.

Definition at line 16987 of file Types.h.

◆ publicData

std::string TgBot::EditSharedWidgetDataArgs::publicData { }

New public data of the widget, 0-1024 bytes; pass an empty string to remove the public data.

Definition at line 16975 of file Types.h.

◆ widgetId

std::string TgBot::EditSharedWidgetDataArgs::widgetId { }

Unique identifier of the shared widget.

Definition at line 16980 of file Types.h.


The documentation for this struct was generated from the following file: