WebAppInfo

class telegram.WebAppInfo(url, *, api_kwargs=None)[source]

Bases: telegram.TelegramObject

This 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 url are equal.

Examples

Webapp Bot

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