ThreadsOnlyChannel class abstract
- Implemented types
- Implementers
Constructors
Properties
-
availableTags
→ List<
ForumTag> -
A list of tags available in this channel.
no setter
- defaultAutoArchiveDuration → Duration
-
The default Thread.autoArchiveDuration for Threads created in this channel.
no setterinherited
- defaultReaction → DefaultReaction?
-
The default reaction for this channel.
no setter
- defaultSortOrder → ForumSort?
-
The default sort order in this channel
no setter
- defaultThreadRateLimitPerUser → Duration?
-
The default Thread.rateLimitPerUser for Threads created in this channel.
no setterinherited
- flags → ChannelFlags
-
Any flags applied to this channel.
no setter
- guild → PartialGuild
-
The guild this channel is in.
no setterinherited
- guildId → Snowflake
-
The ID of the Guild this channel is in.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
The id of this entity.
finalinherited
- isNsfw → bool
-
Whether this channel is marked as NSFW.
no setterinherited
- lastPinTimestamp → DateTime?
-
The time at which the last message was pinned.
no setter
- lastThreadId → Snowflake?
-
The ID of the last Thread created.
no setter
- manager → ChannelManager
-
The manager for this entity.
finalinherited
- name → String
-
The name of this channel.
no setterinherited
- parent → PartialChannel?
-
This channel's parent.
no setterinherited
- parentId → Snowflake?
-
The ID of this channel's parent.
no setterinherited
-
permissionOverwrites
→ List<
PermissionOverwrite> -
The permission overwrites for members and roles in this channel.
no setterinherited
- position → int
-
The positing on this channel in the guild's channel list.
no setterinherited
- rateLimitPerUser → Duration?
-
The rate limit duration of this channel per user.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- topic → String?
-
The topic of this channel.
no setter
- type → ChannelType
-
The type of this channel.
no setterinherited
Methods
-
createForumThread(
ForumThreadBuilder builder) → Future< Thread> - Create a thread in this thread aggregate channel.
-
createInvite(
InviteBuilder builder, {String? auditLogReason}) → Future< Invite> -
Create an invite to this channel.
inherited
-
createThread(
ThreadBuilder builder) → Future< Thread> -
Create a Thread in this channel.
inherited
-
createThreadFromMessage(
Snowflake messageId, ThreadFromMessageBuilder builder) → Future< Thread> -
Create a Thread from a Message in this channel.
inherited
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
delete(
{String? auditLogReason}) → Future< void> -
Delete this channel.
inherited
-
deletePermissionOverwrite(
Snowflake id) → Future< void> -
Remove a permission overwrite from this channel.
inherited
-
fetch(
) → Future< Channel> -
Fetch this entity from the API.
inherited
-
fetchWebhooks(
) → Future< List< Webhook> > -
List the webhooks in this channel.
inherited
-
follow(
Snowflake id, {String? auditLogReason}) → Future< void> -
Follow another channel's announcement messages in this channel.
inherited
-
get(
) → Future< Channel> -
If this entity exists in the manager's cache, return the cached instance. Otherwise, fetch
this entity and return it.
inherited
-
listInvites(
) → Future< List< InviteWithMetadata> > -
List the invites in this channel.
inherited
-
listJoinedPrivateArchivedThreads(
{DateTime? before, int? limit}) → Future< ThreadList> -
List the private archived Threads in this channel which the current user has joined.
inherited
-
listPrivateArchivedThreads(
{DateTime? before, int? limit}) → Future< ThreadList> -
List the private archived Threads in this channel.
inherited
-
listPublicArchivedThreads(
{DateTime? before, int? limit}) → Future< ThreadList> -
List the public archived Threads in this channel.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
UpdateBuilder< Channel> builder) → Future<Channel> -
Update this channel.
inherited
-
updatePermissionOverwrite(
PermissionOverwriteBuilder builder) → Future< void> -
Update or create a permission overwrite in this channel.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited