Packages

c

ackcord.data

ChannelIdSyntax

implicit final class ChannelIdSyntax extends AnyVal

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChannelIdSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ChannelIdSyntax(channelId: ChannelId)

Value Members

  1. def asChannelId[A <: Channel]: SnowflakeType[A]

    Downcast this id to a kind of channel id

  2. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  3. def mention: String

    Get a mention representation of this channel id.

  4. def resolve(implicit c: CacheSnapshot): Option[Channel]

    Resolve the channel represented by this id.

    Resolve the channel represented by this id. If you'd rather get anything more concrete, convert this id to a type closer to what you're looking for.