account.UnregisterDevice
- class pyrogram.raw.functions.account.UnregisterDevice
Deletes a device by its token, stops sending PUSH-notifications to it.
- Details:
Layer:
223ID:
6A0D3206
- Parameters:
token_type (
int32-bit) – Device token type, see PUSH updates for the possible values.token (
str) – Device token, see PUSH updates for the possible values.other_uids (List of
int64-bit) – List of user identifiers of other users currently using the client
- Returns:
bool
TL Schema
account.unregisterDevice#6a0d3206
token_type:int
token:string
other_uids:Vector<long>
= Bool
Parameter Tree
UnregisterDevice
├── token_type →
int├── token →
string└── other_uids →
Vector < long >Example
await app.invoke(
UnregisterDevice(
token_type=0,
token="text",
other_uids=[0],
)
)