parseChannelUpdate method
Parse a ChannelUpdateEvent from raw
.
Implementation
ChannelUpdateEvent parseChannelUpdate(Map<String, Object?> raw) {
final channel = client.channels.parse(raw);
return ChannelUpdateEvent(
gateway: this,
oldChannel: client.channels.cache[channel.id],
channel: channel,
);
}