MadelineProto/docs/TD_docs/constructors/deviceTokenSet.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

766 B

title description
deviceTokenSet Contains list of device tokens

Constructor: deviceTokenSet

Back to constructors index

Contains list of device tokens

Attributes:

Name Type Required Description
tokens Array of DeviceToken Yes List of tokens

Type: DeviceTokenSet

Example:

$deviceTokenSet = ['_' => 'deviceTokenSet', 'tokens' => [DeviceToken]];

PWRTelegram json-encoded version:

{"_": "deviceTokenSet", "tokens": [DeviceToken]}

Or, if you're into Lua:

deviceTokenSet={_='deviceTokenSet', tokens={DeviceToken}}