toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types.request
/
ChatShared
Chat
Shared
@
Serializable
data
class
ChatShared
(
val
requestId
:
RequestId
,
val
chatId
:
ChatId
,
val
title
:
String
?
=
null
,
val
username
:
Username
?
=
null
,
val
photo
:
PhotoFile
?
=
null
)
:
ChatSharedRequest
Members
Constructors
Chat
Shared
Link copied to clipboard
constructor
(
requestId
:
RequestId
,
chatId
:
ChatId
,
title
:
String
?
=
null
,
username
:
Username
?
=
null
,
photo
:
PhotoFile
?
=
null
)
Properties
chat
Id
Link copied to clipboard
@
SerialName
(
value
=
"chat_id"
)
open
override
val
chatId
:
ChatId
photo
Link copied to clipboard
@
SerialName
(
value
=
"photo"
)
val
photo
:
PhotoFile
?
=
null
request
Id
Link copied to clipboard
@
SerialName
(
value
=
"request_id"
)
open
override
val
requestId
:
RequestId
title
Link copied to clipboard
@
SerialName
(
value
=
"title"
)
val
title
:
String
?
=
null
username
Link copied to clipboard
@
SerialName
(
value
=
"username"
)
val
username
:
Username
?
=
null