discord_gleam/ws/packets/channel_update

Types

pub type ChannelUpdatePacket {
  ChannelUpdatePacket(
    t: String,
    s: Int,
    op: Int,
    d: channel.Channel,
  )
}

Constructors

Values

pub fn string_to_data(
  encoded: String,
) -> Result(ChannelUpdatePacket, json.DecodeError)
Search Document