Package com.github.lamba92.kotlingram

Types

InlineQueryResultSerializer
Link copied to clipboard
common
object InlineQueryResultSerializer : JsonContentPolymorphicSerializer<InlineQueryResult>
InputMessageContentSerializer
Link copied to clipboard
common
object InputMessageContentSerializer : JsonContentPolymorphicSerializer<InputMessageContent>
PassportElementError
Link copied to clipboard
common
data class PassportElementError(source: PassportElementErrorSource, type: String, message: String, fieldName: String?, dataHash: String?, fileHash: String?, elementHash: String?, fileHashes: List<String>)
This object represents an error in the Telegram Passport element which was submitted that should be resolved by the user.
PassportElementErrorSource
Link copied to clipboard
common
enum PassportElementErrorSource : Enum<PassportElementErrorSource>
ReplyMarkupSerializer
Link copied to clipboard
common
object ReplyMarkupSerializer : JsonContentPolymorphicSerializer<ReplyMarkup>
TelegramBotApiClient
Link copied to clipboard
common
class TelegramBotApiClient
TelegramResponse
Link copied to clipboard
common
data class TelegramResponse<T>(result: T, ok: Boolean, description: String?, errorCode: Int?, parameters: ResponseParameters?)

Functions

appendFile
Link copied to clipboard
common
fun FormBuilder.appendFile(key: String, fileName: String, data: ByteArray)
buildMultiPartFormData
Link copied to clipboard
common
fun buildMultiPartFormData(function: FormBuilder.() -> Unit): MultiPartFormDataContent