Package dev. inmo. tgbotapi. requests. bot
Types
Link copied to clipboard
class ClearMyDefaultAdministratorRights(val forChannels: Boolean? = null) : SimpleRequest<Boolean>
Content copied to clipboard
Link copied to clipboard
data class DeleteMyCommands(val scope: BotCommandScope = BotCommandScopeDefault, val ietfLanguageCode: IetfLanguageCode? = null) : MyCommandsRequest<Boolean>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class GetMyCommands(val scope: BotCommandScope = BotCommandScopeDefault, val ietfLanguageCode: IetfLanguageCode? = null) : MyCommandsRequest<List<BotCommand>>
Content copied to clipboard
Link copied to clipboard
data class GetMyDefaultAdministratorRights(val forChannels: Boolean? = null) : SimpleRequest<AdministratorChatMemberImpl>
Content copied to clipboard
Link copied to clipboard
interface MyCommandsRequest<T : Any> : SimpleRequest<T> , WithOptionalLanguageCode
Content copied to clipboard
Link copied to clipboard
class SetMyCommands( val commands: List<BotCommand>, val scope: BotCommandScope = BotCommandScopeDefault, val ietfLanguageCode: IetfLanguageCode? = null) : MyCommandsRequest<Boolean>
Content copied to clipboard
Link copied to clipboard
class SetMyDefaultAdministratorRights(val rights: ChatAdministratorRightsImpl, val forChannels: Boolean? = null) : SimpleRequest<Boolean>
Content copied to clipboard