docs / com.github.insanusmokrassar.TelegramBotAPI.requests.abstracts / SimpleRequest

SimpleRequest

(common) interface SimpleRequest<T : Any> : Request<T>

Properties

(common)

requestSerializer

abstract val requestSerializer: SerializationStrategy<*>

Inheritors

(common)

AnswerCallbackQuery

data class AnswerCallbackQuery : SimpleRequest<Boolean>
(common)

AnswerInlineQuery

data class AnswerInlineQuery : SimpleRequest<Boolean>
(common)

AnswerPreCheckoutQuery

interface AnswerPreCheckoutQuery : SimpleRequest<Boolean>
(common)

AnswerShippingQuery

interface AnswerShippingQuery : SimpleRequest<Boolean>
(common)

ChatMemberRequest

interface ChatMemberRequest<T : Any> : ChatRequest, SimpleRequest<T>
(common)

DataRequest

interface DataRequest<T : Any> : SimpleRequest<T>
(common)

DeleteChatPhoto

data class DeleteChatPhoto : ChatRequest, SimpleRequest<Boolean>
(common)

DeleteChatStickerSet

data class DeleteChatStickerSet : ChatRequest, SimpleRequest<Boolean>
(common)

DeleteMessage

data class DeleteMessage : SimpleRequest<Boolean>, MessageAction
(common)

DeleteStickerFromSet

data class DeleteStickerFromSet : SimpleRequest<Boolean>
(common)

DeleteWebhook

class DeleteWebhook : SimpleRequest<Boolean>
(common)

EditChatMessage

interface EditChatMessage<MT : MessageContent> : SimpleRequest<ContentMessage<MT>>, MessageAction
(common)

EditInlineMessage

interface EditInlineMessage : SimpleRequest<Boolean>
(common)

ExportChatInviteLink

data class ExportChatInviteLink : ChatRequest, SimpleRequest<String>
(common)

ForwardMessage

data class ForwardMessage : SimpleRequest<PossiblyForwardedMessage>, MessageAction
(common)

GetChat

data class GetChat : ChatRequest, SimpleRequest<ExtendedChat>
(common)

GetChatAdministrators

data class GetChatAdministrators : ChatRequest, SimpleRequest<List<AdministratorChatMember>>
(common)

GetChatMembersCount

data class GetChatMembersCount : ChatRequest, SimpleRequest<Int>
(common)

GetFile

data class GetFile : SimpleRequest<PathedFile>
(common)

GetGameHighScores

interface GetGameHighScores : SimpleRequest<List<GameHighScore>>
(common)

GetMe

object GetMe : SimpleRequest<ExtendedBot>
(common)

GetMyCommands

object GetMyCommands : SimpleRequest<List<BotCommand>>
(common)

GetStickerSet

data class GetStickerSet : SimpleRequest<StickerSet>
(common)

GetUpdates

Request updates from Telegram Bot API system. It is important, that the result updates WILL NOT include com.github.insanusmokrassar.TelegramBotAPI.types.update.MediaGroupUpdates.MediaGroupUpdate objects due to the fact, that it is internal abstraction and in fact any com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.MediaGroupMessage is just a common com.github.insanusmokrassar.TelegramBotAPI.types.message.abstracts.Message

data class GetUpdates : SimpleRequest<List<Update>>
(common)

GetUserProfilePhotos

data class GetUserProfilePhotos : SimpleRequest<UserProfilePhotos>
(common)

GetWebhookInfo

class GetWebhookInfo : SimpleRequest<WebhookInfo>
(common)

LeaveChat

data class LeaveChat : ChatRequest, SimpleRequest<Boolean>
(common)

PinChatMessage

data class PinChatMessage : ChatRequest, SimpleRequest<Boolean>, MessageAction, DisableNotification
(common)

SendChatMessageRequest

interface SendChatMessageRequest<T : Any> : SimpleRequest<T>, ChatRequest
(common)

SetChatDescription

data class SetChatDescription : ChatRequest, SimpleRequest<Boolean>
(common)

SetChatPermissions

data class SetChatPermissions : ChatRequest, SimpleRequest<Boolean>
(common)

SetChatStickerSet

data class SetChatStickerSet : ChatRequest, SimpleRequest<Boolean>
(common)

SetChatTitle

data class SetChatTitle : ChatRequest, SimpleRequest<Boolean>
(common)

SetGameScore

interface SetGameScore : SimpleRequest<Boolean>
(common)

SetMyCommands

class SetMyCommands : SimpleRequest<Boolean>
(common)

SetStickerPositionInSet

data class SetStickerPositionInSet : SimpleRequest<Boolean>
(common)

StickerSetAction

interface StickerSetAction : SimpleRequest<Boolean>
(common)

StopPoll

data class StopPoll : MessageAction, SimpleRequest<Poll>, ReplyMarkup
(common)

UnpinChatMessage

data class UnpinChatMessage : ChatRequest, SimpleRequest<Boolean>