Layer 220
method Users
account.unregisterDevice#6a0d3206 token_type:int token:string other_uids:Vector<long> = Bool;

Parameters

Name Type Description
TokenType int Device token type, see PUSH updates for the possible values.
Token string Device token, see PUSH updates for the possible values.
OtherUids Vector<long> List of user identifiers of other users currently using the client

Returns

Bool

Possible Errors

Code Type Description
400 TOKEN_INVALID The provided token is invalid.

Gogram Example

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