telegram.WebAppInfo

class telegram.WebAppInfo(*args, **kwargs)[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.

New 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