Inherits LinkPreviewType.
The link is a link to an audio.
Public Fields | |
string | url_ |
URL of the audio; may be empty if none. | |
string | mime_type_ |
MIME type of the audio file. | |
object_ptr< audio > | audio_ |
The audio description; may be null if unknown. | |
int32 | duration_ |
Duration of the audio, in seconds; 0 if unknown. | |
string | author_ |
Author of the audio. | |
Public Instance Methods | |
linkPreviewTypeAudio () | |
linkPreviewTypeAudio (string const &url_, string const &mime_type_, object_ptr< audio > &&audio_, int32 duration_, string const &author_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
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 = 1462528888 |
Identifier uniquely determining a type of the object. | |
The link is a link to an audio.
linkPreviewTypeAudio | ( | string const & | url_, |
string const & | mime_type_, | ||
object_ptr< audio > && | audio_, | ||
int32 | duration_, | ||
string const & | author_ | ||
) |
The link is a link to an audio.
[in] | url_ | URL of the audio; may be empty if none. |
[in] | mime_type_ | MIME type of the audio file. |
[in] | audio_ | The audio description; may be null if unknown. |
[in] | duration_ | Duration of the audio, in seconds; 0 if unknown. |
[in] | author_ | Author of the audio. |
|
finalvirtual |