Liblinphone
5.3.0
|
A chat message reaction is an emoji sent by someone in the same chat room to react to a specific ChatMessage. More...
#include <chat_message_reaction.hh>
Public Member Functions | |
LINPHONECXX_PUBLIC | ChatMessageReaction (void *ptr, bool takeRef=true) |
LINPHONECXX_PUBLIC _LinphoneChatMessageReaction * | cPtr () |
LINPHONECXX_PUBLIC std::string | getBody () const |
Returns the emoji(s) used for the reaction. More... | |
LINPHONECXX_PUBLIC std::string | getCallId () const |
Allows to get the Call ID associated with a ChatMessageReaction. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< const linphone::Address > | getFromAddress () const |
Returns the Address of the participant that sent this reaction. More... | |
LINPHONECXX_PUBLIC void | send () |
Sends a ChatMessageReaction. | |
A chat message reaction is an emoji sent by someone in the same chat room to react to a specific ChatMessage.
To create a ChatMessageReaction, use ChatMessage::createReaction(). Once you are ready, send the reaction using send(). Reactions are available using ChatMessage::getReactions() and will be notified using dedicated callbacks either in #LinphoneCoreListener or #LinphoneChatMessageListener.
LINPHONECXX_PUBLIC std::string linphone::ChatMessageReaction::getBody | ( | ) | const |
Returns the emoji(s) used for the reaction.
LINPHONECXX_PUBLIC std::string linphone::ChatMessageReaction::getCallId | ( | ) | const |
Allows to get the Call ID associated with a ChatMessageReaction.
LINPHONECXX_PUBLIC std::shared_ptr<const linphone::Address> linphone::ChatMessageReaction::getFromAddress | ( | ) | const |