diff options
| author | levlam <levlam@telegram.org> | 2022-12-06 18:16:22 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2022-12-06 18:16:22 +0300 |
| commit | 05ad0474bf2ad16bedbbf75fad3f524667ef57f5 (patch) | |
| tree | 12ac20a7b2f6c0de8301211dbac42f45d8f058bc /td/telegram/ForumTopicManager.h | |
| parent | 8917b9c84565093c35863b4c915323c48a511aac (diff) | |
Add td_api::getForumTopics.
Diffstat (limited to 'td/telegram/ForumTopicManager.h')
| -rw-r--r-- | td/telegram/ForumTopicManager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/td/telegram/ForumTopicManager.h b/td/telegram/ForumTopicManager.h index 6eedf2e00..5e881c018 100644 --- a/td/telegram/ForumTopicManager.h +++ b/td/telegram/ForumTopicManager.h @@ -49,6 +49,10 @@ class ForumTopicManager final : public Actor { void get_forum_topic_link(DialogId dialog_id, MessageId top_thread_message_id, Promise<string> &&promise); + void get_forum_topics(DialogId dialog_id, string query, int32 offset_date, MessageId offset_message_id, + MessageId offset_top_thread_message_id, int32 limit, + Promise<td_api::object_ptr<td_api::forumTopics>> promise); + void toggle_forum_topic_is_closed(DialogId dialog_id, MessageId top_thread_message_id, bool is_closed, Promise<Unit> &&promise); |
