-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Telegram Bot API bindings -- -- High-level bindings to the Telegram Bot API @package telegram-api @version 0.4.0.0 -- | This module contains objects which represent data of Telegram Bot API -- responses module Web.Telegram.API.Bot.Data -- | This object represents a Telegram user or bot. data User User :: Int -> Text -> Maybe Text -> Maybe Text -> User -- | Unique identifier for this user or bot [user_id] :: User -> Int -- | User‘s or bot’s first name [user_first_name] :: User -> Text -- | User‘s or bot’s last name [user_last_name] :: User -> Maybe Text -- | User‘s or bot’s username [user_username] :: User -> Maybe Text -- | This object represents a chat. data Chat Chat :: Int -> ChatType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Chat -- | Unique identifier for this chat, not exceeding 1e13 by absolute value [chat_id] :: Chat -> Int -- | Type of chat, can be either Private, Group, -- Supergroup or Channel [chat_type] :: Chat -> ChatType -- | Title, for channels and group chats [chat_title] :: Chat -> Maybe Text -- | Username, for private chats and channels if available [chat_username] :: Chat -> Maybe Text -- | First name of the other party in a private chat [chat_first_name] :: Chat -> Maybe Text -- | Last name of the other party in a private chat [chat_last_name] :: Chat -> Maybe Text -- | This object represents a message. data Message Message :: Int -> Maybe User -> Int -> Chat -> Maybe User -> Maybe Chat -> Maybe Int -> Maybe Message -> Maybe Text -> Maybe [MessageEntity] -> Maybe Audio -> Maybe Document -> Maybe [PhotoSize] -> Maybe Sticker -> Maybe Video -> Maybe Voice -> Maybe Text -> Maybe Contact -> Maybe Location -> Maybe Venue -> Maybe User -> Maybe User -> Maybe Text -> Maybe [PhotoSize] -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Bool -> Maybe Int -> Maybe Int -> Maybe Message -> Message -- | Unique message identifier [message_id] :: Message -> Int -- | Sender, can be empty for messages sent to channels [from] :: Message -> Maybe User -- | Date the message was sent in Unix time [date] :: Message -> Int -- | Conversation the message belongs to [chat] :: Message -> Chat -- | For forwarded messages, sender of the original message [forward_from] :: Message -> Maybe User -- | For messages forwarded from a channel, information about the original -- channel [forward_from_chat] :: Message -> Maybe Chat -- | For forwarded messages, date the original message was sent in Unix -- time [forward_date] :: Message -> Maybe Int -- | For replies, the original message. Note that the Message object -- in this field will not contain further reply_to_message fields -- even if it itself is a reply. [reply_to_message] :: Message -> Maybe Message -- | For text messages, the actual UTF-8 text of the message [text] :: Message -> Maybe Text -- | For text messages, special entities like usernames, URLs, bot -- commands, etc. that appear in the text [entities] :: Message -> Maybe [MessageEntity] -- | Message is an audio file, information about the file [audio] :: Message -> Maybe Audio -- | Message is a general file, information about the file [document] :: Message -> Maybe Document -- | Message is a photo, available sizes of the photo [photo] :: Message -> Maybe [PhotoSize] -- | Message is a sticker, information about the sticker [sticker] :: Message -> Maybe Sticker -- | Message is a video, information about the video [video] :: Message -> Maybe Video -- | Message is a voice message, information about the file [voice] :: Message -> Maybe Voice -- | Caption for the photo or video [caption] :: Message -> Maybe Text -- | Message is a shared contact, information about the contact [contact] :: Message -> Maybe Contact -- | Message is a shared location, information about the location [location] :: Message -> Maybe Location -- | Message is a venue, information about the venue [venue] :: Message -> Maybe Venue -- | A new member was added to the group, information about them (this -- member may be the bot itself) [new_chat_member] :: Message -> Maybe User -- | A member was removed from the group, information about them (this -- member may be the bot itself) [left_chat_member] :: Message -> Maybe User -- | A chat title was changed to this value [new_chat_title] :: Message -> Maybe Text -- | A chat photo was change to this value [new_chat_photo] :: Message -> Maybe [PhotoSize] -- | Service message: the chat photo was deleted [delete_chat_photo] :: Message -> Maybe Bool -- | Service message: the group has been created [group_chat_created] :: Message -> Maybe Bool -- | Service message: the supergroup has been created [supergroup_chat_created] :: Message -> Maybe Bool -- | Service message: the channel has been created [channel_chat_created] :: Message -> Maybe Bool -- | The group has been migrated to a supergroup with the specified -- identifier, not exceeding 1e13 by absolute value [migrate_to_chat_id] :: Message -> Maybe Int -- | The supergroup has been migrated from a group with the specified -- identifier, not exceeding 1e13 by absolute value [migrate_from_chat_id] :: Message -> Maybe Int -- | Specified message was pinned. Note that the Message object in this -- field will not contain further reply_to_message fields even if it is -- itself a reply. [pinned_message] :: Message -> Maybe Message -- | This object represents one size of a photo or a File / -- Sticker thumbnail. data PhotoSize PhotoSize :: Text -> Int -> Int -> Maybe Int -> PhotoSize -- | Unique identifier for this file [photo_file_id] :: PhotoSize -> Text -- | Photo width [photo_width] :: PhotoSize -> Int -- | Photo height [photo_height] :: PhotoSize -> Int -- | File size [photo_file_size] :: PhotoSize -> Maybe Int -- | This object represents an audio file to be treated as music by the -- Telegram clients. data Audio Audio :: Text -> Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Audio -- | Unique identifier for this file [audio_file_id] :: Audio -> Text -- | Duration of the audio in seconds as defined by sender [audio_duration] :: Audio -> Int -- | Performer of the audio as defined by sender or by audio tags [audio_performer] :: Audio -> Maybe Text -- | Title of the audio as defined by sender or by audio tags [audio_title] :: Audio -> Maybe Text -- | MIME type of the file as defined by sender [audio_mime_type] :: Audio -> Maybe Text -- | File size [audio_file_size] :: Audio -> Maybe Int -- | This object represents a general file (as opposed to PhotoSize, -- Voice messages and Audio files). data Document Document :: Text -> Maybe PhotoSize -> Maybe Text -> Maybe Text -> Maybe Int -> Document -- | Unique file identifier [doc_file_id] :: Document -> Text -- | Document thumbnail as defined by sender [doc_thumb] :: Document -> Maybe PhotoSize -- | Original filename as defined by sender [doc_file_name] :: Document -> Maybe Text -- | MIME type of the file as defined by sender [doc_mime_type] :: Document -> Maybe Text -- | File size [doc_file_size] :: Document -> Maybe Int -- | This object represents a sticker. data Sticker Sticker :: Text -> Int -> Int -> Maybe PhotoSize -> Maybe Text -> Maybe Int -> Sticker -- | Unique identifier for this file [sticker_file_id] :: Sticker -> Text -- | Sticker width [sticker_width] :: Sticker -> Int -- | Sticker height [sticker_height] :: Sticker -> Int -- | Sticker thumbnail in .webp or .jpg format [sticker_thumb] :: Sticker -> Maybe PhotoSize -- | Emoji associated with the sticker [sticker_emoji] :: Sticker -> Maybe Text -- | File size [sticker_file_size] :: Sticker -> Maybe Int -- | This object represents a video file. data Video Video :: Text -> Int -> Int -> Int -> Maybe PhotoSize -> Maybe Text -> Maybe Int -> Video -- | Unique identifier for this file [video_file_id] :: Video -> Text -- | Video width as defined by sender [video_width] :: Video -> Int -- | Video height as defined by sender [video_height] :: Video -> Int -- | Duration of the video in seconds as defined by sender [video_duration] :: Video -> Int -- | Video thumbnail [video_thumb] :: Video -> Maybe PhotoSize -- | MIME type of a file as defined by sender [video_mime_type] :: Video -> Maybe Text -- | File size [video_file_size] :: Video -> Maybe Int -- | This object represents a voice note. data Voice Voice :: Text -> Int -> Maybe Text -> Maybe Int -> Voice -- | Unique identifier for this file [voice_file_id] :: Voice -> Text -- | Duration of the audio in seconds as defined by sender [voice_duration] :: Voice -> Int -- | MIME type of the file as defined by sender [voice_mime_type] :: Voice -> Maybe Text -- | File size [voice_file_size] :: Voice -> Maybe Int -- | This object represents a phone contact. data Contact Contact :: Text -> Text -> Maybe Text -> Maybe Int -> Contact -- | Contact's phone number [contact_phone_number] :: Contact -> Text -- | Contact's first name [contact_first_name] :: Contact -> Text -- | Contact's last name [contact_last_name] :: Contact -> Maybe Text -- | Contact's user identifier in Telegram [contact_user_id] :: Contact -> Maybe Int -- | This object represents a point on the map. data Location Location :: Float -> Float -> Location -- | Longitude as defined by sender [longitude] :: Location -> Float -- | Latitude as defined by sender [latitude] :: Location -> Float -- | This object represents an incoming update. Only one of the optional -- parameters can be present in any given update. data Update Update :: Int -> Maybe Message -> Maybe InlineQuery -> Maybe ChosenInlineResult -> Maybe CallbackQuery -> Update -- | The update's unique identifier. Update identifiers start from a -- certain positive number and increase sequentially. This ID becomes -- especially handy if you’re using setWebhooks, since it allows -- you to ignore repeated updates or to restore the correct update -- sequence, should they get out of order. [update_id] :: Update -> Int -- | New incoming message of any kind — text, photo, sticker, etc. [message] :: Update -> Maybe Message -- | New incoming inline query [inline_query] :: Update -> Maybe InlineQuery -- | The result of a inline query that was chosen by a user and sent to -- their chat partner [chosen_inline_result] :: Update -> Maybe ChosenInlineResult -- | This object represents an incoming callback query from a callback -- button in an inline keyboard. If the button that originated the query -- was attached to a message sent by the bot, the field message will be -- presented. If the button was attached to a message sent via the bot -- (in inline mode), the field inline_message_id will be presented. [callback_query] :: Update -> Maybe CallbackQuery -- | This object represents a file ready to be downloaded. The file can be -- downloaded via the link -- https://api.telegram.org/file/bot<token>/<file_path>. -- It is guaranteed that the link will be valid for at least 1 hour. When -- the link expires, a new one can be requested by calling -- getFile. -- -- Maximum file size to download is 20 MB data File File :: Text -> Maybe Int -> Maybe Text -> File -- | Unique identifier for this file [file_id] :: File -> Text -- | File size, if known [file_size] :: File -> Maybe Int -- | File path. Use -- https://api.telegram.org/file/bot<token>/<file_path> -- to get the file. [file_path] :: File -> Maybe Text -- | This object represent a user's profile pictures. data UserProfilePhotos UserProfilePhotos :: Int -> [[PhotoSize]] -> UserProfilePhotos -- | Total number of profile pictures the target user has [total_count] :: UserProfilePhotos -> Int -- | Requested profile pictures (in up to 4 sizes each) [photos] :: UserProfilePhotos -> [[PhotoSize]] -- | This object represents an incoming inline query. When the user sends -- an empty query, your bot could return some default or trending -- results. data InlineQuery InlineQuery :: Text -> User -> Maybe Location -> Text -> Text -> InlineQuery -- | Unique identifier for this query [query_id] :: InlineQuery -> Text -- | Sender [query_from] :: InlineQuery -> User -- | Sender location, only for bots that request user location [query_location] :: InlineQuery -> Maybe Location -- | Text of the query [query_query] :: InlineQuery -> Text -- | Offset of the results to be returned, can be controlled by the bot [query_offset] :: InlineQuery -> Text -- | This object represents a result of an inline query that was chosen by -- the user and sent to their chat partner. data ChosenInlineResult ChosenInlineResult :: Text -> User -> Maybe Location -> Maybe Text -> Text -> ChosenInlineResult -- | The unique identifier for the result that was chosen [chosen_result_id] :: ChosenInlineResult -> Text -- | The user that chose the result [chosen_from] :: ChosenInlineResult -> User -- | Sender location, only for bots that require user location [chosen_location] :: ChosenInlineResult -> Maybe Location -- | Identifier of the sent inline message. Available only if there is an -- inline keyboard attached to the message. Will be also received in -- callback queries and can be used to edit the message. [chosen_inline_message_id] :: ChosenInlineResult -> Maybe Text -- | The query that was used to obtain the result [chosen_query] :: ChosenInlineResult -> Text data InlineQueryResult -- | Represents a link to an article or web page. InlineQueryResultArticle :: Text -> Maybe Text -> Maybe InputMessageContent -> Maybe InlineKeyboardMarkup -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | URL of the result [iq_res_url] :: InlineQueryResult -> Maybe Text -- | Pass True, if you don't want the URL to be shown in the message [iq_res_hide_url] :: InlineQueryResult -> Maybe Bool -- | Short description of the result [iq_res_description] :: InlineQueryResult -> Maybe Text -- | Url of the thumbnail for the result [iq_res_thumb_url] :: InlineQueryResult -> Maybe Text -- | Thumbnail width [iq_res_thumb_width] :: InlineQueryResult -> Maybe Int -- | Thumbnail height [iq_res_thumb_height] :: InlineQueryResult -> Maybe Int -- | Represents a link to a photo. By default, this photo will be sent by -- the user with optional caption. Alternatively, you can use -- input_message_content to send a message with the specified content -- instead of the photo. InlineQueryResultPhoto :: Text -> Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid URL of the photo. Photo must be in jpeg format. Photo size -- must not exceed 5MB [iq_res_photo_url] :: InlineQueryResult -> Text -- | Url of the thumbnail for the result [iq_res_thumb_url] :: InlineQueryResult -> Maybe Text -- | Optional. Width of the photo [iq_res_photo_width] :: InlineQueryResult -> Maybe Int -- | Optional. Height of the photo [iq_res_photo_height] :: InlineQueryResult -> Maybe Int -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Short description of the result [iq_res_description] :: InlineQueryResult -> Maybe Text -- | Caption of the photo to be sent, 0-200 characters [iq_res_caption] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents a link to an animated GIF file. By default, this animated -- GIF file will be sent by the user with optional caption. -- Alternatively, you can provide message_text to send it instead of the -- animation. InlineQueryResultGif :: Text -> Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid URL for the GIF file. File size must not exceed 1MB [iq_res_gif_url] :: InlineQueryResult -> Text -- | Width of the GIF [iq_res_gif_width] :: InlineQueryResult -> Maybe Int -- | Height of the GIF [iq_res_gif_height] :: InlineQueryResult -> Maybe Int -- | Url of the thumbnail for the result [iq_res_thumb_url] :: InlineQueryResult -> Maybe Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Caption of the photo to be sent, 0-200 characters [iq_res_caption] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents a link to a video animation (H.264/MPEG-4 AVC video without -- sound). By default, this animated MPEG-4 file will be sent by the user -- with optional caption. Alternatively, you can provide message_text to -- send it instead of the animation. InlineQueryResultMpeg4Gif :: Text -> Text -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid URL for the MP4 file. File size must not exceed 1MB [iq_res_mpeg4_url] :: InlineQueryResult -> Text -- | Video width [iq_res_mpeg4_width] :: InlineQueryResult -> Maybe Int -- | Video height [iq_res_mpeg4_height] :: InlineQueryResult -> Maybe Int -- | Url of the thumbnail for the result [iq_res_thumb_url] :: InlineQueryResult -> Maybe Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Caption of the photo to be sent, 0-200 characters [iq_res_caption] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents link to a page containing an embedded video player or a -- video file. InlineQueryResultVideo :: Text -> Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid URL for the embedded video player or video file [iq_res_video_url] :: InlineQueryResult -> Text -- | Mime type of the content of video url, “texthtml” or “videomp4” [iq_res_mime_type] :: InlineQueryResult -> Text -- | Url of the thumbnail for the result [iq_res_thumb_url] :: InlineQueryResult -> Maybe Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Caption of the photo to be sent, 0-200 characters [iq_res_caption] :: InlineQueryResult -> Maybe Text -- | Video width [iq_res_video_width] :: InlineQueryResult -> Maybe Int -- | Video height [iq_res_video_height] :: InlineQueryResult -> Maybe Int -- | Video duration in seconds [iq_res_video_duration] :: InlineQueryResult -> Maybe Int -- | Short description of the result [iq_res_description] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents a link to an mp3 audio file. By default, this audio file -- will be sent by the user. Alternatively, you can use -- input_message_content to send a message with the specified content -- instead of the audio. InlineQueryResultAudio :: Text -> Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid URL for the audio file [iq_res_audio_url] :: InlineQueryResult -> Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Performer [iq_res_performer] :: InlineQueryResult -> Maybe Text -- | Audio duration in seconds [iq_res_audio_duration] :: InlineQueryResult -> Maybe Int -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents a link to a voice recording in an .ogg container encoded -- with OPUS. By default, this voice recording will be sent by the user. -- Alternatively, you can use input_message_content to send a message -- with the specified content instead of the the voice message. InlineQueryResultVoice :: Text -> Text -> Maybe Text -> Maybe Int -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid URL for the voice recording [iq_res_voice_url] :: InlineQueryResult -> Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Recording duration in seconds [iq_res_voice_duration] :: InlineQueryResult -> Maybe Int -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents a link to a file. By default, this file will be sent by the -- user with an optional caption. Alternatively, you can use -- input_message_content to send a message with the specified content -- instead of the file. Currently, only .PDF and .ZIP files can be sent -- using this method. InlineQueryResultDocument :: Text -> Maybe Text -> Maybe Text -> Text -> Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> Maybe Text -> Maybe Int -> Maybe Int -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Caption of the photo to be sent, 0-200 characters [iq_res_caption] :: InlineQueryResult -> Maybe Text -- | A valid URL for the file [iq_res_document_url] :: InlineQueryResult -> Text -- | Mime type of the content of video url, “texthtml” or “videomp4” [iq_res_mime_type] :: InlineQueryResult -> Text -- | Short description of the result [iq_res_description] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Url of the thumbnail for the result [iq_res_thumb_url] :: InlineQueryResult -> Maybe Text -- | Thumbnail width [iq_res_thumb_width] :: InlineQueryResult -> Maybe Int -- | Thumbnail height [iq_res_thumb_height] :: InlineQueryResult -> Maybe Int -- | Represents a location on a map. By default, the location will be sent -- by the user. Alternatively, you can use input_message_content to send -- a message with the specified content instead of the location. InlineQueryResultLocation :: Text -> Float -> Float -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> Maybe Text -> Maybe Int -> Maybe Int -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | Location latitude in degrees [iq_res_latitude] :: InlineQueryResult -> Float -- | Location longitude in degrees [iq_res_longitude] :: InlineQueryResult -> Float -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Url of the thumbnail for the result [iq_res_thumb_url] :: InlineQueryResult -> Maybe Text -- | Thumbnail width [iq_res_thumb_width] :: InlineQueryResult -> Maybe Int -- | Thumbnail height [iq_res_thumb_height] :: InlineQueryResult -> Maybe Int -- | Represents a venue. By default, the venue will be sent by the user. -- Alternatively, you can use input_message_content to send a message -- with the specified content instead of the venue. InlineQueryResultVenue :: Text -> Float -> Float -> Maybe Text -> Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> Maybe Text -> Maybe Int -> Maybe Int -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | Location latitude in degrees [iq_res_latitude] :: InlineQueryResult -> Float -- | Location longitude in degrees [iq_res_longitude] :: InlineQueryResult -> Float -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Address of the venue [iq_res_address] :: InlineQueryResult -> Text -- | Foursquare identifier of the venue if known [iq_res_foursquare_id] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Url of the thumbnail for the result [iq_res_thumb_url] :: InlineQueryResult -> Maybe Text -- | Thumbnail width [iq_res_thumb_width] :: InlineQueryResult -> Maybe Int -- | Thumbnail height [iq_res_thumb_height] :: InlineQueryResult -> Maybe Int -- | Represents a link to a photo stored on the Telegram servers. By -- default, this photo will be sent by the user with an optional caption. -- Alternatively, you can use input_message_content to send a message -- with the specified content instead of the photo. InlineQueryResultContact :: Text -> Text -> Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> Maybe Text -> Maybe Int -> Maybe Int -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | Contact's phone number [iq_res_phone_number] :: InlineQueryResult -> Text -- | Contact's first name [iq_res_first_name] :: InlineQueryResult -> Text -- | Contact's last name [iq_res_last_name] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Url of the thumbnail for the result [iq_res_thumb_url] :: InlineQueryResult -> Maybe Text -- | Thumbnail width [iq_res_thumb_width] :: InlineQueryResult -> Maybe Int -- | Thumbnail height [iq_res_thumb_height] :: InlineQueryResult -> Maybe Int -- | Represents a link to a photo stored on the Telegram servers. By -- default, this photo will be sent by the user with an optional caption. -- Alternatively, you can use input_message_content to send a message -- with the specified content instead of the photo. InlineQueryResultCachedPhoto :: Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid file identifier of the photo [iq_res_photo_file_id] :: InlineQueryResult -> Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Short description of the result [iq_res_description] :: InlineQueryResult -> Maybe Text -- | Caption of the photo to be sent, 0-200 characters [iq_res_caption] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents a link to an animated GIF file stored on the Telegram -- servers. By default, this animated GIF file will be sent by the user -- with an optional caption. Alternatively, you can use -- input_message_content to send a message with specified content instead -- of the animation. InlineQueryResultCachedGif :: Text -> Text -> Maybe Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid file identifier for the GIF file [iq_res_gif_file_id] :: InlineQueryResult -> Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Caption of the photo to be sent, 0-200 characters [iq_res_caption] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents a link to a video animation (H.264/MPEG-4 AVC video without -- sound) stored on the Telegram servers. By default, this animated -- MPEG-4 file will be sent by the user with an optional caption. -- Alternatively, you can use input_message_content to send a message -- with the specified content instead of the animation. InlineQueryResultCachedMpeg4Gif :: Text -> Text -> Maybe Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid file identifier for the MP4 file [iq_res_mpeg4_file_id] :: InlineQueryResult -> Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Caption of the photo to be sent, 0-200 characters [iq_res_caption] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents a link to a sticker stored on the Telegram servers. By -- default, this sticker will be sent by the user. Alternatively, you can -- use input_message_content to send a message with the specified content -- instead of the sticker. InlineQueryResultCachedSticker :: Text -> Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid file identifier of the sticker [iq_res_sticker_file_id] :: InlineQueryResult -> Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents a link to a file stored on the Telegram servers. By -- default, this file will be sent by the user with an optional caption. -- Alternatively, you can use input_message_content to send a message -- with the specified content instead of the file. Currently, only -- pdf-files and zip archives can be sent using this method. InlineQueryResultCachedDocument :: Text -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | A valid file identifier for the file [iq_res_document_file_id] :: InlineQueryResult -> Text -- | Short description of the result [iq_res_description] :: InlineQueryResult -> Maybe Text -- | Caption of the photo to be sent, 0-200 characters [iq_res_caption] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents a link to a video file stored on the Telegram servers. By -- default, this video file will be sent by the user with an optional -- caption. Alternatively, you can use input_message_content to send a -- message with the specified content instead of the video. InlineQueryResultCachedVideo :: Text -> Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid file identifier for the video file [iq_res_video_file_id] :: InlineQueryResult -> Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Short description of the result [iq_res_description] :: InlineQueryResult -> Maybe Text -- | Caption of the photo to be sent, 0-200 characters [iq_res_caption] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents a link to a voice message stored on the Telegram servers. -- By default, this voice message will be sent by the user. -- Alternatively, you can use input_message_content to send a message -- with the specified content instead of the voice message. InlineQueryResultCachedVoice :: Text -> Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid file identifier for the voice message [iq_res_voice_file_id] :: InlineQueryResult -> Text -- | Title of the result [iq_res_title] :: InlineQueryResult -> Maybe Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent -- | Represents a link to an mp3 audio file stored on the Telegram servers. -- By default, this audio file will be sent by the user. Alternatively, -- you can use input_message_content to send a message with the specified -- content instead of the audio. InlineQueryResultCachedAudio :: Text -> Text -> Maybe InlineKeyboardMarkup -> Maybe InputMessageContent -> InlineQueryResult -- | Unique identifier for this result, 1-64 Bytes [iq_res_id] :: InlineQueryResult -> Text -- | A valid file identifier for the audio file [iq_res_audio_file_id] :: InlineQueryResult -> Text -- | Inline keyboard attached to the message [iq_res_reply_markup] :: InlineQueryResult -> Maybe InlineKeyboardMarkup -- | Content of the message to be sent [iq_res_input_message_content] :: InlineQueryResult -> Maybe InputMessageContent data InlineKeyboardMarkup InlineKeyboardMarkup :: [[InlineKeyboardButton]] -> InlineKeyboardMarkup [inline_keyboard] :: InlineKeyboardMarkup -> [[InlineKeyboardButton]] data InlineKeyboardButton InlineKeyboardButton :: Text -> Maybe Text -> Maybe Text -> Maybe Text -> InlineKeyboardButton [ikb_text] :: InlineKeyboardButton -> Text [ikb_url] :: InlineKeyboardButton -> Maybe Text [ikb_callback_data] :: InlineKeyboardButton -> Maybe Text [ikb_switch_inline_query] :: InlineKeyboardButton -> Maybe Text data CallbackQuery CallbackQuery :: Text -> User -> Maybe Message -> Maybe Text -> Maybe Text -> CallbackQuery [cq_id] :: CallbackQuery -> Text [cq_from] :: CallbackQuery -> User [cq_message] :: CallbackQuery -> Maybe Message [cq_inline_message_id] :: CallbackQuery -> Maybe Text [cq_data] :: CallbackQuery -> Maybe Text -- | Type of chat. data ChatType Private :: ChatType Group :: ChatType Supergroup :: ChatType Channel :: ChatType -- | Parse mode for text message data ParseMode Markdown :: ParseMode HTML :: ParseMode -- | This object represents the content of a message to be sent as a result -- of an inline query. data InputMessageContent -- | Represents the content of a text message to be sent as the result of -- an inline query. InputTextMessageContent :: Text -> Maybe ParseMode -> Maybe Bool -> InputMessageContent -- | Text of the message to be sent, 1-4096 characters [imc_message_text] :: InputMessageContent -> Text -- | Send Markdown or HTML, if you want Telegram apps to show -- bold, italic, fixed-width text or inline URLs in your bot's message. [imc_parse_mode] :: InputMessageContent -> Maybe ParseMode -- | Disables link previews for links in the sent message [imc_disable_web_page_preview] :: InputMessageContent -> Maybe Bool -- | Represents the content of a location message to be sent as the result -- of an inline query. InputLocationMessageContent :: Float -> Float -> InputMessageContent -- | Latitude of the location in degrees [imc_latitude] :: InputMessageContent -> Float -- | Longitude of the location in degrees [imc_longitude] :: InputMessageContent -> Float -- | Represents the content of a venue message to be sent as the result of -- an inline query. InputVenueMessageContent :: Float -> Float -> Text -> Text -> Maybe Text -> InputMessageContent -- | Latitude of the location in degrees [imc_latitude] :: InputMessageContent -> Float -- | Longitude of the location in degrees [imc_longitude] :: InputMessageContent -> Float -- | Name of the venue [imc_title] :: InputMessageContent -> Text -- | Address of the venue [imc_address] :: InputMessageContent -> Text -- | Foursquare identifier of the venue, if known [imc_foursquare_id] :: InputMessageContent -> Maybe Text -- | Represents the content of a contact message to be sent as the result -- of an inline query. InputContactMessageContent :: Text -> Text -> Maybe Text -> InputMessageContent -- | Contact's phone number [imc_phone_number] :: InputMessageContent -> Text -- | Contact's first name [imc_first_name] :: InputMessageContent -> Text -- | Contact's last name [imc_last_name] :: InputMessageContent -> Maybe Text data KeyboardButton KeyboardButton :: Text -> Maybe Bool -> Maybe Bool -> KeyboardButton -- | Text of the button. If none of the optional fields are used, it will -- be sent to the bot as a message when the button is pressed [kb_text] :: KeyboardButton -> Text -- | If True, the user's phone number will be sent as a contact when the -- button is pressed. Available in private chats only [kb_request_contact] :: KeyboardButton -> Maybe Bool -- | If True, the user's current location will be sent when the button is -- pressed. Available in private chats only [kb_request_location] :: KeyboardButton -> Maybe Bool inlineKeyboardButton :: Text -> InlineKeyboardButton keyboardButton :: Text -> KeyboardButton inlineQueryResultArticle :: Text -> Text -> InputMessageContent -> InlineQueryResult inlineQueryResultAudio :: Text -> Text -> Text -> InlineQueryResult inlineQueryResultContact :: Text -> Text -> Text -> InlineQueryResult inlineQueryResultDocument :: Text -> Text -> Text -> Text -> InlineQueryResult inlineQueryResultGif :: Text -> Text -> Text -> InlineQueryResult inlineQueryResultLocation :: Text -> Float -> Float -> Text -> InlineQueryResult inlineQueryResultMpeg4Gif :: Text -> Text -> Text -> InlineQueryResult inlineQueryResultPhoto :: Text -> Text -> Text -> InlineQueryResult inlineQueryResultVenue :: Text -> Float -> Float -> Text -> Text -> InlineQueryResult inlineQueryResultVideo :: Text -> Text -> Text -> Text -> Text -> InlineQueryResult inlineQueryResultVoice :: Text -> Text -> Text -> InlineQueryResult inlineQueryResultCachedAudio :: Text -> Text -> InlineQueryResult inlineQueryResultCachedDocument :: Text -> Text -> Text -> InlineQueryResult inlineQueryResultCachedGif :: Text -> Text -> InlineQueryResult inlineQueryResultCachedMpeg4Gif :: Text -> Text -> InlineQueryResult inlineQueryResultCachedPhoto :: Text -> Text -> InlineQueryResult inlineQueryResultCachedSticker :: Text -> Text -> InlineQueryResult inlineQueryResultCachedVideo :: Text -> Text -> Text -> InlineQueryResult inlineQueryResultCachedVoice :: Text -> Text -> Text -> InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2KeyboardButton instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1KeyboardButton instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0KeyboardButton instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0KeyboardButton instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1KeyboardButton instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_4Update instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3Update instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2Update instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1Update instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0Update instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0Update instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1Update instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_4CallbackQuery instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3CallbackQuery instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2CallbackQuery instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1CallbackQuery instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0CallbackQuery instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0CallbackQuery instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1CallbackQuery instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_30Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_29Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_28Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_27Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_26Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_25Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_24Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_23Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_22Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_21Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_20Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_19Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_18Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_17Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_16Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_15Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_14Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_13Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_12Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_11Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_10Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_9Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_8Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_7Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_6Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_5Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_4Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0Message instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0Message instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1Message instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3Venue instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2Venue instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1Venue instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0Venue instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0Venue instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1Venue instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3MessageEntity instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2MessageEntity instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1MessageEntity instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0MessageEntity instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0MessageEntity instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1MessageEntity instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1UserProfilePhotos instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0UserProfilePhotos instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0UserProfilePhotos instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1UserProfilePhotos instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2File instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1File instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0File instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0File instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1File instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_4InlineQuery instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3InlineQuery instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2InlineQuery instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1InlineQuery instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0InlineQuery instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0InlineQuery instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1InlineQuery instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_4ChosenInlineResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3ChosenInlineResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2ChosenInlineResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1ChosenInlineResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0ChosenInlineResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0ChosenInlineResult instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1ChosenInlineResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1Location instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0Location instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0Location instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1Location instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_18_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_18_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_18_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_18_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_17_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_17_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_17_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_17_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_17_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_16_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_16_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_16_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_16_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_16_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_16_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_16_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_15_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_15_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_15_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_15_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_15_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_15_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_15_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_14_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_14_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_14_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_14_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_13_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_13_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_13_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_13_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_13_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_13_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_12_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_12_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_12_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_12_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_12_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_12_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_11_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_11_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_11_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_11_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_11_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_11_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_11_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_10_8InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_10_7InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_10_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_10_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_10_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_10_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_10_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_10_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_10_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_9_10InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_9_9InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_9_8InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_9_7InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_9_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_9_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_9_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_9_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_9_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_9_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_9_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_8_8InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_8_7InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_8_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_8_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_8_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_8_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_8_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_8_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_8_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_7_10InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_7_9InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_7_8InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_7_7InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_7_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_7_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_7_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_7_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_7_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_7_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_7_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_6_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_6_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_6_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_6_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_6_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_6_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_5_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_5_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_5_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_5_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_5_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_5_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_5_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_4_11InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_4_10InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_4_9InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_4_8InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_4_7InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_4_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_4_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_4_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_4_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_4_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_4_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_4_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_3_8InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_3_7InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_3_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_3_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_3_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_3_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_3_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_3_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_3_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_8InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_7InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_1_9InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_1_8InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_1_7InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_1_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_1_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_1_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_1_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_1_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_1_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_1_0InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_9InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_8InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_7InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_6InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_5InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_4InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_18InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_17InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_16InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_15InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_14InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_13InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_12InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_11InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_10InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_9InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_8InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_7InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_6InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_5InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_4InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_3InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_2InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_1InlineQueryResult instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0InlineQueryResult instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1InlineQueryResult instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0InlineKeyboardMarkup instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0InlineKeyboardMarkup instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1InlineKeyboardMarkup instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3InlineKeyboardButton instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2InlineKeyboardButton instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1InlineKeyboardButton instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0InlineKeyboardButton instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0InlineKeyboardButton instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1InlineKeyboardButton instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_3_2InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_3_1InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_3_0InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_4InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_3InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_2InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_1InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_2_0InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_1_1InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_1_0InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0InputMessageContent instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_3InputMessageContent instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_2InputMessageContent instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_1InputMessageContent instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0InputMessageContent instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1InputMessageContent instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3Voice instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2Voice instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1Voice instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0Voice instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0Voice instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1Voice instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_6Video instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_5Video instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_4Video instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3Video instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2Video instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1Video instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0Video instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0Video instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1Video instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_5Sticker instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_4Sticker instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3Sticker instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2Sticker instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1Sticker instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0Sticker instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0Sticker instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1Sticker instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_4Document instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3Document instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2Document instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1Document instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0Document instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0Document instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1Document instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_5Audio instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_4Audio instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3Audio instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2Audio instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1Audio instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0Audio instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0Audio instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1Audio instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3PhotoSize instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2PhotoSize instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1PhotoSize instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0PhotoSize instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0PhotoSize instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1PhotoSize instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_1ParseMode instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0ParseMode instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1ParseMode instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_5Chat instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_4Chat instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3Chat instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2Chat instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1Chat instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0Chat instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0Chat instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1Chat instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_3ChatType instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_2ChatType instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_1ChatType instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0ChatType instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1ChatType instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3Contact instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2Contact instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1Contact instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0Contact instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0Contact instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1Contact instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_3User instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_2User instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_1User instance GHC.Generics.Selector Web.Telegram.API.Bot.Data.S1_0_0User instance GHC.Generics.Constructor Web.Telegram.API.Bot.Data.C1_0User instance GHC.Generics.Datatype Web.Telegram.API.Bot.Data.D1User instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.KeyboardButton instance GHC.Show.Show Web.Telegram.API.Bot.Data.KeyboardButton instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.Update instance GHC.Show.Show Web.Telegram.API.Bot.Data.Update instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.Update instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.Update instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.CallbackQuery instance GHC.Show.Show Web.Telegram.API.Bot.Data.CallbackQuery instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.Message instance GHC.Show.Show Web.Telegram.API.Bot.Data.Message instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.Message instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.Message instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.Venue instance GHC.Show.Show Web.Telegram.API.Bot.Data.Venue instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.MessageEntity instance GHC.Show.Show Web.Telegram.API.Bot.Data.MessageEntity instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.UserProfilePhotos instance GHC.Show.Show Web.Telegram.API.Bot.Data.UserProfilePhotos instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.UserProfilePhotos instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.UserProfilePhotos instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.File instance GHC.Show.Show Web.Telegram.API.Bot.Data.File instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.File instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.File instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.InlineQuery instance GHC.Show.Show Web.Telegram.API.Bot.Data.InlineQuery instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.ChosenInlineResult instance GHC.Show.Show Web.Telegram.API.Bot.Data.ChosenInlineResult instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.Location instance GHC.Show.Show Web.Telegram.API.Bot.Data.Location instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.Location instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.Location instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.InlineQueryResult instance GHC.Show.Show Web.Telegram.API.Bot.Data.InlineQueryResult instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.InlineKeyboardMarkup instance GHC.Show.Show Web.Telegram.API.Bot.Data.InlineKeyboardMarkup instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.InlineKeyboardMarkup instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.InlineKeyboardMarkup instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.InlineKeyboardButton instance GHC.Show.Show Web.Telegram.API.Bot.Data.InlineKeyboardButton instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.InputMessageContent instance GHC.Show.Show Web.Telegram.API.Bot.Data.InputMessageContent instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.Voice instance GHC.Show.Show Web.Telegram.API.Bot.Data.Voice instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.Video instance GHC.Show.Show Web.Telegram.API.Bot.Data.Video instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.Sticker instance GHC.Show.Show Web.Telegram.API.Bot.Data.Sticker instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.Document instance GHC.Show.Show Web.Telegram.API.Bot.Data.Document instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.Audio instance GHC.Show.Show Web.Telegram.API.Bot.Data.Audio instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.PhotoSize instance GHC.Show.Show Web.Telegram.API.Bot.Data.PhotoSize instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.ParseMode instance GHC.Show.Show Web.Telegram.API.Bot.Data.ParseMode instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.Chat instance GHC.Show.Show Web.Telegram.API.Bot.Data.Chat instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.ChatType instance GHC.Show.Show Web.Telegram.API.Bot.Data.ChatType instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.Contact instance GHC.Show.Show Web.Telegram.API.Bot.Data.Contact instance GHC.Generics.Generic Web.Telegram.API.Bot.Data.User instance GHC.Show.Show Web.Telegram.API.Bot.Data.User instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.User instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.User instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.Contact instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.Contact instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.Chat instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.Chat instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.ChatType instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.ChatType instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.ParseMode instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.ParseMode instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.PhotoSize instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.PhotoSize instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.Audio instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.Audio instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.Document instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.Document instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.Sticker instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.Sticker instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.Video instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.Video instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.Voice instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.Voice instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.InlineQuery instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.InlineQuery instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.ChosenInlineResult instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.ChosenInlineResult instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.InputMessageContent instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.InputMessageContent instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.InlineQueryResult instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.InlineQueryResult instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.InlineKeyboardButton instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.InlineKeyboardButton instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.CallbackQuery instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.CallbackQuery instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.MessageEntity instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.MessageEntity instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.Venue instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.Venue instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Data.KeyboardButton instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Data.KeyboardButton -- | This module contains responses from Telegram Bot API module Web.Telegram.API.Bot.Responses -- | This object represents getMe response data GetMeResponse GetMeResponse :: User -> GetMeResponse [user_result] :: GetMeResponse -> User -- | This object represents message response data MessageResponse MessageResponse :: Message -> MessageResponse [message_result] :: MessageResponse -> Message -- | This object represents sendChatAction response data ChatActionResponse ChatActionResponse :: Bool -> ChatActionResponse [action_result] :: ChatActionResponse -> Bool -- | This object represents getUpdates response data UpdatesResponse UpdatesResponse :: [Update] -> UpdatesResponse [update_result] :: UpdatesResponse -> [Update] -- | This object represents file response data FileResponse FileResponse :: File -> FileResponse [file_result] :: FileResponse -> File -- | This object represents user profile photos response data UserProfilePhotosResponse UserProfilePhotosResponse :: UserProfilePhotos -> UserProfilePhotosResponse [photos_result] :: UserProfilePhotosResponse -> UserProfilePhotos -- | This object represents setWebhook response data SetWebhookResponse SetWebhookResponse :: Bool -> SetWebhookResponse [webhook_result] :: SetWebhookResponse -> Bool -- | This object represents answerInlineQuery response data InlineQueryResponse InlineQueryResponse :: Bool -> InlineQueryResponse [query_result] :: InlineQueryResponse -> Bool -- | This object represents answerCallbackQuery response data CallbackQueryResponse CallbackQueryResponse :: Bool -> CallbackQueryResponse [callback_result] :: CallbackQueryResponse -> Bool -- | This object represents kickChatMember response data KickChatMemberResponse KickChatMemberResponse :: Bool -> KickChatMemberResponse [kick_result] :: KickChatMemberResponse -> Bool -- | This object represents unbanChatMember response data UnbanChatMemberResponse UnbanChatMemberResponse :: Bool -> UnbanChatMemberResponse [unban_result] :: UnbanChatMemberResponse -> Bool instance GHC.Generics.Selector Web.Telegram.API.Bot.Responses.S1_0_0UnbanChatMemberResponse instance GHC.Generics.Constructor Web.Telegram.API.Bot.Responses.C1_0UnbanChatMemberResponse instance GHC.Generics.Datatype Web.Telegram.API.Bot.Responses.D1UnbanChatMemberResponse instance GHC.Generics.Selector Web.Telegram.API.Bot.Responses.S1_0_0KickChatMemberResponse instance GHC.Generics.Constructor Web.Telegram.API.Bot.Responses.C1_0KickChatMemberResponse instance GHC.Generics.Datatype Web.Telegram.API.Bot.Responses.D1KickChatMemberResponse instance GHC.Generics.Selector Web.Telegram.API.Bot.Responses.S1_0_0CallbackQueryResponse instance GHC.Generics.Constructor Web.Telegram.API.Bot.Responses.C1_0CallbackQueryResponse instance GHC.Generics.Datatype Web.Telegram.API.Bot.Responses.D1CallbackQueryResponse instance GHC.Generics.Selector Web.Telegram.API.Bot.Responses.S1_0_0InlineQueryResponse instance GHC.Generics.Constructor Web.Telegram.API.Bot.Responses.C1_0InlineQueryResponse instance GHC.Generics.Datatype Web.Telegram.API.Bot.Responses.D1InlineQueryResponse instance GHC.Generics.Selector Web.Telegram.API.Bot.Responses.S1_0_0SetWebhookResponse instance GHC.Generics.Constructor Web.Telegram.API.Bot.Responses.C1_0SetWebhookResponse instance GHC.Generics.Datatype Web.Telegram.API.Bot.Responses.D1SetWebhookResponse instance GHC.Generics.Selector Web.Telegram.API.Bot.Responses.S1_0_0UserProfilePhotosResponse instance GHC.Generics.Constructor Web.Telegram.API.Bot.Responses.C1_0UserProfilePhotosResponse instance GHC.Generics.Datatype Web.Telegram.API.Bot.Responses.D1UserProfilePhotosResponse instance GHC.Generics.Selector Web.Telegram.API.Bot.Responses.S1_0_0FileResponse instance GHC.Generics.Constructor Web.Telegram.API.Bot.Responses.C1_0FileResponse instance GHC.Generics.Datatype Web.Telegram.API.Bot.Responses.D1FileResponse instance GHC.Generics.Selector Web.Telegram.API.Bot.Responses.S1_0_0UpdatesResponse instance GHC.Generics.Constructor Web.Telegram.API.Bot.Responses.C1_0UpdatesResponse instance GHC.Generics.Datatype Web.Telegram.API.Bot.Responses.D1UpdatesResponse instance GHC.Generics.Selector Web.Telegram.API.Bot.Responses.S1_0_0ChatActionResponse instance GHC.Generics.Constructor Web.Telegram.API.Bot.Responses.C1_0ChatActionResponse instance GHC.Generics.Datatype Web.Telegram.API.Bot.Responses.D1ChatActionResponse instance GHC.Generics.Selector Web.Telegram.API.Bot.Responses.S1_0_0MessageResponse instance GHC.Generics.Constructor Web.Telegram.API.Bot.Responses.C1_0MessageResponse instance GHC.Generics.Datatype Web.Telegram.API.Bot.Responses.D1MessageResponse instance GHC.Generics.Selector Web.Telegram.API.Bot.Responses.S1_0_0GetMeResponse instance GHC.Generics.Constructor Web.Telegram.API.Bot.Responses.C1_0GetMeResponse instance GHC.Generics.Datatype Web.Telegram.API.Bot.Responses.D1GetMeResponse instance GHC.Generics.Generic Web.Telegram.API.Bot.Responses.UnbanChatMemberResponse instance GHC.Show.Show Web.Telegram.API.Bot.Responses.UnbanChatMemberResponse instance GHC.Generics.Generic Web.Telegram.API.Bot.Responses.KickChatMemberResponse instance GHC.Show.Show Web.Telegram.API.Bot.Responses.KickChatMemberResponse instance GHC.Generics.Generic Web.Telegram.API.Bot.Responses.CallbackQueryResponse instance GHC.Show.Show Web.Telegram.API.Bot.Responses.CallbackQueryResponse instance GHC.Generics.Generic Web.Telegram.API.Bot.Responses.InlineQueryResponse instance GHC.Show.Show Web.Telegram.API.Bot.Responses.InlineQueryResponse instance GHC.Generics.Generic Web.Telegram.API.Bot.Responses.SetWebhookResponse instance GHC.Show.Show Web.Telegram.API.Bot.Responses.SetWebhookResponse instance GHC.Generics.Generic Web.Telegram.API.Bot.Responses.UserProfilePhotosResponse instance GHC.Show.Show Web.Telegram.API.Bot.Responses.UserProfilePhotosResponse instance GHC.Generics.Generic Web.Telegram.API.Bot.Responses.FileResponse instance GHC.Show.Show Web.Telegram.API.Bot.Responses.FileResponse instance GHC.Generics.Generic Web.Telegram.API.Bot.Responses.UpdatesResponse instance GHC.Show.Show Web.Telegram.API.Bot.Responses.UpdatesResponse instance GHC.Generics.Generic Web.Telegram.API.Bot.Responses.ChatActionResponse instance GHC.Show.Show Web.Telegram.API.Bot.Responses.ChatActionResponse instance GHC.Generics.Generic Web.Telegram.API.Bot.Responses.MessageResponse instance GHC.Show.Show Web.Telegram.API.Bot.Responses.MessageResponse instance GHC.Generics.Generic Web.Telegram.API.Bot.Responses.GetMeResponse instance GHC.Show.Show Web.Telegram.API.Bot.Responses.GetMeResponse instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Responses.GetMeResponse instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Responses.GetMeResponse instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Responses.MessageResponse instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Responses.MessageResponse instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Responses.ChatActionResponse instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Responses.ChatActionResponse instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Responses.UpdatesResponse instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Responses.UpdatesResponse instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Responses.FileResponse instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Responses.FileResponse instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Responses.UserProfilePhotosResponse instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Responses.UserProfilePhotosResponse instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Responses.SetWebhookResponse instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Responses.SetWebhookResponse instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Responses.InlineQueryResponse instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Responses.InlineQueryResponse instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Responses.CallbackQueryResponse instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Responses.CallbackQueryResponse instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Responses.KickChatMemberResponse instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Responses.KickChatMemberResponse instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Responses.UnbanChatMemberResponse instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Responses.UnbanChatMemberResponse -- | This module contains data objects which represents requests to -- Telegram Bot API module Web.Telegram.API.Bot.Requests -- | This object represents request for sendMessage data SendMessageRequest SendMessageRequest :: Text -> Text -> Maybe ParseMode -> Maybe Bool -> Maybe Bool -> Maybe Int -> Maybe ReplyKeyboard -> SendMessageRequest -- | Unique identifier for the target chat or username of the target -- channel (in the format @channelusername) [message_chat_id] :: SendMessageRequest -> Text -- | Text of the message to be sent [message_text] :: SendMessageRequest -> Text -- | Send Markdown, if you want Telegram apps to show bold, italic -- and inline URLs in your bot's message [message_parse_mode] :: SendMessageRequest -> Maybe ParseMode -- | Disables link previews for links in this message [message_disable_web_page_preview] :: SendMessageRequest -> Maybe Bool -- | Sends the message silently. iOS users will not receive a notification, -- Android users will receive a notification with no sound. [message_disable_notification] :: SendMessageRequest -> Maybe Bool -- | If the message is a reply, ID of the original message [message_reply_to_message_id] :: SendMessageRequest -> Maybe Int -- | Additional interface options. A JSON-serialized object for a custom -- reply keyboard, instructions to hide keyboard or to force a reply from -- the user. [message_reply_markup] :: SendMessageRequest -> Maybe ReplyKeyboard -- | This object represents request for forwardMessage data ForwardMessageRequest ForwardMessageRequest :: Text -> Text -> Maybe Bool -> Int -> ForwardMessageRequest -- | Unique identifier for the target chat or username of the target -- channel (in the format @channelusername) [forward_chat_id] :: ForwardMessageRequest -> Text -- | Unique identifier for the chat where the original message was sent (or -- channel username in the format @channelusername) [forward_from_chat_id] :: ForwardMessageRequest -> Text -- | Sends the message silently. iOS users will not receive a notification, -- Android users will receive a notification with no sound. [forward_disable_notification] :: ForwardMessageRequest -> Maybe Bool -- | Unique message identifier [forward_message_id] :: ForwardMessageRequest -> Int -- | This object represents data (image, video, ...) with mime type to -- upload. data FileUpload FileUpload :: MimeType -> FileUploadContent -> FileUpload -- | Mime type of the upload. [fileUpload_type] :: FileUpload -> MimeType -- | The payload/source to upload. [fileUpload_content] :: FileUpload -> FileUploadContent -- | This object represents data (image, video, ...) to upload. data FileUploadContent FileUploadFile :: FilePath -> FileUploadContent FileUploadBS :: ByteString -> FileUploadContent FileUploadLBS :: ByteString -> FileUploadContent -- | This object represents request for sendPhoto data SendPhotoRequest payload SendPhotoRequest :: Text -> payload -> Maybe Text -> Maybe Bool -> Maybe Int -> Maybe ReplyKeyboard -> SendPhotoRequest payload -- | Unique identifier for the target chat or username of the target -- channel (in the format @channelusername) [photo_chat_id] :: SendPhotoRequest payload -> Text -- | Photo to send. You can either pass a file_id as String to resend a -- photo that is already on the Telegram servers, or upload a new photo. [photo_photo] :: SendPhotoRequest payload -> payload -- | Photo caption (may also be used when resending photos by file_id), -- 0-200 characters. [photo_caption] :: SendPhotoRequest payload -> Maybe Text -- | Sends the message silently. iOS users will not receive a notification, -- Android users will receive a notification with no sound. [photo_disable_notification] :: SendPhotoRequest payload -> Maybe Bool -- | If the message is a reply, ID of the original message [photo_reply_to_message_id] :: SendPhotoRequest payload -> Maybe Int -- | Additional interface options. A JSON-serialized object for a custom -- reply keyboard, instructions to hide keyboard or to force a reply from -- the user. [photo_reply_markup] :: SendPhotoRequest payload -> Maybe ReplyKeyboard -- | This object represents request for sendAudio data SendAudioRequest SendAudioRequest :: Text -> Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe Bool -> Maybe Int -> Maybe ReplyKeyboard -> SendAudioRequest -- | Unique identifier for the target chat or username of the target -- channel (in the format @channelusername) [_audio_chat_id] :: SendAudioRequest -> Text -- | Audio file to send. Pass a file_id as String to resend an audio that -- is already on the Telegram servers. [_audio_audio] :: SendAudioRequest -> Text -- | Duration of the audio in seconds [_audio_duration] :: SendAudioRequest -> Maybe Int -- | Performer [_audio_performer] :: SendAudioRequest -> Maybe Text -- | Track name [_audio_title] :: SendAudioRequest -> Maybe Text -- | Sends the message silently. iOS users will not receive a notification, -- Android users will receive a notification with no sound. [_audio_disable_notification] :: SendAudioRequest -> Maybe Bool -- | If the message is a reply, ID of the original message [_audio_reply_to_message_id] :: SendAudioRequest -> Maybe Int -- | Additional interface options. A JSON-serialized object for a custom -- reply keyboard, instructions to hide keyboard or to force a reply from -- the user. [_audio_reply_markup] :: SendAudioRequest -> Maybe ReplyKeyboard -- | This object represents request for sendDocument data SendDocumentRequest SendDocumentRequest :: Text -> Text -> Maybe Text -> Maybe Bool -> Maybe Int -> Maybe ReplyKeyboard -> SendDocumentRequest -- | Unique identifier for the target chat or username of the target -- channel (in the format @channelusername) [document_chat_id] :: SendDocumentRequest -> Text -- | File to send. A file_id as String to resend a file that is already on -- the Telegram servers [document_document] :: SendDocumentRequest -> Text -- | Document caption (may also be used when resending documents by -- file_id), 0-200 characters [document_caption] :: SendDocumentRequest -> Maybe Text -- | Sends the message silently. iOS users will not receive a notification, -- Android users will receive a notification with no sound. [document_disable_notification] :: SendDocumentRequest -> Maybe Bool -- | If the message is a reply, ID of the original message [document_reply_to_message_id] :: SendDocumentRequest -> Maybe Int -- | Additional interface options. A JSON-serialized object for a custom -- reply keyboard, instructions to hide keyboard or to force a reply from -- the user. [document_reply_markup] :: SendDocumentRequest -> Maybe ReplyKeyboard -- | This object represents request for sendSticker data SendStickerRequest SendStickerRequest :: Text -> Text -> Maybe Bool -> Maybe Int -> Maybe ReplyKeyboard -> SendStickerRequest -- | Unique identifier for the target chat or username of the target -- channel (in the format @channelusername) [sticker_chat_id] :: SendStickerRequest -> Text -- | Sticker to send. A file_id as String to resend a sticker that is -- already on the Telegram servers [sticker_sticker] :: SendStickerRequest -> Text -- | Sends the message silently. iOS users will not receive a notification, -- Android users will receive a notification with no sound. [sticker_disable_notification] :: SendStickerRequest -> Maybe Bool -- | If the message is a reply, ID of the original message [sticker_reply_to_message_id] :: SendStickerRequest -> Maybe Int -- | Additional interface options. A JSON-serialized object for a custom -- reply keyboard, instructions to hide keyboard or to force a reply from -- the user. [sticker_reply_markup] :: SendStickerRequest -> Maybe ReplyKeyboard -- | This object represents request for sendVideo data SendVideoRequest SendVideoRequest :: Text -> Text -> Maybe Int -> Maybe Text -> Maybe Bool -> Maybe Int -> Maybe ReplyKeyboard -> SendVideoRequest -- | Unique identifier for the target chat or username of the target -- channel (in the format @channelusername) [_video_chat_id] :: SendVideoRequest -> Text -- | Video to send. A file_id as String to resend a video that is already -- on the Telegram servers [_video_video] :: SendVideoRequest -> Text -- | Duration of sent video in seconds [_video_duration] :: SendVideoRequest -> Maybe Int -- | Video caption, 0-200 characters. [_video_caption] :: SendVideoRequest -> Maybe Text -- | Sends the message silently. iOS users will not receive a notification, -- Android users will receive a notification with no sound. [_video_disable_notification] :: SendVideoRequest -> Maybe Bool -- | If the message is a reply, ID of the original message [_video_reply_to_message_id] :: SendVideoRequest -> Maybe Int -- | Additional interface options. A JSON-serialized object for a custom -- reply keyboard, instructions to hide keyboard or to force a reply from -- the user. [_video_reply_markup] :: SendVideoRequest -> Maybe ReplyKeyboard -- | This object represents request for sendVoice data SendVoiceRequest SendVoiceRequest :: Text -> Text -> Maybe Int -> Maybe Bool -> Maybe Int -> Maybe ReplyKeyboard -> SendVoiceRequest -- | Unique identifier for the target chat or username of the target -- channel (in the format @channelusername) [_voice_chat_id] :: SendVoiceRequest -> Text -- | Audio file to send. A file_id as String to resend an audio that is -- already on the Telegram servers [_voice_voice] :: SendVoiceRequest -> Text -- | Duration of sent audio in seconds [_voice_duration] :: SendVoiceRequest -> Maybe Int -- | Sends the message silently. iOS users will not receive a notification, -- Android users will receive a notification with no sound. [_voice_disable_notification] :: SendVoiceRequest -> Maybe Bool -- | If the message is a reply, ID of the original message [_voice_reply_to_message_id] :: SendVoiceRequest -> Maybe Int -- | Additional interface options. A JSON-serialized object for a custom -- reply keyboard, instructions to hide keyboard or to force a reply from -- the user. [_voice_reply_markup] :: SendVoiceRequest -> Maybe ReplyKeyboard -- | This object represents request for sendLocation data SendLocationRequest SendLocationRequest :: Text -> Float -> Float -> Maybe Bool -> Maybe Int -> Maybe ReplyKeyboard -> SendLocationRequest -- | Unique identifier for the target chat or username of the target -- channel (in the format @channelusername) [location_chat_id] :: SendLocationRequest -> Text -- | Latitude of location [location_latitude] :: SendLocationRequest -> Float -- | Longitude of location [location_longitude] :: SendLocationRequest -> Float -- | Sends the message silently. iOS users will not receive a notification, -- Android users will receive a notification with no sound. [location_disable_notification] :: SendLocationRequest -> Maybe Bool -- | If the message is a reply, ID of the original message [location_reply_to_message_id] :: SendLocationRequest -> Maybe Int -- | Additional interface options. A JSON-serialized object for a custom -- reply keyboard, instructions to hide keyboard or to force a reply from -- the user. [location_reply_markup] :: SendLocationRequest -> Maybe ReplyKeyboard -- | This object represents request for sendVenue data SendVenueRequest SendVenueRequest :: Text -> Float -> Float -> Text -> Text -> Maybe Text -> Maybe Bool -> Maybe Int -> Maybe ReplyKeyboard -> SendVenueRequest -- | Unique identifier for the target chat or username of the target -- channel (in the format @channelusername) [_venue_chat_id] :: SendVenueRequest -> Text -- | Latitude of the venue [_venue_latitude] :: SendVenueRequest -> Float -- | Longitude of the venue [_venue_longitude] :: SendVenueRequest -> Float -- | Name of the venue [_venue_title] :: SendVenueRequest -> Text -- | Address of the venue [_venue_address] :: SendVenueRequest -> Text -- | Foursquare identifier of the venue [_venue_foursquare_id] :: SendVenueRequest -> Maybe Text -- | Sends the message silently. iOS users will not receive a notification, -- Android users will receive a notification with no sound. [_venue_disable_notification] :: SendVenueRequest -> Maybe Bool -- | If the message is a reply, ID of the original message [_venue_reply_to_message_id] :: SendVenueRequest -> Maybe Int -- | Additional interface options. A JSON-serialized object for a custom -- reply keyboard, instructions to hide keyboard or to force a reply from -- the user. [_venue_reply_markup] :: SendVenueRequest -> Maybe ReplyKeyboard -- | This object represents request for sendContact data SendContactRequest SendContactRequest :: Text -> Text -> Text -> Maybe Text -> Maybe Bool -> Maybe Int -> Maybe ReplyKeyboard -> SendContactRequest -- | Unique identifier for the target chat or username of the target -- channel (in the format @channelusername) [_contact_chat_id] :: SendContactRequest -> Text -- | Contact's phone number [_contact_phone_number] :: SendContactRequest -> Text -- | Contact's first name [_contact_first_name] :: SendContactRequest -> Text -- | Contact's last name [_contact_last_name] :: SendContactRequest -> Maybe Text -- | Sends the message silently. iOS users will not receive a notification, -- Android users will receive a notification with no sound. [_contact_disable_notification] :: SendContactRequest -> Maybe Bool -- | If the message is a reply, ID of the original message [_contact_reply_to_message_id] :: SendContactRequest -> Maybe Int -- | Additional interface options. A JSON-serialized object for a custom -- reply keyboard, instructions to hide keyboard or to force a reply from -- the user. [_contact_reply_markup] :: SendContactRequest -> Maybe ReplyKeyboard -- | This object represents request for sendChatAction data SendChatActionRequest SendChatActionRequest :: Text -> ChatAction -> SendChatActionRequest -- | Unique identifier for the target chat or username of the target -- channel (in the format `@channelusername`) [action_chat_id] :: SendChatActionRequest -> Text -- | Type of action to broadcast. [action_action] :: SendChatActionRequest -> ChatAction -- | Type of action to broadcast. data ChatAction Typing :: ChatAction UploadPhoto :: ChatAction RecordVideo :: ChatAction UploadVideo :: ChatAction RecordAudio :: ChatAction UploadAudio :: ChatAction UploadDocument :: ChatAction FindLocation :: ChatAction data AnswerInlineQueryRequest AnswerInlineQueryRequest :: Text -> [InlineQueryResult] -> Maybe Int -> Maybe Bool -> Maybe Text -> Maybe Text -> Maybe Text -> AnswerInlineQueryRequest -- | Unique identifier for the answered query [query_inline_query_id] :: AnswerInlineQueryRequest -> Text -- | A JSON-serialized array of results for the inline query [query_results] :: AnswerInlineQueryRequest -> [InlineQueryResult] -- | The maximum amount of time in seconds that the result of the inline -- query may be cached on the server. Defaults to 300. [query_cache_time] :: AnswerInlineQueryRequest -> Maybe Int -- | Pass True, if results may be cached on the server side only for the -- user that sent the query. By default, results may be returned to any -- user who sends the same query [query_is_personal] :: AnswerInlineQueryRequest -> Maybe Bool -- | Pass the offset that a client should send in the next query with the -- same text to receive more results. Pass an empty string if there are -- no more results or if you don‘t support pagination. Offset length -- can’t exceed 64 bytes. [query_next_offset] :: AnswerInlineQueryRequest -> Maybe Text -- | If passed, clients will display a button with specified text that -- switches the user to a private chat with the bot and sends the bot a -- start message with the parameter switch_pm_parameter [query_switch_pm_text] :: AnswerInlineQueryRequest -> Maybe Text -- | Parameter for the start message sent to the bot when user presses the -- switch button -- -- Example: An inline bot that sends YouTube videos can ask the user to -- connect the bot to their YouTube account to adapt search results -- accordingly. To do this, it displays a ‘Connect your YouTube account’ -- button above the results, or even before showing any. The user presses -- the button, switches to a private chat with the bot and, in doing so, -- passes a start parameter that instructs the bot to return an oauth -- link. Once done, the bot can offer a switch_inline button so that the -- user can easily return to the chat where they wanted to use the bot's -- inline capabilities. [query_switch_pm_parameter] :: AnswerInlineQueryRequest -> Maybe Text data AnswerCallbackQueryRequest AnswerCallbackQueryRequest :: Text -> Maybe Text -> Maybe Bool -> AnswerCallbackQueryRequest -- | Unique identifier for the query to be answered [cq_callback_query_id] :: AnswerCallbackQueryRequest -> Text -- | Text of the notification. If not specified, nothing will be shown to -- the user [cq_text] :: AnswerCallbackQueryRequest -> Maybe Text -- | If true, an alert will be shown by the client instead of a -- notification at the top of the chat screen. Defaults to false. [cq_show_alert] :: AnswerCallbackQueryRequest -> Maybe Bool data ReplyKeyboard -- | This object represents a custom keyboard with reply options ReplyKeyboardMarkup :: [[KeyboardButton]] -> Maybe Bool -> Maybe Bool -> Maybe Bool -> ReplyKeyboard -- | Array of button rows, each represented by an Array of -- KeyboardButton objects [reply_keyboard] :: ReplyKeyboard -> [[KeyboardButton]] -- | Requests clients to resize the keyboard vertically for optimal fit -- (e.g., make the keyboard smaller if there are just two rows of -- buttons). Defaults to false, in which case the custom keyboard is -- always of the same height as the app's standard keyboard. [reply_resize_keyboard] :: ReplyKeyboard -> Maybe Bool -- | Requests clients to hide the keyboard as soon as it's been used. -- Defaults to false. [reply_one_time_keyboard] :: ReplyKeyboard -> Maybe Bool -- | Use this parameter if you want to show the keyboard to specific users -- only. Targets: 1) users that are @mentioned in the text of the Message -- object; 2) if the bot's message is a reply (has reply_to_message_id), -- sender of the original message. Example: A user requests to change the -- bot‘s language, bot replies to the request with a keyboard to select -- the new language. Other users in the group don’t see the keyboard. [reply_selective] :: ReplyKeyboard -> Maybe Bool -- | Upon receiving a message with this object, Telegram clients will hide -- the current custom keyboard and display the default letter-keyboard. -- By default, custom keyboards are displayed until a new keyboard is -- sent by a bot. An exception is made for one-time keyboards that are -- hidden immediately after the user presses a button ReplyKeyboardHide :: Bool -> Maybe Bool -> ReplyKeyboard -- | Requests clients to hide the custom keyboard [reply_hide_keyboard] :: ReplyKeyboard -> Bool -- | Use this parameter if you want to show the keyboard to specific users -- only. Targets: 1) users that are @mentioned in the text of the Message -- object; 2) if the bot's message is a reply (has reply_to_message_id), -- sender of the original message. Example: A user requests to change the -- bot‘s language, bot replies to the request with a keyboard to select -- the new language. Other users in the group don’t see the keyboard. [reply_selective] :: ReplyKeyboard -> Maybe Bool -- | Upon receiving a message with this object, Telegram clients will -- display a reply interface to the user (act as if the user has selected -- the bot‘s message and tapped ’Reply'). This can be extremely useful if -- you want to create user-friendly step-by-step interfaces without -- having to sacrifice privacy mode. ForceReply :: Bool -> Maybe Bool -> ReplyKeyboard -- | Shows reply interface to the user, as if they manually selected the -- bot‘s message and tapped ’Reply' [reply_force_reply] :: ReplyKeyboard -> Bool -- | Use this parameter if you want to show the keyboard to specific users -- only. Targets: 1) users that are @mentioned in the text of the Message -- object; 2) if the bot's message is a reply (has reply_to_message_id), -- sender of the original message. Example: A user requests to change the -- bot‘s language, bot replies to the request with a keyboard to select -- the new language. Other users in the group don’t see the keyboard. [reply_selective] :: ReplyKeyboard -> Maybe Bool data EditMessageTextRequest EditMessageTextRequest :: Maybe Text -> Maybe Int -> Maybe Text -> Text -> Maybe ParseMode -> Maybe Bool -> Maybe InlineKeyboardMarkup -> EditMessageTextRequest -- | Required if inline_message_id is not specified. Unique -- identifier for the target chat or username of the target channel (in -- the format `@channelusername`) [emt_chat_id] :: EditMessageTextRequest -> Maybe Text -- | if inline_message_id is not specified. Unique identifier of -- the sent message [emt_message_id] :: EditMessageTextRequest -> Maybe Int -- | Required if chat_id and message_id are not specified. Identifier of -- the inline message [emt_inline_message_id] :: EditMessageTextRequest -> Maybe Text -- | New text of the message [emt_text] :: EditMessageTextRequest -> Text -- | Send Markdown or HTML, if you want Telegram apps to show -- bold, italic, fixed-width text or inline URLs in your bot's message. [emt_parse_mode] :: EditMessageTextRequest -> Maybe ParseMode -- | Disables link previews for links in this message [emt_disable_web_page_preview] :: EditMessageTextRequest -> Maybe Bool -- | A JSON-serialized object for an inline keyboard. [emt_reply_markup] :: EditMessageTextRequest -> Maybe InlineKeyboardMarkup data EditMessageCaptionRequest EditMessageCaptionRequest :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe Text -> Maybe InlineKeyboardMarkup -> EditMessageCaptionRequest -- | Required if inline_message_id is not specified. Unique -- identifier for the target chat or username of the target channel (in -- the format `@channelusername`) [emc_chat_id] :: EditMessageCaptionRequest -> Maybe Text -- | Required if inline_message_id is not specified. Unique -- identifier of the sent message [emc_message_id] :: EditMessageCaptionRequest -> Maybe Int -- | Required if chat_id and message_id are not specified. -- Identifier of the inline message [emc_inline_message_id] :: EditMessageCaptionRequest -> Maybe Text -- | New caption of the message [emc_caption] :: EditMessageCaptionRequest -> Maybe Text -- | A JSON-serialized object for an inline keyboard. [emc_reply_markup] :: EditMessageCaptionRequest -> Maybe InlineKeyboardMarkup data EditMessageReplyMarkupRequest EditMessageReplyMarkupRequest :: Maybe Text -> Maybe Int -> Maybe Text -> Maybe InlineKeyboardMarkup -> EditMessageReplyMarkupRequest -- | Required if inline_message_id is not specified. Unique -- identifier for the target chat or username of the target channel (in -- the format `@channelusername`) [emrm_chat_id] :: EditMessageReplyMarkupRequest -> Maybe Text -- | Required if inline_message_id is not specified. Unique -- identifier of the sent message [emrm_message_id] :: EditMessageReplyMarkupRequest -> Maybe Int -- | Required if chat_id and message_id are not specified. -- Identifier of the inline message [emrm_inline_message_id] :: EditMessageReplyMarkupRequest -> Maybe Text -- | A JSON-serialized object for an inline keyboard. [emrm_reply_markup] :: EditMessageReplyMarkupRequest -> Maybe InlineKeyboardMarkup sendMessageRequest :: Text -> Text -> SendMessageRequest forwardMessageRequest :: Text -> Text -> Int -> ForwardMessageRequest sendPhotoRequest :: Text -> Text -> SendPhotoRequest Text uploadPhotoRequest :: Text -> FileUpload -> SendPhotoRequest FileUpload sendAudioRequest :: Text -> Text -> SendAudioRequest sendDocumentRequest :: Text -> Text -> SendDocumentRequest sendStickerRequest :: Text -> Text -> SendStickerRequest sendVideoRequest :: Text -> Text -> SendVideoRequest sendVoiceRequest :: Text -> Text -> SendVoiceRequest sendLocationRequest :: Text -> Float -> Float -> SendLocationRequest sendVenueRequest :: Text -> Float -> Float -> Text -> Text -> SendVenueRequest sendContactRequest :: Text -> Text -> Text -> SendContactRequest sendChatActionRequest :: Text -> ChatAction -> SendChatActionRequest answerInlineQueryRequest :: Text -> [InlineQueryResult] -> AnswerInlineQueryRequest answerCallbackQueryRequest :: Text -> AnswerCallbackQueryRequest replyKeyboardMarkup :: [[KeyboardButton]] -> ReplyKeyboard replyKeyboardHide :: ReplyKeyboard forceReply :: ReplyKeyboard editMessageTextRequest :: Text -> Int -> Text -> EditMessageTextRequest editMessageCaptionRequest :: Text -> Int -> Maybe Text -> EditMessageCaptionRequest editMessageReplyMarkupRequest :: Text -> Int -> Maybe InlineKeyboardMarkup -> EditMessageReplyMarkupRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3EditMessageReplyMarkupRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2EditMessageReplyMarkupRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1EditMessageReplyMarkupRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0EditMessageReplyMarkupRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0EditMessageReplyMarkupRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1EditMessageReplyMarkupRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4EditMessageCaptionRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3EditMessageCaptionRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2EditMessageCaptionRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1EditMessageCaptionRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0EditMessageCaptionRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0EditMessageCaptionRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1EditMessageCaptionRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_6EditMessageTextRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_5EditMessageTextRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4EditMessageTextRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3EditMessageTextRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2EditMessageTextRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1EditMessageTextRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0EditMessageTextRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0EditMessageTextRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1EditMessageTextRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_6SendMessageRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_5SendMessageRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4SendMessageRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3SendMessageRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2SendMessageRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1SendMessageRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0SendMessageRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0SendMessageRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1SendMessageRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_5SendPhotoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4SendPhotoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3SendPhotoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2SendPhotoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1SendPhotoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0SendPhotoRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0SendPhotoRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1SendPhotoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_7SendAudioRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_6SendAudioRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_5SendAudioRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4SendAudioRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3SendAudioRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2SendAudioRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1SendAudioRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0SendAudioRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0SendAudioRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1SendAudioRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4SendStickerRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3SendStickerRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2SendStickerRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1SendStickerRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0SendStickerRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0SendStickerRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1SendStickerRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_5SendDocumentRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4SendDocumentRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3SendDocumentRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2SendDocumentRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1SendDocumentRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0SendDocumentRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0SendDocumentRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1SendDocumentRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_6SendVideoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_5SendVideoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4SendVideoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3SendVideoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2SendVideoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1SendVideoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0SendVideoRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0SendVideoRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1SendVideoRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_5SendVoiceRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4SendVoiceRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3SendVoiceRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2SendVoiceRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1SendVoiceRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0SendVoiceRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0SendVoiceRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1SendVoiceRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_5SendLocationRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4SendLocationRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3SendLocationRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2SendLocationRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1SendLocationRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0SendLocationRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0SendLocationRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1SendLocationRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_8SendVenueRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_7SendVenueRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_6SendVenueRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_5SendVenueRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4SendVenueRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3SendVenueRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2SendVenueRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1SendVenueRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0SendVenueRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0SendVenueRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1SendVenueRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_6SendContactRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_5SendContactRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4SendContactRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3SendContactRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2SendContactRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1SendContactRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0SendContactRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0SendContactRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1SendContactRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_2_1ReplyKeyboard instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_2_0ReplyKeyboard instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_1_1ReplyKeyboard instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_1_0ReplyKeyboard instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3ReplyKeyboard instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2ReplyKeyboard instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1ReplyKeyboard instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0ReplyKeyboard instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_2ReplyKeyboard instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_1ReplyKeyboard instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0ReplyKeyboard instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1ReplyKeyboard instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2AnswerCallbackQueryRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1AnswerCallbackQueryRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0AnswerCallbackQueryRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0AnswerCallbackQueryRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1AnswerCallbackQueryRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_6AnswerInlineQueryRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_5AnswerInlineQueryRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_4AnswerInlineQueryRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3AnswerInlineQueryRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2AnswerInlineQueryRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1AnswerInlineQueryRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0AnswerInlineQueryRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0AnswerInlineQueryRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1AnswerInlineQueryRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1SendChatActionRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0SendChatActionRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0SendChatActionRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1SendChatActionRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_7ChatAction instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_6ChatAction instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_5ChatAction instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_4ChatAction instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_3ChatAction instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_2ChatAction instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_1ChatAction instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0ChatAction instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1ChatAction instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_3ForwardMessageRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_2ForwardMessageRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_1ForwardMessageRequest instance GHC.Generics.Selector Web.Telegram.API.Bot.Requests.S1_0_0ForwardMessageRequest instance GHC.Generics.Constructor Web.Telegram.API.Bot.Requests.C1_0ForwardMessageRequest instance GHC.Generics.Datatype Web.Telegram.API.Bot.Requests.D1ForwardMessageRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.EditMessageReplyMarkupRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.EditMessageReplyMarkupRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.EditMessageCaptionRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.EditMessageCaptionRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.EditMessageTextRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.EditMessageTextRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.SendMessageRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.SendMessageRequest instance GHC.Generics.Generic (Web.Telegram.API.Bot.Requests.SendPhotoRequest payload) instance GHC.Show.Show payload => GHC.Show.Show (Web.Telegram.API.Bot.Requests.SendPhotoRequest payload) instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.SendAudioRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.SendAudioRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.SendStickerRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.SendStickerRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.SendDocumentRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.SendDocumentRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.SendVideoRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.SendVideoRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.SendVoiceRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.SendVoiceRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.SendLocationRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.SendLocationRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.SendVenueRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.SendVenueRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.SendContactRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.SendContactRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.ReplyKeyboard instance GHC.Show.Show Web.Telegram.API.Bot.Requests.ReplyKeyboard instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.AnswerCallbackQueryRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.AnswerCallbackQueryRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.AnswerInlineQueryRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.AnswerInlineQueryRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.SendChatActionRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.SendChatActionRequest instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.ChatAction instance GHC.Show.Show Web.Telegram.API.Bot.Requests.ChatAction instance GHC.Generics.Generic Web.Telegram.API.Bot.Requests.ForwardMessageRequest instance GHC.Show.Show Web.Telegram.API.Bot.Requests.ForwardMessageRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.SendMessageRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.SendMessageRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.ForwardMessageRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.ForwardMessageRequest instance Data.Aeson.Types.Class.ToJSON (Web.Telegram.API.Bot.Requests.SendPhotoRequest Data.Text.Internal.Text) instance Data.Aeson.Types.Class.FromJSON (Web.Telegram.API.Bot.Requests.SendPhotoRequest Data.Text.Internal.Text) instance Servant.Client.MultipartFormData.ToMultipartFormData (Web.Telegram.API.Bot.Requests.SendPhotoRequest Web.Telegram.API.Bot.Requests.FileUpload) instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.SendAudioRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.SendAudioRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.SendStickerRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.SendStickerRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.SendDocumentRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.SendDocumentRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.SendVideoRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.SendVideoRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.SendVoiceRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.SendVoiceRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.SendLocationRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.SendLocationRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.SendVenueRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.SendVenueRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.SendContactRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.SendContactRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.ChatAction instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.ChatAction instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.SendChatActionRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.SendChatActionRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.AnswerInlineQueryRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.AnswerInlineQueryRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.AnswerCallbackQueryRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.AnswerCallbackQueryRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.ReplyKeyboard instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.ReplyKeyboard instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.EditMessageTextRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.EditMessageTextRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.EditMessageCaptionRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.EditMessageCaptionRequest instance Data.Aeson.Types.Class.ToJSON Web.Telegram.API.Bot.Requests.EditMessageReplyMarkupRequest instance Data.Aeson.Types.Class.FromJSON Web.Telegram.API.Bot.Requests.EditMessageReplyMarkupRequest module Web.Telegram.API.Bot.API -- | A simple method for testing your bot's auth token. Requires no -- parameters. Returns basic information about the bot in form of a -- User object. getMe :: Token -> Manager -> IO (Either ServantError GetMeResponse) -- | Use this method to send text messages. On success, the sent -- Message is returned. sendMessage :: Token -> SendMessageRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to forward messages of any kind. On success, the sent -- Message is returned. forwardMessage :: Token -> ForwardMessageRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to upload and send photos. On success, the sent -- Message is returned. uploadPhoto :: Token -> SendPhotoRequest FileUpload -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to send photos that have already been uploaded. On -- success, the sent Message is returned. sendPhoto :: Token -> SendPhotoRequest Text -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to send audio files, if you want Telegram clients to -- display them in the music player. Your audio must be in the .mp3 -- format. On success, the sent Message is returned. Bots can -- currently send audio files of up to 50 MB in size, this limit may be -- changed in the future. -- -- For backward compatibility, when the fields title and -- performer are both empty and the mime-type of the file to be -- sent is not _audio/mpeg_, the file will be sent as a playable voice -- message. For this to work, the audio must be in an .ogg file encoded -- with OPUS. This behavior will be phased out in the future. For sending -- voice messages, use the sendVoice method instead. sendAudio :: Token -> SendAudioRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to send general files. On success, the sent -- Message is returned. Bots can currently send files of any type -- of up to 50 MB in size, this limit may be changed in the future. sendDocument :: Token -> SendDocumentRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to send .webp stickers. On success, the sent -- Message is returned. sendSticker :: Token -> SendStickerRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to send video files, Telegram clients support mp4 -- videos (other formats may be sent as Document). On success, the -- sent Message is returned. Bots can currently send video files -- of up to 50 MB in size, this limit may be changed in the future. sendVideo :: Token -> SendVideoRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to send audio files, if you want Telegram clients to -- display the file as a playable voice message. For this to work, your -- audio must be in an .ogg file encoded with OPUS (other formats may be -- sent as Audio or Document). On success, the sent -- Message is returned. Bots can currently send voice messages of -- up to 50 MB in size, this limit may be changed in the future. sendVoice :: Token -> SendVoiceRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to send point on the map. On success, the sent -- Message is returned. sendLocation :: Token -> SendLocationRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to send information about a venue. On success, the -- sent Message is returned. sendVenue :: Token -> SendVenueRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to send information about a venue. On success, the -- sent Message is returned. sendContact :: Token -> SendContactRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method when you need to tell the user that something is -- happening on the bot's side. The status is set for 5 seconds or less -- (when a message arrives from your bot, Telegram clients clear its -- typing status). sendChatAction :: Token -> SendChatActionRequest -> Manager -> IO (Either ServantError ChatActionResponse) -- | Use this method to receive incoming updates using long polling. An -- Array of Update objects is returned. getUpdates :: Token -> Maybe Int -> Maybe Int -> Maybe Int -> Manager -> IO (Either ServantError UpdatesResponse) -- | Use this method to get basic info about a file and prepare it for -- downloading. For the moment, bots can download files of up to 20MB in -- size. On success, a File object is returned. The file can then -- be downloaded via the link -- https://api.telegram.org/file/bot<token>/<file_path>, -- where file_path is taken from the response. It is -- guaranteed that the link will be valid for at least 1 hour. When the -- link expires, a new one can be requested by calling getFile again. getFile :: Token -> Text -> Manager -> IO (Either ServantError FileResponse) -- | Use this method to get a list of profile pictures for a user. Returns -- a UserProfilePhotos object. getUserProfilePhotos :: Token -> Int -> Maybe Int -> Maybe Int -> Manager -> IO (Either ServantError UserProfilePhotosResponse) -- | Use this method to specify a url and receive incoming updates via an -- outgoing webhook. Whenever there is an update for the bot, we will -- send an HTTPS POST request to the specified url, containing a -- JSON-serialized Update. In case of an unsuccessful request, we -- will give up after a reasonable amount of attempts. -- -- If you'd like to make sure that the Webhook request comes from -- Telegram, we recommend using a secret path in the URL, e.g. -- https://www.example.com/<token>. Since nobody -- else knows your bot‘s token, you can be pretty sure it’s us. setWebhook :: Token -> Maybe Text -> Manager -> IO (Either ServantError SetWebhookResponse) -- | Use this method to send answers to an inline query. No more than 50 -- results per query are allowed. answerInlineQuery :: Token -> AnswerInlineQueryRequest -> Manager -> IO (Either ServantError InlineQueryResponse) -- | Use this method to send answers to callback queries sent from inline -- keyboards. The answer will be displayed to the user as a notification -- at the top of the chat screen or as an alert. answerCallbackQuery :: Token -> AnswerCallbackQueryRequest -> Manager -> IO (Either ServantError CallbackQueryResponse) -- | Use this method to kick a user from a group or a supergroup. In the -- case of supergroups, the user will not be able to return to the group -- on their own using invite links, etc., unless unbanned first. The bot -- must be an administrator in the group for this to work. kickChatMember :: Token -> Text -> Int -> Manager -> IO (Either ServantError KickChatMemberResponse) -- | Use this method to unban a previously kicked user in a supergroup. The -- user will not return to the group automatically, but will be able to -- join via link, etc. The bot must be an administrator in the group for -- this to work. unbanChatMember :: Token -> Text -> Int -> Manager -> IO (Either ServantError UnbanChatMemberResponse) -- | Use this method to edit text messages sent by the bot or via the bot -- (for inline bots). On success, if edited message is sent by the bot, -- the edited Message is returned, otherwise True is returned. editMessageText :: Token -> EditMessageTextRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to edit captions of messages sent by the bot or via -- the bot (for inline bots). On success, if edited message is sent by -- the bot, the edited Message is returned. editMessageCaption :: Token -> EditMessageCaptionRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Use this method to edit only the reply markup of messages sent by the -- bot or via the bot (for inline bots). On success, if edited message is -- sent by the bot, the edited Message is returned. editMessageReplyMarkup :: Token -> EditMessageReplyMarkupRequest -> Manager -> IO (Either ServantError MessageResponse) -- | Telegram Bot API type TelegramBotAPI = (TelegramToken :> ("getMe" :> Get '[JSON] GetMeResponse)) :<|> ((TelegramToken :> ("sendMessage" :> (ReqBody '[JSON] SendMessageRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("forwardMessage" :> (ReqBody '[JSON] ForwardMessageRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("sendPhoto" :> (MultipartFormDataReqBody (SendPhotoRequest FileUpload) :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("sendPhoto" :> (ReqBody '[JSON] (SendPhotoRequest Text) :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("sendAudio" :> (ReqBody '[JSON] SendAudioRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("sendDocument" :> (ReqBody '[JSON] SendDocumentRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("sendSticker" :> (ReqBody '[JSON] SendStickerRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("sendVideo" :> (ReqBody '[JSON] SendVideoRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("sendVoice" :> (ReqBody '[JSON] SendVoiceRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("sendLocation" :> (ReqBody '[JSON] SendLocationRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("sendVenue" :> (ReqBody '[JSON] SendVenueRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("sendContact" :> (ReqBody '[JSON] SendContactRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("sendChatAction" :> (ReqBody '[JSON] SendChatActionRequest :> Post '[JSON] ChatActionResponse))) :<|> ((TelegramToken :> ("getUpdates" :> (QueryParam "offset" Int :> (QueryParam "limit" Int :> (QueryParam "timeout" Int :> Get '[JSON] UpdatesResponse))))) :<|> ((TelegramToken :> ("getFile" :> (QueryParam "file_id" Text :> Get '[JSON] FileResponse))) :<|> ((TelegramToken :> ("getUserProfilePhotos" :> (QueryParam "user_id" Int :> (QueryParam "offset" Int :> (QueryParam "limit" Int :> Get '[JSON] UserProfilePhotosResponse))))) :<|> ((TelegramToken :> ("setWebhook" :> (QueryParam "url" Text :> Get '[JSON] SetWebhookResponse))) :<|> ((TelegramToken :> ("answerInlineQuery" :> (ReqBody '[JSON] AnswerInlineQueryRequest :> Post '[JSON] InlineQueryResponse))) :<|> ((TelegramToken :> ("answerCallbackQuery" :> (ReqBody '[JSON] AnswerCallbackQueryRequest :> Post '[JSON] CallbackQueryResponse))) :<|> ((TelegramToken :> ("kickChatMember" :> (QueryParam "chat_id" Text :> (QueryParam "user_id" Int :> Post '[JSON] KickChatMemberResponse)))) :<|> ((TelegramToken :> ("unbanChatMember" :> (QueryParam "chat_id" Text :> (QueryParam "user_id" Int :> Post '[JSON] UnbanChatMemberResponse)))) :<|> ((TelegramToken :> ("editMessageText" :> (ReqBody '[JSON] EditMessageTextRequest :> Post '[JSON] MessageResponse))) :<|> ((TelegramToken :> ("editMessageCaption" :> (ReqBody '[JSON] EditMessageCaptionRequest :> Post '[JSON] MessageResponse))) :<|> (TelegramToken :> ("editMessageReplyMarkup" :> (ReqBody '[JSON] EditMessageReplyMarkupRequest :> Post '[JSON] MessageResponse)))))))))))))))))))))))))) -- | Proxy for Thelegram Bot API api :: Proxy TelegramBotAPI -- | Telegram Bot's Token newtype Token Token :: Text -> Token instance Web.HttpApiData.Internal.FromHttpApiData Web.Telegram.API.Bot.API.Token instance Web.HttpApiData.Internal.ToHttpApiData Web.Telegram.API.Bot.API.Token instance GHC.Classes.Ord Web.Telegram.API.Bot.API.Token instance GHC.Classes.Eq Web.Telegram.API.Bot.API.Token instance GHC.Show.Show Web.Telegram.API.Bot.API.Token -- | This module provides Telegram Bot API module Web.Telegram.API.Bot