telegram-bot-api-7.0: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Types.SwitchInlineQueryChosenChat

Synopsis

SwitchInlineQueryChosenChat

data SwitchInlineQueryChosenChat Source #

This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.

Constructors

SwitchInlineQueryChosenChat 

Fields

Instances

Instances details
FromJSON SwitchInlineQueryChosenChat Source # 
Instance details

Defined in Telegram.Bot.API.Types.SwitchInlineQueryChosenChat

ToJSON SwitchInlineQueryChosenChat Source # 
Instance details

Defined in Telegram.Bot.API.Types.SwitchInlineQueryChosenChat

Generic SwitchInlineQueryChosenChat Source # 
Instance details

Defined in Telegram.Bot.API.Types.SwitchInlineQueryChosenChat

Associated Types

type Rep SwitchInlineQueryChosenChat :: Type -> Type #

Show SwitchInlineQueryChosenChat Source # 
Instance details

Defined in Telegram.Bot.API.Types.SwitchInlineQueryChosenChat

type Rep SwitchInlineQueryChosenChat Source # 
Instance details

Defined in Telegram.Bot.API.Types.SwitchInlineQueryChosenChat

type Rep SwitchInlineQueryChosenChat = D1 ('MetaData "SwitchInlineQueryChosenChat" "Telegram.Bot.API.Types.SwitchInlineQueryChosenChat" "telegram-bot-api-7.0-2XShkJeCLX71W7OKNKemWZ" 'False) (C1 ('MetaCons "SwitchInlineQueryChosenChat" 'PrefixI 'True) ((S1 ('MetaSel ('Just "switchInlineQueryChosenChatQuery") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "switchInlineQueryChosenChatAllowUserChats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "switchInlineQueryChosenChatAllowBotChats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "switchInlineQueryChosenChatAllowGroupChats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "switchInlineQueryChosenChatAllowChannelChats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool))))))