peyk.platforms.telegram.types.web_app_info

Classes

WebAppInfo([url])

Describes a Web App.

class peyk.platforms.telegram.types.web_app_info.WebAppInfo(url: str = '')[source]

Bases: object

Describes a Web App.

Variables:

url (str) – An HTTPS URL of a Web App to be opened with additional data as specified in Initializing Web Apps

url: str = ''
classmethod from_dict(data: dict | None) WebAppInfo | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.

to_dict() Dict[str, object][source]

Provides the to dict operation for the Telegram integration.

Returns:

Result produced by the operation.