Package dev.inmo.tgbotapi.requests.bot

Types

Link copied to clipboard
class ClearMyDefaultAdministratorRights(forChannels: Boolean?) : SimpleRequest<Boolean>
Link copied to clipboard
data class DeleteMyCommands(scope: BotCommandScope, ietfLanguageCode: IetfLanguageCode?) : MyCommandsRequest<Boolean>
Link copied to clipboard
object GetMe : SimpleRequest<ExtendedBot>
Link copied to clipboard
data class GetMyCommands(scope: BotCommandScope, ietfLanguageCode: IetfLanguageCode?) : MyCommandsRequest<List<BotCommand>>
Link copied to clipboard
data class GetMyDefaultAdministratorRights(forChannels: Boolean?) : SimpleRequest<AdministratorChatMemberImpl>
Link copied to clipboard
interface MyCommandsRequest<T : Any> : SimpleRequest<T> , WithOptionalLanguageCode
Link copied to clipboard
class SetMyCommands(commands: List<BotCommand>, scope: BotCommandScope, ietfLanguageCode: IetfLanguageCode?) : MyCommandsRequest<Boolean>
Link copied to clipboard
class SetMyDefaultAdministratorRights(rights: ChatAdministratorRightsImpl, forChannels: Boolean?) : SimpleRequest<Boolean>