discord_gleam/ws/packets/guild_update
Types
pub type GuildUpdatePacket {
GuildUpdatePacket(t: String, s: Int, op: Int, d: guild.Guild)
}
Constructors
-
GuildUpdatePacket(t: String, s: Int, op: Int, d: guild.Guild)
Values
pub fn from_json_string(
encoded: String,
) -> Result(GuildUpdatePacket, json.DecodeError)