GetMyCommands

@Serializable
data class GetMyCommands(val scope: BotCommandScope = BotCommandScopeDefault, val ietfLanguageCode: IetfLanguageCode? = null) : MyCommandsRequest<List<BotCommand>>

Constructors

Link copied to clipboard
constructor(scope: BotCommandScope = BotCommandScopeDefault, languageCode: String?)
constructor(scope: BotCommandScope = BotCommandScopeDefault, ietfLanguageCode: IetfLanguageCode? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
@Serializable(with = IetfLanguageCodeSerializer::class)
open override val ietfLanguageCode: IetfLanguageCode? = null
Link copied to clipboard
open val languageCode: String?
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<List<BotCommand>>
Link copied to clipboard
@Serializable(with = BotCommandScopeSerializer::class)
open override val scope: BotCommandScope

Functions

Link copied to clipboard
Link copied to clipboard
open override fun method(): String