Unique identifier of the forum topic
Unique identifier for this chat
Unique identifier for this chat
Unique identifier of the forum topic
The client that instantiated this
Protected_cloneProtected_patchProtected_updateUse this method to edit name and icon of a topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have can_manage_topics administrator rights, unless it is the creator of the topic.
Optionaloptions: { customEmojiId?: string; name?: string }Options for edited forum topic.
OptionalcustomEmojiId?: stringNew unique identifier of the custom emoji shown as the topic icon. Use 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
Optionalname?: stringNew topic name, 0-128 characters. If not specified or empty, the current name of the topic will be kept
Returns True on success.
Flatten an object. Any properties that are collections will get converted to an array of keys.
OptionalpropsRecursive: booleanOptional. If true, calls toJSON method on nested objects.
Optional. Specific properties to include/exclude, or rename.
Flattened object.
Use this method to clear the list of pinned messages in a chat. In private chats and channel direct messages chats, no additional rights are required to unpin all pinned messages. Conversely, the bot must be an administrator with the 'can_pin_messages' right or the 'can_edit_messages' right to unpin all pinned messages in groups and channels respectively.
Returns True on success.
The client that instantiated this