ThreadBuilder class

Inheritance

Constructors

ThreadBuilder(String? name)
Create a public thread
ThreadBuilder.private(String? name)
Create a private thread

Properties

archiveAfter ThreadArchiveTime?
The time after which the thread is automatically archived.
getter/setter pair
archived bool?
Whether the thread is archived
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
invitable bool?
Whether non-moderators can add other non-moderators to a thread; only available on private threads
getter/setter pair
locked bool?
Whether the thread is locked; when a thread is locked, only users with MANAGE_THREADS can unarchive it
getter/setter pair
name String?
The name fo the thread
getter/setter pair
private bool?
Whether or not the thread is private
getter/setter pair
rateLimitPerUser int?
Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages, manage_thread, or manage_channel, are unaffected
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() RawApiMap
Returns built response for api
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited