SendGift

@Serializable
data class SendGift : SimpleRequest<Boolean> , TextedOutput

Constructors

Link copied to clipboard
constructor(userId: UserId, giftId: GiftId, text: String, parseMode: ParseMode?)
constructor(userId: UserId, giftId: GiftId, textSources: TextSourcesList)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "gift_id")
val giftId: GiftId
Link copied to clipboard
@SerialName(value = "text_parse_mode")
open override val parseMode: ParseMode?
Link copied to clipboard
open override val requestSerializer: SerializationStrategy<*>
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<Boolean>
Link copied to clipboard
@SerialName(value = "text")
open override val text: String
Link copied to clipboard
open override val textSources: TextSourcesList?

Full list of TextSources

Link copied to clipboard
@SerialName(value = "user_id")
val userId: UserId

Functions

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