diff options
Diffstat (limited to 'context.cpp')
-rw-r--r-- | context.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/context.cpp b/context.cpp index 4c9163d..7c0bcc3 100644 --- a/context.cpp +++ b/context.cpp @@ -250,6 +250,12 @@ Context::newMessage(int viewtype) return new DcMessage{message}; } +uint32_t +Context::sendMessage(uint32_t chatId, DcMessage *message) +{ + return dc_send_msg(m_context, chatId, message->m_message); +} + void Context::importBackup(QString tarfile) { |