ToggleForumTopicIsPinned constructor

ToggleForumTopicIsPinned(
  1. {required int chat_id,
  2. required int message_thread_id,
  3. required bool is_pinned,
  4. int? extra,
  5. int? clientId}
)

Changes the pinned state of a forum topic; requires can_manage_topics administrator right in the supergroup. There can be up to getOption("pinned_forum_topic_count_max") pinned forum topics

Returns Ok

Implementation

ToggleForumTopicIsPinned