Rise
The Vieneo Province
Loading...
Searching...
No Matches
discordpp::UserMessageSummary Class Reference

Represents a summary of a DM conversation with a user. More...

#include <discordpp.h>

Collaboration diagram for discordpp::UserMessageSummary:
[legend]

Public Member Functions

 UserMessageSummary (UserMessageSummary &&other) noexcept
 Move constructor for UserMessageSummary.
UserMessageSummary & operator= (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.
UserMessageSummary & operator= (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.

Detailed Description

Represents a summary of a DM conversation with a user.

Definition at line 3284 of file discordpp.h.

Constructor & Destructor Documentation

◆ UserMessageSummary() [1/2]

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

Move constructor for UserMessageSummary.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UserMessageSummary() [2/2]

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

Copy constructor for UserMessageSummary.

Here is the call graph for this function:

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.

Definition at line 3305 of file discordpp.h.

◆ operator=() [1/2]

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

Copy assignment operator for UserMessageSummary.

Here is the call graph for this function:

◆ operator=() [2/2]

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

Move assignment operator for UserMessageSummary.

Here is the call graph for this function:

◆ 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.

Definition at line 3303 of file discordpp.h.


The documentation for this class was generated from the following file: