glyde/event/presence

Who is doing what: TYPING_START today. USER_UPDATE decodes straight to glyde/user, and PRESENCE_UPDATE is not modelled yet.

Types

pub type TypingStart {
  TypingStart(
    channel_id: id.Id(id.Channel),
    guild_id: option.Option(id.Id(id.Guild)),
    user_id: id.Id(id.User),
    timestamp: Int,
    member: option.Option(member.GuildMember),
  )
}

Constructors

Values

pub fn typing_start_decoder() -> decode.Decoder(TypingStart)
Search Document