progress in fixes of api errors

This commit is contained in:
InsanusMokrassar committed 2024-05-31 13:04:11 +06:00
1 parent 211cef298c
commit 6ec686040c
21 files changed
+537 -198

No files matched your search

@@ -18,6 +18,7 @@ fun SendSticker(
sticker: InputFile,
threadId: MessageThreadId? = chatId.threadId,
businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId,
emoji: String? = null,
disableNotification: Boolean = false,
protectContent: Boolean = false,
effectId: EffectId? = null,
@@ -28,6 +29,7 @@ fun SendSticker(
sticker = sticker,
threadId = threadId,
businessConnectionId = businessConnectionId,
emoji = emoji,
disableNotification = disableNotification,
protectContent = protectContent,
effectId = effectId,
@@ -56,6 +58,8 @@ data class SendStickerByFileId internal constructor(
override val threadId: MessageThreadId? = chatId.threadId,
@SerialName(businessConnectionIdField)
override val businessConnectionId: BusinessConnectionId? = chatId.businessConnectionId,
@SerialName(emojiField)
val emoji: String? = null,
@SerialName(disableNotificationField)
override val disableNotification: Boolean = false,
@SerialName(protectContentField)