Layer 227
constructor
urlAuthResultAccepted#623a8fa0 flags:# url:flags.0?string = UrlAuthResult;

Parameters

Name Type Description
Url flags .0? string If present, the URL to open in the external browser (may use a custom scheme for direct switching to another app); if absent, the login succeeded and clients should simply show a confirmation toast. Always set for bot button URL authorization and link URL authorization.

Returns

UrlAuthResult

Gogram Example

// Creating UrlAuthResultAccepted constructor
obj := &tg.UrlAuthResultAccepted{
    Url: "Hello, World!",
}