Elixir v0.2.1 Nostrum.Struct.DMChannel

Struct representing a Discord direct message channel.

Summary

Types

The channel’s id

Whether the channel is private

Id of the last message sent, should always be true for DMs

The recipient of the message

t()

Types

id()
id() :: integer

The channel’s id

is_private()
is_private() :: boolean

Whether the channel is private

last_message_id()
last_message_id() :: integer

Id of the last message sent, should always be true for DMs

recipient()
recipient() :: Nostrum.Struct.User.t

The recipient of the message

t()
t() :: %Nostrum.Struct.DMChannel{id: id, is_private: is_private, last_message_id: last_message_id, recipient: recipient}