struct Servo::Model::ThreadMember
- Servo::Model::ThreadMember
- Struct
- Value
- Object
Overview
Represents a Thread Member.
Used to indicate whether a user has joined a thread or not.
Included Modules
- JSON::Serializable
Defined in:
model/channel/thread_member.crConstructors
Instance Method Summary
- #flags : UInt8
-
#id : Servo::Model::Snowflake | Nil
The ID of the thread.
-
#join_timestamp : Time
The time the user last joined the thread.
-
#user_id : Servo::Model::Snowflake | Nil
The ID of the user.
Constructor Detail
Instance Method Detail
def id : Servo::Model::Snowflake | Nil
#
The ID of the thread.
This ID is not sent within each thread in the GUILD_CREATE event.
def user_id : Servo::Model::Snowflake | Nil
#
The ID of the user.
This ID is not sent within each thread in the GUILD_CREATE event.