TelegramBotAPI
common
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
)
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String
Properties
chat
Id
Link copied to clipboard
open
override
val
chatId
:
ChatIdentifier
color
Link copied to clipboard
val
color
:
RGBColor
icon
Emoji
Id
Link copied to clipboard
val
iconEmojiId
:
CustomEmojiId
?
=
null
name
Link copied to clipboard
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
>