createCacheableTextChannel static method
Retrieves a cached TextChannel.
void main() {
var bot = Nyxx("TOKEN");
Cacheable<Snowflake, TextChannel> cachedChannel = CacheUtility.createCacheableTextChannel(bot, Snowflake(''));
}
Implementation
static Cacheable<Snowflake, TextChannel> createCacheableTextChannel(
INyxx client, Snowflake id) =>
_ChannelCacheable(client, id);