Instance Method

getChannel(_:rest:then:)

Either get a cached channel or restfully get a channel

Declaration

func getChannel(_ channelId: Snowflake, rest: Bool = false, then completion: @escaping (Channel?, RequestError?) -> Void)

Parameters

channelId

Channel to get