Class EditForumTopic

java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<EditForumTopic, Boolean>
io.github.natanimn.telebof.requests.edit.EditForumTopic

public class EditForumTopic extends AbstractBaseRequest<EditForumTopic, Boolean>
EditForumTopic class. Returns True on sucsess.
Since:
3 March 2025
See Also:
  • Constructor Details

    • EditForumTopic

      public EditForumTopic(Object chat_id, int message_thread_id, Api api)
      Required
      Parameters:
      chat_id - chat id
      message_thread_id - message thread id
      api - api
  • Method Details

    • name

      public EditForumTopic name(String name)
      Optional
      Parameters:
      name - New topic name, 0-128 characters. If not specified or empty, the current name of the topic will be kept
      Returns:
      EditForumTopic
    • iconCustomEmojiId

      public EditForumTopic iconCustomEmojiId(String icon_custom_emoji_id)
      Optional
      Parameters:
      icon_custom_emoji_id - New unique identifier of the custom emoji shown as the topic icon. Use BotContext.getForumTopicIconStickers() to get all allowed custom emoji identifiers. Pass an empty string to remove the icon. If not specified, the current icon will be kept
      Returns:
      EditForumTopic