GetMyCommands

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

Constructors

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

Types

Link copied to clipboard

Properties

Link copied to clipboard
@SerialName(value = "language_code")
@Serializable(with = IetfLangSerializer::class)
open override val ietfLanguageCode: IetfLang? = 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
@SerialName(value = "scope")
@Serializable(with = BotCommandScopeSerializer::class)
open override val scope: BotCommandScope

Functions

Link copied to clipboard
fun WithOptionalLanguageCode?.javaLocale(): <Error class: unknown class>?
Link copied to clipboard
open override fun method(): String