struct Servo::Model::ThreadMember

Overview

Represents a Thread Member.

Used to indicate whether a user has joined a thread or not.

Included Modules

Defined in:

model/channel/thread_member.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def flags : UInt8 #

[View source]
def id : Servo::Model::Snowflake | Nil #

The ID of the thread.

This ID is not sent within each thread in the GUILD_CREATE event.


[View source]
def join_timestamp : Time #

The time the user last joined the thread.


[View source]
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.


[View source]