mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-01-09 17:29:54 +00:00
update ChatShared
This commit is contained in:
parent
9d506b11a3
commit
6b74bc155e
@ -1,10 +1,7 @@
|
|||||||
package dev.inmo.tgbotapi.types.request
|
package dev.inmo.tgbotapi.types.request
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.types.ChatId
|
import dev.inmo.tgbotapi.types.*
|
||||||
import dev.inmo.tgbotapi.types.ChatIdentifier
|
import dev.inmo.tgbotapi.types.files.Photo
|
||||||
import dev.inmo.tgbotapi.types.UserId
|
|
||||||
import dev.inmo.tgbotapi.types.chatIdField
|
|
||||||
import dev.inmo.tgbotapi.types.requestIdField
|
|
||||||
import kotlinx.serialization.SerialName
|
import kotlinx.serialization.SerialName
|
||||||
import kotlinx.serialization.Serializable
|
import kotlinx.serialization.Serializable
|
||||||
|
|
||||||
@ -13,5 +10,11 @@ data class ChatShared(
|
|||||||
@SerialName(requestIdField)
|
@SerialName(requestIdField)
|
||||||
override val requestId: RequestId,
|
override val requestId: RequestId,
|
||||||
@SerialName(chatIdField)
|
@SerialName(chatIdField)
|
||||||
override val chatId: ChatId
|
override val chatId: ChatId,
|
||||||
|
@SerialName(titleField)
|
||||||
|
val title: String? = null,
|
||||||
|
@SerialName(usernameField)
|
||||||
|
val username: Username? = null,
|
||||||
|
@SerialName(photoField)
|
||||||
|
val photo: Photo? = null
|
||||||
) : ChatSharedRequest
|
) : ChatSharedRequest
|
||||||
|
Loading…
Reference in New Issue
Block a user