D++ (DPP)
C++ Discord API Bot Library
|
represents membership of a user with a thread More...
#include <channel.h>
Public Member Functions | |
thread_member & | fill_from_json (nlohmann::json *j) |
Read struct values from a json object. More... | |
Public Attributes | |
snowflake | thread_id |
ID of the thread member is part of. More... | |
snowflake | user_id |
ID of the member. More... | |
time_t | joined |
When the user joined the thread. More... | |
uint32_t | flags |
Flags bitmap. More... | |
represents membership of a user with a thread
thread_member & dpp::thread_member::fill_from_json | ( | nlohmann::json * | j | ) |
Read struct values from a json object.
j | json to read values from |
uint32_t dpp::thread_member::flags |
Flags bitmap.
time_t dpp::thread_member::joined |
When the user joined the thread.
snowflake dpp::thread_member::thread_id |
ID of the thread member is part of.
snowflake dpp::thread_member::user_id |
ID of the member.