qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
Go to the documentation of this file.
43 std::pair<DispatchedMessageId, DispatchedMessageId>
sendMessage(
bool isAction,
44 QString
const& content)
override;
46 std::pair<DispatchedMessageId, DispatchedMessageId>
sendExtendedMessage(
const QString& content,
DispatchedMessageId nextMessageId
const IGroupSettings & groupSettings
void onMessageReceived(ToxPk const &sender, bool isAction, QString const &content)
Processes and dispatches received message from toxcore.
GroupMessageDispatcher(Group &group, MessageProcessor processor, ICoreIdHandler &idHandler, ICoreGroupMessageSender &messageSender, const IGroupSettings &groupSettings)
ICoreIdHandler & idHandler
std::pair< DispatchedMessageId, DispatchedMessageId > sendExtendedMessage(const QString &content, ExtensionSet extensions) override
Sends message to associated chat ensuring that extensions are available.
std::pair< DispatchedMessageId, DispatchedMessageId > sendMessage(bool isAction, QString const &content) override
Sends message to associated chat.
This class represents a Tox Public Key, which is a part of Tox ID.
NamedType< size_t, struct SentMessageIdTag, Orderable, Incrementable > DispatchedMessageId
MessageProcessor processor
std::bitset< ExtensionType::max > ExtensionSet
ICoreGroupMessageSender & messageSender