SendPhotoApi
Types
Properties
Link copied to clipboard
The request body (or null).
Link copied to clipboard
The result's DeserializationStrategy of this Method.
Link copied to clipboard
The TelegramApiResult's DeserializationStrategy of this Method.
Inherited properties
Link copied to clipboard
MultiPartFormDataContent does not require a serializer. Always get null
.
Link copied to clipboard
Headers for request. Default is Headers.Empty.
Inherited functions
Link copied to clipboard
suspend fun <R : Any> TelegramApi<R>.requestData(client: HttpClient, token: String, server: Url?): R
suspend fun <R : Any> TelegramApi<R>.requestData(client: HttpClient, token: String, server: String? = null): R
Request the TelegramApi by client with token.
Link copied to clipboard
suspend fun TelegramApi<*>.requestRaw(client: HttpClient, token: String, server: Url?): HttpResponse
suspend fun TelegramApi<*>.requestRaw(client: HttpClient, token: String, server: String? = null): HttpResponse
Request the TelegramApi by client with token.
Link copied to clipboard
suspend fun <R : Any> TelegramApi<R>.requestResult(client: HttpClient, token: String, server: Url?): TelegramApiResult<R>
suspend fun <R : Any> TelegramApi<R>.requestResult(client: HttpClient, token: String, server: String? = null): TelegramApiResult<R>
Request the TelegramApi by client with token.