Inherits td::td_api::DeviceToken.
|
string | token_ |
| Token; may be empty to deregister a device.
|
|
|
static const std::int32_t | ID = 1782320422 |
| Identifier uniquely determining a type of the object.
|
|
A token for Ubuntu Push Client service.
◆ deviceTokenUbuntuPush() [1/2]
td::td_api::deviceTokenUbuntuPush::deviceTokenUbuntuPush |
( |
| ) |
|
A token for Ubuntu Push Client service.
◆ deviceTokenUbuntuPush() [2/2]
td::td_api::deviceTokenUbuntuPush::deviceTokenUbuntuPush |
( |
string const & |
token_ | ) |
|
|
explicit |
A token for Ubuntu Push Client service.
- Parameters
-
[in] | token_ | Token; may be empty to deregister a device. |
◆ get_id()
std::int32_t td::td_api::deviceTokenUbuntuPush::get_id |
( |
| ) |
const |
|
inlinefinalvirtual |
Returns identifier uniquely determining a type of the object.
- Returns
- this->ID.
Implements td::TlObject.
◆ store()
void td::td_api::deviceTokenUbuntuPush::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
[in] | s | Storer to which object string representation will be appended. |
[in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
The documentation for this class was generated from the following file: