SetChatPhoto

@Serializable
data class SetChatPhoto(val chatId: ChatIdentifier, val photo: MultipartFile = throw IllegalArgumentException("Unfortunately, this type of objects can't be parsed automatically")) : ChatRequest, MultipartRequest<Boolean>

Constructors

Link copied to clipboard
constructor(chatId: ChatIdentifier, photo: MultipartFile = throw IllegalArgumentException("Unfortunately, this type of objects can't be parsed automatically"))

Functions

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

Properties

Link copied to clipboard
open override val chatId: ChatIdentifier
Link copied to clipboard
open override val mediaMap: Map<String, MultipartFile>
Link copied to clipboard
open override val paramsJson: JsonObject
Link copied to clipboard
Link copied to clipboard
open override val resultDeserializer: DeserializationStrategy<Boolean>