Discord Social SDK
Loading...
Searching...
No Matches
discordpp::UserMessageSummary Class Reference

Detailed Description

Represents a summary of a DM conversation with a user.

Public Member Functions

 UserMessageSummary (UserMessageSummary &&other) noexcept
 Move constructor for UserMessageSummary.
 
UserMessageSummaryoperator= (UserMessageSummary &&other) noexcept
 Move assignment operator for UserMessageSummary.
 
 operator bool () const
 Returns true if the instance contains a valid object.
 
 UserMessageSummary (const UserMessageSummary &arg0)
 Copy constructor for UserMessageSummary.
 
UserMessageSummaryoperator= (const UserMessageSummary &arg0)
 Copy assignment operator for UserMessageSummary.
 
uint64_t LastMessageId () const
 Returns the ID of the last message sent in the DM conversation.
 
uint64_t UserId () const
 Returns the ID of the other user in the DM conversation.
 

Static Public Attributes

static const UserMessageSummary nullobj
 Uninitialized instance of UserMessageSummary.
 

Constructor & Destructor Documentation

◆ UserMessageSummary() [1/2]

discordpp::UserMessageSummary::UserMessageSummary ( UserMessageSummary && other)
noexcept

Move constructor for UserMessageSummary.

◆ UserMessageSummary() [2/2]

discordpp::UserMessageSummary::UserMessageSummary ( const UserMessageSummary & arg0)

Copy constructor for UserMessageSummary.

Member Function Documentation

◆ LastMessageId()

uint64_t discordpp::UserMessageSummary::LastMessageId ( ) const

Returns the ID of the last message sent in the DM conversation.

◆ operator bool()

discordpp::UserMessageSummary::operator bool ( ) const
inline

Returns true if the instance contains a valid object.

◆ operator=() [1/2]

UserMessageSummary & discordpp::UserMessageSummary::operator= ( const UserMessageSummary & arg0)

Copy assignment operator for UserMessageSummary.

◆ operator=() [2/2]

UserMessageSummary & discordpp::UserMessageSummary::operator= ( UserMessageSummary && other)
noexcept

Move assignment operator for UserMessageSummary.

◆ UserId()

uint64_t discordpp::UserMessageSummary::UserId ( ) const

Returns the ID of the other user in the DM conversation.

Member Data Documentation

◆ nullobj

const UserMessageSummary discordpp::UserMessageSummary::nullobj
static

Uninitialized instance of UserMessageSummary.