discord_gleam/ws/packets/channel_update
Types
pub type ChannelUpdatePacket {
ChannelUpdatePacket(
t: String,
s: Int,
op: Int,
d: channel.Channel,
)
}
Constructors
-
ChannelUpdatePacket( t: String, s: Int, op: Int, d: channel.Channel, )
Functions
pub fn string_to_data(
encoded: String,
) -> Result(ChannelUpdatePacket, DecodeError)