createThreadFromMessage method

  1. @override
Future<Thread> createThreadFromMessage(
  1. Snowflake messageId,
  2. ThreadFromMessageBuilder builder
)
override

Create a Thread from a Message in this channel.

Cannot be used in ForumChannels.

External references:

Implementation

@override
Future<Thread> createThreadFromMessage(Snowflake messageId, ThreadFromMessageBuilder builder) =>
    throw UnsupportedError('Cannot create a non forum thread in a forum channel');