account.WebBrowserSettings

class pyrogram.raw.base.account.WebBrowserSettings

Telegram API base type.

Constructors:

This base type has 2 constructors available.

account.WebBrowserSettings

Telegram API type.

account.WebBrowserSettingsNotModified

Telegram API type.

Functions:

This object can be returned by 3 functions.

account.GetWebBrowserSettings

Telegram API function.

account.UpdateWebBrowserSettings

Telegram API function.

account.DeleteWebBrowserSettingsExceptions

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 → long

Example

WebBrowserSettings(
    open_external_browser=None,
    display_close_button=None,
    external_exceptions=[
            WebDomainException(
                domain="text",
                url="https://google.com",
                title="text",
                favicon=None
            )
        ],
    inapp_exceptions=[
            WebDomainException(
                domain="text",
                url="https://google.com",
                title="text",
                favicon=None
            )
        ],
    hash=0,
)