CreateForumTopic

@Serializable
data class CreateForumTopic(val chatId: ChatIdentifier, val name: String, val color: RGBColor, val iconEmojiId: CustomEmojiId? = null) : ForumRequest<ForumTopic>

Constructors

Link copied to clipboard
constructor(chatId: ChatIdentifier, name: String, color: RGBColor, iconEmojiId: CustomEmojiId? = null)

Properties

Link copied to clipboard
@SerialName(value = "chat_id")
open override val chatId: ChatIdentifier
Link copied to clipboard
@SerialName(value = "icon_color")
val color: RGBColor
Link copied to clipboard
@SerialName(value = "icon_custom_emoji_id")
val iconEmojiId: CustomEmojiId? = null
Link copied to clipboard
@SerialName(value = "name")
val name: String
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<ForumTopic>

Functions

Link copied to clipboard
open override fun method(): String