Ring Daemon 16.0.0
Loading...
Searching...
No Matches
jami::ConversationRequest Struct Reference

A ConversationRequest is a request which corresponds to a trust request, but for conversations It's signed by the sender and contains the members list, the conversationId, and the metadatas such as the conversation's vcard, etc. More...

#include <conversation.h>

Collaboration diagram for jami::ConversationRequest:
Collaboration graph

Public Member Functions

 ConversationRequest ()=default
 
 ConversationRequest (const Json::Value &json)
 
bool isOneToOne () const
 
bool operator== (const ConversationRequest &o) const
 
Json::Value toJson () const
 
std::map< std::string, std::string > toMap () const
 

Public Attributes

std::string conversationId
 
time_t declined {0}
 
std::string from
 
std::map< std::string, std::string > metadatas
 
time_t received {0}
 

Detailed Description

A ConversationRequest is a request which corresponds to a trust request, but for conversations It's signed by the sender and contains the members list, the conversationId, and the metadatas such as the conversation's vcard, etc.

(TODO determine) Transmitted via the UDP DHT

Definition at line 71 of file conversation.h.

Constructor & Destructor Documentation

◆ ConversationRequest() [1/2]

jami::ConversationRequest::ConversationRequest ( )
default

◆ ConversationRequest() [2/2]

jami::ConversationRequest::ConversationRequest ( const Json::Value &  json)

Member Function Documentation

◆ isOneToOne()

bool jami::ConversationRequest::isOneToOne ( ) const
inline

◆ operator==()

bool jami::ConversationRequest::operator== ( const ConversationRequest o) const
inline

Definition at line 86 of file conversation.h.

References jami::emitSignal(), and toMap().

Here is the call graph for this function:

◆ toJson()

◆ toMap()

Member Data Documentation

◆ conversationId

std::string jami::ConversationRequest::conversationId

◆ declined

time_t jami::ConversationRequest::declined {0}

◆ from

◆ metadatas

std::map<std::string, std::string> jami::ConversationRequest::metadatas

◆ received

time_t jami::ConversationRequest::received {0}

The documentation for this struct was generated from the following files: