docs
3.3.1
common
docs
/
dev.inmo.tgbotapi.types
/
ChatId
Chat
Id
@
Serializable
(
with
=
ChatIdentifierSerializer::class
)
data
class
ChatId
(
val
chatId
:
Identifier
)
:
ChatIdentifier
Also used as User Identifier
Constructors
Properties
Extensions
Constructors
Chat
Id
Link copied to clipboard
fun
ChatId
(
chatId
:
Identifier
)
Properties
chat
Id
Link copied to clipboard
val
chatId
:
Identifier
Extensions
mention
Link copied to clipboard
inline
fun
UserId
.
mention
(
parts
:
TextSourcesList
)
:
TextMentionTextSource
inline
fun
UserId
.
mention
(
text
:
String
)
:
TextMentionTextSource
user
Link
Link copied to clipboard
val
UserId
.
userLink
:
String
https://core.telegram.org/bots/api#formatting-options