Layer 227
AccountWebBrowserSettingsObj
Per-user settings controlling the in-app web browser, including allowed-external-domain exceptions.
constructor
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;
Parameters
| Name | Type | Description |
|---|---|---|
| OpenExternalBrowser | flags.0?true | |
| DisplayCloseButton | flags.1?true | |
| ExternalExceptions | Vector<WebDomainException> | |
| InappExceptions | Vector<WebDomainException> | |
| Hash | long |
Returns
account.WebBrowserSettingsGogram Example
// Creating AccountWebBrowserSettingsObj constructor obj := &tg.AccountWebBrowserSettingsObj{ ExternalExceptions: []tg.WebDomainException{&tg.WebDomainException{}}, InappExceptions: []tg.WebDomainException{&tg.WebDomainException{}}, Hash: int64(1234567890), // Optional fields: // OpenExternalBrowser: true, // DisplayCloseButton: true, }