|
TDLib
|
Inherits Function.
Returns saved notification sound by its identifier. Returns a 404 error if there is no saved notification sound with the specified identifier.
Returns object_ptr<NotificationSound>.
Public Types | |
| using | ReturnType = object_ptr<notificationSound> |
| Typedef for the type returned by the function. | |
Public Member Functions | |
| getSavedNotificationSound () | |
| getSavedNotificationSound (int64 notification_sound_id_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| int64 | notification_sound_id_ |
| Identifier of the notification sound. | |
Static Public Attributes | |
| static const std::int32_t | ID = 1790319616 |
| Identifier uniquely determining a type of the object. | |
| getSavedNotificationSound | ( | ) |
Default constructor for a function, which returns saved notification sound by its identifier. Returns a 404 error if there is no saved notification sound with the specified identifier.
Returns object_ptr<NotificationSound>.
|
explicit |
Creates a function, which returns saved notification sound by its identifier. Returns a 404 error if there is no saved notification sound with the specified identifier.
Returns object_ptr<NotificationSound>.
| [in] | notification_sound_id_ | Identifier of the notification sound. |
|
finalvirtual |