WebAppInfo¶
- class telegram.WebAppInfo(url, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis object contains information about a Web App.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
urlare equal.Examples
Available In
Added in version 20.0.
- Parameters:
url (
str) – An HTTPS URL of a Web App to be opened with additional data as specified in Initializing Web Apps.
- url[source]¶
An HTTPS URL of a Web App to be opened with additional data as specified in Initializing Web Apps.
- Type:
str