diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/EffectId.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/EffectId.kt new file mode 100644 index 0000000000..e042d8e260 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/EffectId.kt @@ -0,0 +1,8 @@ +package dev.inmo.tgbotapi.types + +import kotlinx.serialization.Serializable +import kotlin.jvm.JvmInline + +@Serializable +@JvmInline +value class EffectId(val string: String) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/RawMessage.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/RawMessage.kt index a8361042b5..056f5de8bf 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/RawMessage.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/RawMessage.kt @@ -143,6 +143,8 @@ internal data class RawMessage( private val link_preview_options: LinkPreviewOptions? = null, + private val effect_id: EffectId? = null, + private val reply_markup: InlineKeyboardMarkup? = null, // Business