View Source Nostrum.Struct.Event.ChannelPinsUpdate (Nostrum v0.8.0)
Represents an update to channel pins.
Link to this section Summary
Types
The ID of the channel
The ID of the guild, if the pin update was on a guild
The time at which the most recent pinned message was pinned
Event sent when a message is pinned or unpinned in a text channel
Link to this section Types
@type channel_id() :: Nostrum.Struct.Channel.id()
The ID of the channel
@type guild_id() :: Nostrum.Struct.Guild.id() | nil
The ID of the guild, if the pin update was on a guild
@type last_pin_timestamp() :: DateTime.t() | nil
The time at which the most recent pinned message was pinned
@type t() :: %Nostrum.Struct.Event.ChannelPinsUpdate{ channel_id: channel_id(), guild_id: guild_id(), last_pin_timestamp: last_pin_timestamp() }
Event sent when a message is pinned or unpinned in a text channel