19#ifndef __TELEBOT_FORUMS_H__
20#define __TELEBOT_FORUMS_H__
54 long long int chat_id,
const char *name,
int icon_color,
const char *icon_custom_emoji_id,
75 long long int chat_id,
int message_thread_id,
const char *name,
const char *icon_custom_emoji_id);
86 long long int chat_id,
int message_thread_id);
97 long long int chat_id,
int message_thread_id);
108 long long int chat_id,
int message_thread_id);
119 long long int chat_id,
int message_thread_id);
141 long long int chat_id,
const char *name);
151 long long int chat_id);
161 long long int chat_id);
171 long long int chat_id);
181 long long int chat_id);
191 long long int chat_id);
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_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_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_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.
struct telebot_handler * telebot_handler_t
This is opaque object to represent a telebot handler.
Definition telebot-types.h:3489
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_put_forum_topic(telebot_forum_topic_t *topic)
Release forum topic obtained with telebot_create_forum_topic.
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.
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_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_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
Enumerations of error code for telebot programming interface.
Definition telebot-common.h:45
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_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_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.
This object represents a forum topic.
Definition telebot-types.h:3292
This object represents a sticker.
Definition telebot-types.h:3254
This file contains types used to create telegram bot.