toggle menu
ktgbotapi
common
switch theme
search in API
tgbotapi.core
/
dev.inmo.tgbotapi.types
/
ChatIdWithThreadId
Chat
Id
With
Thread
Id
@
Serializable
(
with
=
ChatIdentifierSerializer::class
)
@
JvmInline
value
class
ChatIdWithThreadId
(
val
chatIdWithThreadId
:
Pair
<
RawChatId
,
MessageThreadId
>
)
:
IdChatIdentifier
Members
Members & Extensions
Constructors
Chat
Id
With
Thread
Id
Link copied to clipboard
constructor
(
chatId
:
RawChatId
,
threadId
:
MessageThreadId
)
constructor
(
chatIdWithThreadId
:
Pair
<
RawChatId
,
MessageThreadId
>
)
Properties
business
Connection
Id
Link copied to clipboard
open
val
businessConnectionId
:
BusinessConnectionId
?
business
Connection
Id
Link copied to clipboard
val
ChatIdentifier
.
businessConnectionId
:
BusinessConnectionId
?
chat
Id
Link copied to clipboard
open
override
val
chatId
:
RawChatId
chat
Id
With
Thread
Id
Link copied to clipboard
val
chatIdWithThreadId
:
Pair
<
RawChatId
,
MessageThreadId
>
thread
Id
Link copied to clipboard
open
override
val
threadId
:
MessageThreadId
thread
Id
Link copied to clipboard
val
ChatIdentifier
.
threadId
:
MessageThreadId
?
Functions
to
Business
Chat
Id
Link copied to clipboard
fun
IdChatIdentifier
.
toBusinessChatId
(
businessConnectionId
:
BusinessConnectionId
)
:
BusinessChatId
to
Chat
Id
Link copied to clipboard
fun
IdChatIdentifier
.
toChatId
(
)
:
ChatId
to
Chat
With
Thread
Id
Link copied to clipboard
fun
IdChatIdentifier
.
toChatWithThreadId
(
threadId
:
MessageThreadId
)
:
ChatIdWithThreadId