|
tgbotxx 1.2.9.5
Telegram Bot C++ Library
|
This object represents the audios displayed on a user's profile. https://core.telegram.org/bots/api#userprofileaudios. More...
#include <UserProfileAudios.hpp>
Public Member Functions | |
| UserProfileAudios ()=default | |
| UserProfileAudios (const nl::json &json) | |
| nl::json | toJson () const |
| Serializes this object to JSON. | |
| void | fromJson (const nl::json &json) |
| Deserializes this object from JSON. | |
Public Attributes | |
| std::int32_t | totalCount |
| Total number of profile audios for the target user. | |
| std::vector< Ptr< Audio > > | audios |
| Requested profile audios. | |
This object represents the audios displayed on a user's profile. https://core.telegram.org/bots/api#userprofileaudios.
Definition at line 8 of file UserProfileAudios.hpp.
|
default |
|
inlineexplicit |
Definition at line 10 of file UserProfileAudios.hpp.
Deserializes this object from JSON.
Definition at line 31 of file UserProfileAudios.hpp.
|
inline |
Serializes this object to JSON.
Definition at line 23 of file UserProfileAudios.hpp.
Requested profile audios.
Definition at line 18 of file UserProfileAudios.hpp.
| std::int32_t tgbotxx::UserProfileAudios::totalCount |
Total number of profile audios for the target user.
Definition at line 15 of file UserProfileAudios.hpp.