toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.requests.chat.forum
/
CreateForumTopic
Create
Forum
Topic
@
Serializable
data
class
CreateForumTopic
(
val
chatId
:
ChatIdentifier
,
val
name
:
String
,
val
color
:
RGBColor
,
val
iconEmojiId
:
CustomEmojiId
?
=
null
)
:
ForumRequest
<
ForumTopic
>
Members
Constructors
Create
Forum
Topic
Link copied to clipboard
constructor
(
chatId
:
ChatIdentifier
,
name
:
String
,
color
:
RGBColor
,
iconEmojiId
:
CustomEmojiId
?
=
null
)
Properties
chat
Id
Link copied to clipboard
@
SerialName
(
value
=
"chat_id"
)
open
override
val
chatId
:
ChatIdentifier
color
Link copied to clipboard
@
SerialName
(
value
=
"icon_color"
)
val
color
:
RGBColor
icon
Emoji
Id
Link copied to clipboard
@
SerialName
(
value
=
"icon_custom_emoji_id"
)
val
iconEmojiId
:
CustomEmojiId
?
=
null
name
Link copied to clipboard
@
SerialName
(
value
=
"name"
)
val
name
:
String
request
Serializer
Link copied to clipboard
open
override
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
ForumTopic
>
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String