2018-12-26 08:07:24 +00:00
|
|
|
package com.github.insanusmokrassar.TelegramBotAPI.types.chat
|
|
|
|
|
2019-02-18 04:56:50 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.*
|
2019-08-12 09:46:31 +00:00
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.chat.abstracts.PrivateChat
|
2019-08-12 09:41:07 +00:00
|
|
|
import kotlinx.serialization.SerialName
|
|
|
|
import kotlinx.serialization.Serializable
|
2018-12-26 08:07:24 +00:00
|
|
|
|
2019-08-12 09:41:07 +00:00
|
|
|
@Serializable
|
2019-08-12 09:15:22 +00:00
|
|
|
data class PrivateChatImpl(
|
2019-08-12 09:41:07 +00:00
|
|
|
@SerialName(idField)
|
2018-12-26 08:07:24 +00:00
|
|
|
override val id: ChatId,
|
2019-08-12 09:41:07 +00:00
|
|
|
@SerialName(usernameField)
|
2019-04-16 09:03:35 +00:00
|
|
|
override val username: Username? = null,
|
2019-08-12 09:41:07 +00:00
|
|
|
@SerialName(firstNameField)
|
2019-08-12 09:15:22 +00:00
|
|
|
override val firstName: String = "",
|
2019-08-12 09:41:07 +00:00
|
|
|
@SerialName(lastNameField)
|
2019-08-12 09:15:22 +00:00
|
|
|
override val lastName: String = ""
|
|
|
|
) : PrivateChat
|