MadelineProto/docs/TD_docs/methods/registerDevice.md

23 lines
516 B
Markdown
Raw Normal View History

---
title: registerDevice
description: Registers current used device for receiving push notifications
---
## Method: registerDevice
[Back to methods index](index.md)
2017-06-06 18:39:21 +02:00
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Registers current used device for receiving push notifications
### Params:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
|device\_token|[DeviceToken](../types/DeviceToken.md) | Yes|Device token|
### Return type: [Ok](../types/Ok.md)