Raw.account.UnregisterDevice
Deletes a device by its token, stops sending push-notifications to it.
account.unregisterDevice#6a0d3206 token_type:int token:string other_uids:Vector<long> = Bool;
export namespace Raw {
export namespace account {
export class UnregisterDevice {
constructor(params: { tokenType: number; token: string; otherUids: Array<bigint> }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x6a0d3206
Property
tokenType
: numberDevice token type, see push updates for the possible values.
token
: stringDevice token, see push updates for the possible values.
otherUids
: Array of bigintList of user identifiers of other users currently using the client