mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-02 14:49:47 +00:00
warnings fixes
This commit is contained in:
@@ -59,7 +59,7 @@ data class RawMessage(
|
||||
private val contact: Contact? = null,
|
||||
private val location: Location? = null,
|
||||
private val venue: Venue? = null,
|
||||
private val new_chat_members: Array<User>? = null,
|
||||
private val new_chat_members: List<User>? = null,
|
||||
private val left_chat_member: User? = null,
|
||||
private val new_chat_title: String? = null,
|
||||
@Serializable(PhotoSerializer::class)
|
||||
@@ -82,7 +82,7 @@ data class RawMessage(
|
||||
) {
|
||||
@Transient
|
||||
private val content: MessageContent? by lazy {
|
||||
val adaptedCaptionEntities = caption ?.let { _ ->
|
||||
val adaptedCaptionEntities = caption ?.let {
|
||||
caption_entities ?.map {
|
||||
it.asMessageEntity(caption)
|
||||
}
|
||||
|
Reference in New Issue
Block a user