Safe Haskell | None |
---|---|
Language | Haskell2010 |
Web.Telegram.API.Bot.Responses
Contents
Description
This module contains responses from Telegram Bot API
- data GetMeResponse = GetMeResponse {
- user_result :: User
- data MessageResponse = MessageResponse {}
- data ChatActionResponse = ChatActionResponse {}
- data UpdatesResponse = UpdatesResponse {
- update_result :: [Update]
- data FileResponse = FileResponse {
- file_result :: File
- data UserProfilePhotosResponse = UserProfilePhotosResponse {}
- data SetWebhookResponse = SetWebhookResponse {}
- data InlineQueryResponse = InlineQueryResponse {
- query_result :: Bool
- data CallbackQueryResponse = CallbackQueryResponse {}
- data KickChatMemberResponse = KickChatMemberResponse {
- kick_result :: Bool
- data LeaveChatResponse = LeaveChatResponse {
- leave_result :: Bool
- data UnbanChatMemberResponse = UnbanChatMemberResponse {
- unban_result :: Bool
- data GetChatResponse = GetChatResponse {
- chat_result :: Chat
- data GetChatAdministratorsResponse = GetChatAdministratorsResponse {
- ca_result :: [ChatMember]
- data GetChatMembersCountResponse = GetChatMembersCountResponse {
- cmc_result :: Int
- data GetChatMemberResponse = GetChatMemberResponse {
- gcm_result :: Int
Types
data GetMeResponse Source #
This object represents getMe
response
Constructors
GetMeResponse | |
Fields
|
Instances
data MessageResponse Source #
This object represents message response
Constructors
MessageResponse | |
Fields |
data ChatActionResponse Source #
This object represents sendChatAction
response
Constructors
ChatActionResponse | |
Fields |
data UpdatesResponse Source #
This object represents getUpdates
response
Constructors
UpdatesResponse | |
Fields
|
data FileResponse Source #
This object represents file response
Constructors
FileResponse | |
Fields
|
Instances
data UserProfilePhotosResponse Source #
This object represents user profile photos response
Constructors
UserProfilePhotosResponse | |
Fields |
data SetWebhookResponse Source #
This object represents setWebhook
response
Constructors
SetWebhookResponse | |
Fields |
data InlineQueryResponse Source #
This object represents answerInlineQuery
response
Constructors
InlineQueryResponse | |
Fields
|
data CallbackQueryResponse Source #
This object represents answerCallbackQuery
response
Constructors
CallbackQueryResponse | |
Fields |
data KickChatMemberResponse Source #
This object represents kickChatMember
response
Constructors
KickChatMemberResponse | |
Fields
|
data LeaveChatResponse Source #
Constructors
LeaveChatResponse | |
Fields
|
data UnbanChatMemberResponse Source #
This object represents unbanChatMember
response
Constructors
UnbanChatMemberResponse | |
Fields
|
data GetChatResponse Source #
Constructors
GetChatResponse | |
Fields
|
data GetChatAdministratorsResponse Source #
Constructors
GetChatAdministratorsResponse | |
Fields
|
data GetChatMembersCountResponse Source #
Constructors
GetChatMembersCountResponse | |
Fields
|
data GetChatMemberResponse Source #
Constructors
GetChatMemberResponse | |
Fields
|