mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-27 20:48:44 +00:00
Merge branch '0.32.10' into klassindex
This commit is contained in:
commit
7680845578
@ -5,11 +5,11 @@ import dev.inmo.tgbotapi.requests.abstracts.SimpleRequest
|
||||
import dev.inmo.tgbotapi.types.*
|
||||
import kotlinx.serialization.DeserializationStrategy
|
||||
|
||||
interface ChatInviteLinkRequest : SimpleRequest<BotInviteLink> {
|
||||
interface ChatInviteLinkRequest : SimpleRequest<CommonInviteLink> {
|
||||
val chatId: ChatId
|
||||
|
||||
override val resultDeserializer: DeserializationStrategy<BotInviteLink>
|
||||
get() = BotInviteLink.serializer()
|
||||
override val resultDeserializer: DeserializationStrategy<CommonInviteLink>
|
||||
get() = CommonInviteLink.serializer()
|
||||
}
|
||||
interface KnownChatInviteLinkRequest : ChatInviteLinkRequest {
|
||||
val inviteLink: String
|
||||
|
Loading…
Reference in New Issue
Block a user