1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 16:23:48 +00:00

add kdocs to the requests

This commit is contained in:
InsanusMokrassar 2021-12-20 12:50:06 +06:00
parent d6cef5984b
commit e8022a2ded
2 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,9 @@ import dev.inmo.tgbotapi.types.*
import kotlinx.serialization.* import kotlinx.serialization.*
import kotlinx.serialization.builtins.serializer import kotlinx.serialization.builtins.serializer
/**
* Representation of [banChatSenderChat](https://core.telegram.org/bots/api#banchatsenderchat) request
*/
@Serializable @Serializable
data class BanChatSenderChat( data class BanChatSenderChat(
@SerialName(chatIdField) @SerialName(chatIdField)

View File

@ -5,6 +5,9 @@ import dev.inmo.tgbotapi.types.*
import kotlinx.serialization.* import kotlinx.serialization.*
import kotlinx.serialization.builtins.serializer import kotlinx.serialization.builtins.serializer
/**
* Representation of [unbanChatSenderChat](https://core.telegram.org/bots/api#unbanchatsenderchat) request
*/
@Serializable @Serializable
data class UnbanChatSenderChat( data class UnbanChatSenderChat(
@SerialName(chatIdField) @SerialName(chatIdField)