All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.vendeli.tgbot.api.chat.GetChatAdministrators.kt Maven / Gradle / Ivy

@file:Suppress("MatchingDeclarationName")

package eu.vendeli.tgbot.api.chat

import eu.vendeli.tgbot.interfaces.Action
import eu.vendeli.tgbot.interfaces.ActionState
import eu.vendeli.tgbot.interfaces.TgAction
import eu.vendeli.tgbot.types.chat.ChatMember
import eu.vendeli.tgbot.types.internal.TgMethod
import eu.vendeli.tgbot.utils.getInnerType
import eu.vendeli.tgbot.utils.getReturnType

class GetChatAdministratorsAction : Action>, ActionState() {
    override val TgAction>.method: TgMethod
        get() = TgMethod("getChatAdministrators")
    override val TgAction>.returnType: Class>
        get() = getReturnType()
    override val TgAction>.wrappedDataType: Class
        get() = getInnerType()
}

fun getChatAdministrators() = GetChatAdministratorsAction()




© 2015 - 2025 Weber Informatics LLC | Privacy Policy