Class CreateForumTopic
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<CreateForumTopic, ForumTopic>
io.github.natanimn.telebof.requests.create.CreateForumTopic
CreateForumTopic class. Returns
ForumTopic
on success.- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioniconColor
(int icon_color) OptionaliconCustomEmojiId
(String icon_custom_emoji_id) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
CreateForumTopic
-
-
Method Details
-
iconColor
Optional- Parameters:
icon_color
- Color of the topic icon in RGB format. Currently, must be one of 7322096 (0x6FB9F0), 16766590 (0xFFD67E), 13338331 (0xCB86DB), 9367192 (0x8EEE98), 16749490 (0xFF93B2), or 16478047 (0xFB6F5F)- Returns:
CreateForumTopic
-
iconCustomEmojiId
Optional- Parameters:
icon_custom_emoji_id
- Unique identifier of the custom emoji shown as the topic icon. UseBotContext.getForumTopicIconStickers()
to get all allowed custom emoji identifiers.- Returns:
CreateForumTopic
-