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<NotificationSounds>.
Public Fields | |
int64 | notification_sound_id_ |
Identifier of the notification sound. | |
Public Types | |
using | ReturnType = object_ptr< notificationSounds > |
Typedef for the type returned by the function. | |
Public Instance Methods | |
getSavedNotificationSound () | |
getSavedNotificationSound (int64 notification_sound_id_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = 459569431 |
Identifier uniquely determining a type of the object. | |
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<NotificationSounds>.
|
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<NotificationSounds>.
[in] | notification_sound_id_ | Identifier of the notification sound. |
|
finalvirtual |