View Source Nostrum.Struct.Event.ChannelPinsUpdate (Nostrum v0.6.1)
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
Specs
channel_id() :: Nostrum.Struct.Channel.id()
The ID of the channel
Specs
guild_id() :: Nostrum.Struct.Guild.id() | nil
The ID of the guild, if the pin update was on a guild
Specs
last_pin_timestamp() :: DateTime.t() | nil
The time at which the most recent pinned message was pinned
Specs
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