1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-18 06:13:47 +00:00

start add effects support

This commit is contained in:
InsanusMokrassar 2024-05-28 21:35:27 +06:00
parent 6f776576ab
commit 718f6ab366
2 changed files with 10 additions and 0 deletions

View File

@ -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)

View File

@ -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