Layer 220
method Users

Parameters

Name Type Description
ApiId int Application identifier (see. App configuration )
ApiHash string Application identifier hash (see. App configuration )
ExceptIds Vector<long> List of already logged-in user IDs, to prevent logging in twice with the same user

Returns

auth.LoginToken

Possible Errors

Code Type Description
400 API_ID_INVALID API ID invalid.
400 API_ID_PUBLISHED_FLOOD This API id was published somewhere, you can't use it now.

Gogram Example

// AuthExportLoginToken - positional arguments
result, err := client.AuthExportLoginToken(0, "...", []long{})
if err != nil {
    // handle error
}
// result is *tg.AuthLoginToken