1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-05 08:09:21 +00:00

ExtendedPrivateChat#bio

This commit is contained in:
2020-11-04 22:46:08 +06:00
parent 86a472e814
commit fd1a15cb5d
4 changed files with 8 additions and 2 deletions

View File

@@ -247,6 +247,7 @@ const val userField = "user"
const val dateField = "date"
const val chatField = "chat"
const val usernameField = "username"
const val bioField = "bio"
const val nameField = "name"
const val emailField = "email"
const val locationField = "location"

View File

@@ -2,4 +2,6 @@ package dev.inmo.tgbotapi.types.chat.abstracts.extended
import dev.inmo.tgbotapi.types.chat.abstracts.PrivateChat
interface ExtendedPrivateChat : PrivateChat, ExtendedChat
interface ExtendedPrivateChat : PrivateChat, ExtendedChat {
val bio: String
}

View File

@@ -16,5 +16,7 @@ data class ExtendedPrivateChatImpl(
@SerialName(firstNameField)
override val firstName: String = "",
@SerialName(lastNameField)
override val lastName: String = ""
override val lastName: String = "",
@SerialName(bioField)
override val bio: String = ""
) : ExtendedPrivateChat