UpdateWebBrowserException

class pyrogram.raw.types.UpdateWebBrowserException

Telegram API type.

Constructor of Update.

Details:
  • Layer: 227

  • ID: 140502D1

Parameters:
  • exception (WebDomainException) – N/A

  • delete (bool, optional) – N/A

  • open_external_browser (bool, optional) – N/A

TL Schema

updateWebBrowserException#140502d1
flags:#
delete:flags.1?true
open_external_browser:flags.0?Bool
exception:WebDomainException

= Update

Parameter Tree

UpdateWebBrowserException
├── deletetrue (optional)
├── open_external_browserBool (optional)
└── exceptionWebDomainException
├── domainstring
├── urlstring
├── titlestring
└── faviconlong (optional)

Example

UpdateWebBrowserException(
    exception=WebDomainException(
        domain="text",
        url="https://google.com",
        title="text"
    ),
)