| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Telegram.Bot.Simple.RunTG
RunTG
class RunTG a b | a -> b where Source #
The most preferrable way to run telegram requests.
E.g. instead of invoking liftClientM $ methodName MethodNameRequest {..}, you just need to specify runTG $ defMethodName params. See examples for more details.
Instances
| RunTG CloseForumTopicRequest (Response Bool) Source # | Wrapper around |
| RunTG CloseGeneralForumTopicRequest (Response Bool) Source # | Wrapper around |
| RunTG CreateForumTopicRequest (Response ForumTopic) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG DeleteForumTopicRequest (Response Bool) Source # | Wrapper around |
| RunTG EditForumTopicRequest (Response Bool) Source # | Wrapper around |
| RunTG EditGeneralForumTopicRequest (Response Bool) Source # | Wrapper around |
| RunTG HideGeneralForumTopicRequest (Response Bool) Source # | Wrapper around |
| RunTG ReopenForumTopicRequest (Response Bool) Source # | Wrapper around |
| RunTG ReopenGeneralForumTopicRequest (Response Bool) Source # | Wrapper around |
| RunTG UnhideGeneralForumTopicRequest (Response Bool) Source # | Wrapper around |
| RunTG UnpinAllForumTopicMessagesRequest (Response Bool) Source # | Wrapper around |
| RunTG SendGameRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SetGameScoreRequest (Response SetGameScoreResult) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG GetUpdatesRequest (Response [Update]) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG AnswerInlineQueryRequest (Response Bool) Source # | Wrapper around |
| RunTG AnswerCallbackQueryRequest (Response Bool) Source # | Wrapper around |
| RunTG BanChatMemberRequest (Response Bool) Source # | Wrapper around |
| RunTG CopyMessageRequest (Response CopyMessageId) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG CreateChatInviteLinkRequest (Response ChatInviteLink) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG DeleteMyCommandsRequest (Response Bool) Source # | Wrapper around |
| RunTG EditChatInviteLinkRequest (Response ChatInviteLink) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG EditMessageLiveLocationRequest (Response (Either Bool Message)) Source # | Wrapper around |
| RunTG ForwardMessageRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG GetChatMenuButtonRequest (Response MenuButton) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG GetMyCommandsRequest (Response [BotCommand]) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG GetMyDefaultAdministratorRightsRequest (Response ChatAdministratorRights) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG GetUserProfilePhotosRequest (Response UserProfilePhotos) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG PinChatMessageRequest (Response Bool) Source # | Wrapper around |
| RunTG PromoteChatMemberRequest (Response Bool) Source # | Wrapper around |
| RunTG RestrictChatMemberRequest (Response Bool) Source # | Wrapper around |
| RunTG SendAnimationRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendAudioRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendContactRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendDiceRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendDocumentRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendLocationRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendMediaGroupRequest (Response [Message]) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendMessageRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendPhotoRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendPollRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendVenueRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendVideoRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendVideoNoteRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SendVoiceRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SetChatAdministratorCustomTitleRequest (Response Bool) Source # | Wrapper around |
| RunTG SetChatMenuButtonRequest (Response Bool) Source # | Wrapper around |
| RunTG SetChatPermissionsRequest (Response Bool) Source # | Wrapper around |
| RunTG SetChatPhotoRequest (Response Bool) Source # | Wrapper around |
| RunTG SetMyCommandsRequest (Response Bool) Source # | Wrapper around |
| RunTG SetMyDefaultAdministratorRightsRequest (Response Bool) Source # | Wrapper around |
| RunTG StopMessageLiveLocationRequest (Response (Either Bool Message)) Source # | Wrapper around |
| RunTG UnbanChatMemberRequest (Response Bool) Source # | Wrapper around |
| RunTG AnswerPreCheckoutQueryRequest (Response Bool) Source # | Wrapper around |
| RunTG AnswerShippingQueryRequest (Response Bool) Source # | Wrapper around |
| RunTG CreateInvoiceLinkRequest (Response Text) Source # | Wrapper around |
| RunTG SendInvoiceRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG AddStickerToSetRequest (Response Bool) Source # | Wrapper around |
| RunTG CreateNewStickerSetRequest (Response Bool) Source # | Wrapper around |
| RunTG SendStickerRequest (Response Message) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG SetStickerSetThumbRequest (Response Bool) Source # | Wrapper around |
| RunTG UploadStickerFileRequest (Response File) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG EditMessageCaptionRequest (Response EditMessageResponse) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG EditMessageMediaRequest (Response EditMessageResponse) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG EditMessageReplyMarkupRequest (Response EditMessageResponse) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG EditMessageTextRequest (Response EditMessageResponse) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG StopPollRequest (Response Poll) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG AnswerWebAppQueryRequest (Response SentWebAppMessage) Source # | Wrapper around |
Defined in Telegram.Bot.Simple.RunTG | |
| RunTG (ClientM (Response a)) (Response a) Source # | A servant client associated with a response type. Alias for |
Defined in Telegram.Bot.Simple.RunTG | |