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 0951241..b768fb6 100644 --- a/context.cpp +++ b/context.cpp @@ -136,3 +136,9 @@ Context::sendTextMessage(uint32_t chatId, QString textToSend) QByteArray utf8Text = textToSend.toUtf8(); return dc_send_text_msg(m_context, chatId, utf8Text.constData()); } + +bool +Context::setChatMuteDuration(uint32_t chatId, int64_t duration) +{ + return dc_set_chat_mute_duration(m_context, chatId, duration); +} |