account.WebBrowserSettings
- class pyrogram.raw.types.account.WebBrowserSettings
Telegram API type.
Constructor of
WebBrowserSettings.- Details:
Layer:
227ID:
79EB8CB3
- Parameters:
external_exceptions (List of
WebDomainException) – N/Ainapp_exceptions (List of
WebDomainException) – N/Ahash (
int64-bit) – N/Aopen_external_browser (
bool, optional) – N/Adisplay_close_button (
bool, optional) – N/A
- Functions:
This object can be returned by 3 functions.
Telegram API function.
Telegram API function.
Telegram API function.
TL Schema
account.webBrowserSettings#79eb8cb3
flags:#
open_external_browser:flags.0?true
display_close_button:flags.1?true
external_exceptions:Vector<WebDomainException>
inapp_exceptions:Vector<WebDomainException>
hash:long
= account.WebBrowserSettings
Parameter Tree
WebBrowserSettings
├── open_external_browser →
true (optional)├── display_close_button →
true (optional)├── external_exceptions →
Vector < WebDomainException >│ └──
WebDomainException│ ├── domain →
string│ ├── url →
string│ ├── title →
string│ └── favicon →
long (optional)├── inapp_exceptions →
Vector < WebDomainException >│ └──
WebDomainException│ ├── domain →
string│ ├── url →
string│ ├── title →
string│ └── favicon →
long (optional)└── hash →
longExample
WebBrowserSettings(
external_exceptions=[
WebDomainException(
domain="text",
url="https://google.com",
title="text"
)
],
inapp_exceptions=[
WebDomainException(
domain="text",
url="https://google.com",
title="text"
)
],
hash=0,
)