Ring Daemon 16.0.0
Loading...
Searching...
No Matches
JamiMessage Struct Reference

Contains information about an exchanged message. More...

#include <streamdata.h>

Collaboration diagram for JamiMessage:
Collaboration graph

Public Member Functions

 JamiMessage (const std::string &accId, const std::string &pId, bool isReceived, const std::map< std::string, std::string > &dataMap, bool pPlugin)
 

Public Attributes

std::string accountId
 
std::map< std::string, std::string > data
 
const bool direction
 
bool fromHistory {false}
 
bool fromPlugin
 
bool isSwarm {false}
 
std::string peerId
 

Detailed Description

Contains information about an exchanged message.

It's used by ChatServicesManager.

Definition at line 65 of file streamdata.h.

Constructor & Destructor Documentation

◆ JamiMessage()

JamiMessage::JamiMessage ( const std::string &  accId,
const std::string &  pId,
bool  isReceived,
const std::map< std::string, std::string > &  dataMap,
bool  pPlugin 
)
inline
Parameters
accIdAccountId
pIdpeerId
isReceivedTrue if received message, False if sent
dataMapMessage contents
pPluginTrue if message is created/modified by plugin code

Definition at line 74 of file streamdata.h.

Member Data Documentation

◆ accountId

std::string JamiMessage::accountId

Definition at line 86 of file streamdata.h.

◆ data

std::map<std::string, std::string> JamiMessage::data

Definition at line 90 of file streamdata.h.

◆ direction

const bool JamiMessage::direction

Definition at line 89 of file streamdata.h.

◆ fromHistory

bool JamiMessage::fromHistory {false}

Definition at line 94 of file streamdata.h.

◆ fromPlugin

bool JamiMessage::fromPlugin

Definition at line 92 of file streamdata.h.

◆ isSwarm

bool JamiMessage::isSwarm {false}

Definition at line 93 of file streamdata.h.

◆ peerId

std::string JamiMessage::peerId

Definition at line 87 of file streamdata.h.


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