Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
Functions
telebot-forums.h File Reference

This file contains forums feature of telegram bot. More...

#include <stdbool.h>
#include "telebot-types.h"

Go to the source code of this file.

Functions

telebot_error_e telebot_create_forum_topic (telebot_handler_t handle, long long int chat_id, const char *name, int icon_color, const char *icon_custom_emoji_id, telebot_forum_topic_t *topic)
 Use this method to create a topic in a forum supergroup chat.
 
telebot_error_e telebot_put_forum_topic (telebot_forum_topic_t *topic)
 Release forum topic obtained with telebot_create_forum_topic.
 
telebot_error_e telebot_edit_forum_topic (telebot_handler_t handle, long long int chat_id, int message_thread_id, const char *name, const char *icon_custom_emoji_id)
 Use this method to edit name and icon of a topic in a forum supergroup chat.
 
telebot_error_e telebot_close_forum_topic (telebot_handler_t handle, long long int chat_id, int message_thread_id)
 Use this method to close an open topic in a forum supergroup chat.
 
telebot_error_e telebot_reopen_forum_topic (telebot_handler_t handle, long long int chat_id, int message_thread_id)
 Use this method to reopen a closed topic in a forum supergroup chat.
 
telebot_error_e telebot_delete_forum_topic (telebot_handler_t handle, long long int chat_id, int message_thread_id)
 Use this method to delete a forum topic along with all its messages in a forum supergroup chat.
 
telebot_error_e telebot_unpin_all_forum_topic_messages (telebot_handler_t handle, long long int chat_id, int message_thread_id)
 Use this method to unpin all messages in a forum topic.
 
telebot_error_e telebot_get_forum_topic_icon_stickers (telebot_handler_t handle, telebot_sticker_t **stickers, int *count)
 Use this method to get custom emoji stickers, which can be used as a forum topic icon by any user.
 
telebot_error_e telebot_edit_general_forum_topic (telebot_handler_t handle, long long int chat_id, const char *name)
 Use this method to edit the name of the 'General' topic in a forum supergroup chat.
 
telebot_error_e telebot_close_general_forum_topic (telebot_handler_t handle, long long int chat_id)
 Use this method to close an open 'General' topic in a forum supergroup chat.
 
telebot_error_e telebot_reopen_general_forum_topic (telebot_handler_t handle, long long int chat_id)
 Use this method to reopen a closed 'General' topic in a forum supergroup chat.
 
telebot_error_e telebot_hide_general_forum_topic (telebot_handler_t handle, long long int chat_id)
 Use this method to hide the 'General' topic in a forum supergroup chat.
 
telebot_error_e telebot_unhide_general_forum_topic (telebot_handler_t handle, long long int chat_id)
 Use this method to unhide the 'General' topic in a forum supergroup chat.
 
telebot_error_e telebot_unpin_all_general_forum_topic_messages (telebot_handler_t handle, long long int chat_id)
 Use this method to unpin all messages in a General forum topic.
 

Detailed Description

This file contains forums feature of telegram bot.

Author
Elmurod Talipov
Date
2026-02-27