telegram-types-0.1.0: Types used in Telegram bot API

Safe HaskellNone
LanguageHaskell2010

Web.Telegram.Types

Contents

Synopsis

User

data User Source #

A Telegram user or bot.

Constructors

User 

Fields

Instances
Eq User Source # 
Instance details

Defined in Web.Telegram.Types.Internal.User

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

Show User Source # 
Instance details

Defined in Web.Telegram.Types.Internal.User

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User Source # 
Instance details

Defined in Web.Telegram.Types.Internal.User

Associated Types

type Rep User :: Type -> Type #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

ToJSON User Source # 
Instance details

Defined in Web.Telegram.Types.Internal.User

FromJSON User Source # 
Instance details

Defined in Web.Telegram.Types.Internal.User

ToHttpApiData User Source # 
Instance details

Defined in Web.Telegram.Types.Internal.User

Default User Source # 
Instance details

Defined in Web.Telegram.Types.Internal.User

Methods

def :: User Source #

type Rep User Source # 
Instance details

Defined in Web.Telegram.Types.Internal.User

Message

data Message Source #

Constructors

Msg 
Instances
Eq Message Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Methods

(==) :: Message -> Message -> Bool #

(/=) :: Message -> Message -> Bool #

Show Message Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Generic Message Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Associated Types

type Rep Message :: Type -> Type #

Methods

from :: Message -> Rep Message x #

to :: Rep Message x -> Message #

ToJSON Message Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

FromJSON Message Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

ToHttpApiData Message Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default Message Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Methods

def :: Message Source #

type Rep Message Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

type Rep Message = D1 (MetaData "Message" "Web.Telegram.Types.Internal.Common" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "Msg" PrefixI True) (S1 (MetaSel (Just "metadata") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 MessageMetadata) :*: S1 (MetaSel (Just "content") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 MessageContent)))

data MessageMetadata Source #

 
Instances
Eq MessageMetadata Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Show MessageMetadata Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Generic MessageMetadata Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Associated Types

type Rep MessageMetadata :: Type -> Type #

ToJSON MessageMetadata Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

FromJSON MessageMetadata Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

ToHttpApiData MessageMetadata Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default MessageMetadata Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

type Rep MessageMetadata Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

type Rep MessageMetadata = D1 (MetaData "MessageMetadata" "Web.Telegram.Types.Internal.Common" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "MMetadata" PrefixI True) (((S1 (MetaSel (Just "messageId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer) :*: (S1 (MetaSel (Just "from") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe User)) :*: S1 (MetaSel (Just "date") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer))) :*: ((S1 (MetaSel (Just "chat") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Chat) :*: S1 (MetaSel (Just "forwardFrom") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe User))) :*: (S1 (MetaSel (Just "forwardFromChat") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Chat)) :*: S1 (MetaSel (Just "forwardFromMessageId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Integer))))) :*: (((S1 (MetaSel (Just "forwardSignature") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "forwardSenderName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "forwardDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "replyToMessage") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Message)))) :*: ((S1 (MetaSel (Just "editDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "mediaGroupId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "authorSignature") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "replyMarkup") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe InlineKeyboardMarkup)))))))

data MessageEntity Source #

Constructors

MessageEntity 

Fields

Instances
Eq MessageEntity Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Show MessageEntity Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Generic MessageEntity Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Associated Types

type Rep MessageEntity :: Type -> Type #

ToJSON MessageEntity Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

FromJSON MessageEntity Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

ToHttpApiData MessageEntity Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default MessageEntity Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

type Rep MessageEntity Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

data MessageContent Source #

Constructors

TextM 
AudioM 
DocumentM 
AnimationM 

Fields

GameM 

Fields

PhotoM 
StickerM 

Fields

VideoM 
VoiceM 
VideoNoteM 

Fields

ContactM 

Fields

LocationM 

Fields

VenueM 

Fields

PollM 

Fields

NewChatMembers 

Fields

LeftChatMember 

Fields

NewChatPhoto 

Fields

DeleteChatPhoto 
GroupChatCreated 
SupergroupChatCreated 
ChannelChatCreated 
MigrateToChatId 
MigrateFromChatId 
PinnedMessage 
InvoiceM 

Fields

SuccessfulPaymentM 
ConnectedWebsite 
PassportData 

Fields

Instances
Eq MessageContent Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Show MessageContent Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Generic MessageContent Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Associated Types

type Rep MessageContent :: Type -> Type #

ToJSON MessageContent Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

FromJSON MessageContent Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

ToHttpApiData MessageContent Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default MessageContent Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

type Rep MessageContent Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

data ParseMode Source #

Constructors

MarkdownV2 
HTML 
Markdown 
Instances
Eq ParseMode Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Ord ParseMode Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Show ParseMode Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Generic ParseMode Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Associated Types

type Rep ParseMode :: Type -> Type #

ToJSON ParseMode Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

FromJSON ParseMode Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

ToHttpApiData ParseMode Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Default ParseMode Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Methods

def :: ParseMode Source #

type Rep ParseMode Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

type Rep ParseMode = D1 (MetaData "ParseMode" "Web.Telegram.Types.Internal.InputMedia" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "MarkdownV2" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "HTML" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Markdown" PrefixI False) (U1 :: Type -> Type)))

Chat

data ChatId Source #

Constructors

ChatId Integer 
ChanId Text 
Instances
Eq ChatId Source # 
Instance details

Defined in Web.Telegram.Types

Methods

(==) :: ChatId -> ChatId -> Bool #

(/=) :: ChatId -> ChatId -> Bool #

Show ChatId Source # 
Instance details

Defined in Web.Telegram.Types

Generic ChatId Source # 
Instance details

Defined in Web.Telegram.Types

Associated Types

type Rep ChatId :: Type -> Type #

Methods

from :: ChatId -> Rep ChatId x #

to :: Rep ChatId x -> ChatId #

ToJSON ChatId Source # 
Instance details

Defined in Web.Telegram.Types

FromJSON ChatId Source # 
Instance details

Defined in Web.Telegram.Types

ToHttpApiData ChatId Source # 
Instance details

Defined in Web.Telegram.Types

Default ChatId Source # 
Instance details

Defined in Web.Telegram.Types

Methods

def :: ChatId Source #

type Rep ChatId Source # 
Instance details

Defined in Web.Telegram.Types

type Rep ChatId = D1 (MetaData "ChatId" "Web.Telegram.Types" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "ChatId" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)) :+: C1 (MetaCons "ChanId" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

data Chat Source #

Instances
Eq Chat Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Methods

(==) :: Chat -> Chat -> Bool #

(/=) :: Chat -> Chat -> Bool #

Show Chat Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Methods

showsPrec :: Int -> Chat -> ShowS #

show :: Chat -> String #

showList :: [Chat] -> ShowS #

Generic Chat Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Associated Types

type Rep Chat :: Type -> Type #

Methods

from :: Chat -> Rep Chat x #

to :: Rep Chat x -> Chat #

ToJSON Chat Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

FromJSON Chat Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

ToHttpApiData Chat Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default Chat Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Methods

def :: Chat Source #

type Rep Chat Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

type Rep Chat

data ChatPermissions Source #

Instances
Eq ChatPermissions Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Show ChatPermissions Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Generic ChatPermissions Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Associated Types

type Rep ChatPermissions :: Type -> Type #

ToJSON ChatPermissions Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

FromJSON ChatPermissions Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

ToHttpApiData ChatPermissions Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default ChatPermissions Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

type Rep ChatPermissions Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

type Rep ChatPermissions = D1 (MetaData "ChatPermissions" "Web.Telegram.Types.Internal.Common" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "ChatPermissions" PrefixI True) (((S1 (MetaSel (Just "canSendMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "canSendMediaMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "canSendPolls") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "canSendOtherMesssages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "canAddWebPagePreviews") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "canChangeInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "canInviteUsers") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "canPinMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))))

data ChatPhoto Source #

Instances
Eq ChatPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Show ChatPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Generic ChatPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Associated Types

type Rep ChatPhoto :: Type -> Type #

ToJSON ChatPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

FromJSON ChatPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

ToHttpApiData ChatPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default ChatPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Methods

def :: ChatPhoto Source #

type Rep ChatPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

type Rep ChatPhoto = D1 (MetaData "ChatPhoto" "Web.Telegram.Types.Internal.Common" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "ChatPhoto" PrefixI True) ((S1 (MetaSel (Just "smallFileId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "smallFileUniqueId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "bigFileId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "bitFileUniqueId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))

data ChatMember Source #

Instances
Eq ChatMember Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Show ChatMember Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Generic ChatMember Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Associated Types

type Rep ChatMember :: Type -> Type #

ToJSON ChatMember Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

FromJSON ChatMember Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

ToHttpApiData ChatMember Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default ChatMember Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

type Rep ChatMember Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

type Rep ChatMember = D1 (MetaData "ChatMember" "Web.Telegram.Types.Internal.Common" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "ChatMember" PrefixI True) ((((S1 (MetaSel (Just "user") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 User) :*: S1 (MetaSel (Just "status") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "customTitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "untilDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Integer)))) :*: ((S1 (MetaSel (Just "canBeEdited") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "canPostMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "canEditMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "canDeleteMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "canRestrictMembers") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)))))) :*: (((S1 (MetaSel (Just "canPromoteMembers") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "canChangeInfo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "canInviteUsers") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "canPinMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "isMember") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "canSendMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "canSendMediaMessages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "canSendPolls") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "canSendOtherMesssages") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "canAddWebPagePreviews") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))))))

Media Types

Image

data PhotoSize Source #

Instances
Eq PhotoSize Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Show PhotoSize Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Generic PhotoSize Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep PhotoSize :: Type -> Type #

ToJSON PhotoSize Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON PhotoSize Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData PhotoSize Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default PhotoSize Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: PhotoSize Source #

type Rep PhotoSize Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Audio

data Audio Source #

Instances
Eq Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

(==) :: Audio -> Audio -> Bool #

(/=) :: Audio -> Audio -> Bool #

Show Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

showsPrec :: Int -> Audio -> ShowS #

show :: Audio -> String #

showList :: [Audio] -> ShowS #

Generic Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep Audio :: Type -> Type #

Methods

from :: Audio -> Rep Audio x #

to :: Rep Audio x -> Audio #

ToJSON Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Audio Source #

type Rep Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Animation

data Animation Source #

Instances
Eq Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Show Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Generic Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep Animation :: Type -> Type #

ToJSON Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Animation Source #

type Rep Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Document

data Document Source #

Instances
Eq Document Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Show Document Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Generic Document Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep Document :: Type -> Type #

Methods

from :: Document -> Rep Document x #

to :: Rep Document x -> Document #

ToJSON Document Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON Document Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData Document Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default Document Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Document Source #

type Rep Document Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Video

data Video Source #

Instances
Eq Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

(==) :: Video -> Video -> Bool #

(/=) :: Video -> Video -> Bool #

Show Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

showsPrec :: Int -> Video -> ShowS #

show :: Video -> String #

showList :: [Video] -> ShowS #

Generic Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep Video :: Type -> Type #

Methods

from :: Video -> Rep Video x #

to :: Rep Video x -> Video #

ToJSON Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Video Source #

type Rep Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Voice

data Voice Source #

Instances
Eq Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

(==) :: Voice -> Voice -> Bool #

(/=) :: Voice -> Voice -> Bool #

Show Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

showsPrec :: Int -> Voice -> ShowS #

show :: Voice -> String #

showList :: [Voice] -> ShowS #

Generic Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep Voice :: Type -> Type #

Methods

from :: Voice -> Rep Voice x #

to :: Rep Voice x -> Voice #

ToJSON Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Voice Source #

type Rep Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

VideoNote

data VideoNote Source #

Instances
Eq VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Show VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Generic VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep VideoNote :: Type -> Type #

ToJSON VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: VideoNote Source #

type Rep VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Contact

data Contact Source #

Instances
Eq Contact Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

(==) :: Contact -> Contact -> Bool #

(/=) :: Contact -> Contact -> Bool #

Show Contact Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Generic Contact Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep Contact :: Type -> Type #

Methods

from :: Contact -> Rep Contact x #

to :: Rep Contact x -> Contact #

ToJSON Contact Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON Contact Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData Contact Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default Contact Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Contact Source #

type Rep Contact Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Location

data Location Source #

Constructors

Location 

Fields

Instances
Eq Location Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Show Location Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Generic Location Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep Location :: Type -> Type #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

ToJSON Location Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON Location Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData Location Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default Location Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Location Source #

type Rep Location Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

type Rep Location = D1 (MetaData "Location" "Web.Telegram.Types.Internal.Media" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "Location" PrefixI True) (S1 (MetaSel (Just "longitude") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Float) :*: S1 (MetaSel (Just "latitude") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Float)))

Venue

data Venue Source #

Instances
Eq Venue Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

(==) :: Venue -> Venue -> Bool #

(/=) :: Venue -> Venue -> Bool #

Show Venue Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

showsPrec :: Int -> Venue -> ShowS #

show :: Venue -> String #

showList :: [Venue] -> ShowS #

Generic Venue Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep Venue :: Type -> Type #

Methods

from :: Venue -> Rep Venue x #

to :: Rep Venue x -> Venue #

ToJSON Venue Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON Venue Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData Venue Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default Venue Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Venue Source #

type Rep Venue Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

PollOption

data PollOption Source #

Constructors

PollOption 

Fields

Instances
Eq PollOption Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Show PollOption Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Generic PollOption Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep PollOption :: Type -> Type #

ToJSON PollOption Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON PollOption Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData PollOption Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default PollOption Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

type Rep PollOption Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

type Rep PollOption = D1 (MetaData "PollOption" "Web.Telegram.Types.Internal.Media" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "PollOption" PrefixI True) (S1 (MetaSel (Just "text") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "voterCount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)))

Poll

data Poll Source #

Instances
Eq Poll Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

(==) :: Poll -> Poll -> Bool #

(/=) :: Poll -> Poll -> Bool #

Show Poll Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

showsPrec :: Int -> Poll -> ShowS #

show :: Poll -> String #

showList :: [Poll] -> ShowS #

Generic Poll Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep Poll :: Type -> Type #

Methods

from :: Poll -> Rep Poll x #

to :: Rep Poll x -> Poll #

ToJSON Poll Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON Poll Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData Poll Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default Poll Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Poll Source #

type Rep Poll Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

data PollType Source #

Constructors

Regular 
Quiz 
Instances
Eq PollType Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Show PollType Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Generic PollType Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep PollType :: Type -> Type #

Methods

from :: PollType -> Rep PollType x #

to :: Rep PollType x -> PollType #

ToJSON PollType Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON PollType Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData PollType Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default PollType Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: PollType Source #

type Rep PollType Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

type Rep PollType = D1 (MetaData "PollType" "Web.Telegram.Types.Internal.Media" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "Regular" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Quiz" PrefixI False) (U1 :: Type -> Type))

PollAnswer

data PollAnswer Source #

Constructors

PollAnswer 

Fields

Instances
Eq PollAnswer Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Show PollAnswer Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Generic PollAnswer Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep PollAnswer :: Type -> Type #

ToJSON PollAnswer Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON PollAnswer Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData PollAnswer Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default PollAnswer Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

type Rep PollAnswer Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

type Rep PollAnswer = D1 (MetaData "PollAnswer" "Web.Telegram.Types.Internal.Media" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "PollAnswer" PrefixI True) (S1 (MetaSel (Just "pollId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "user") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 User) :*: S1 (MetaSel (Just "optionIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Integer]))))

Avatar

data UserProfilePhotos Source #

Constructors

UserProfilePhotos 

Fields

Instances
Eq UserProfilePhotos Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Show UserProfilePhotos Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Generic UserProfilePhotos Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep UserProfilePhotos :: Type -> Type #

ToJSON UserProfilePhotos Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON UserProfilePhotos Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData UserProfilePhotos Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default UserProfilePhotos Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

type Rep UserProfilePhotos Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

type Rep UserProfilePhotos = D1 (MetaData "UserProfilePhotos" "Web.Telegram.Types.Internal.Media" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "UserProfilePhotos" PrefixI True) (S1 (MetaSel (Just "totalCount") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer) :*: S1 (MetaSel (Just "photos") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [[PhotoSize]])))

File

data File Source #

Constructors

File 
Instances
Eq File Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

(==) :: File -> File -> Bool #

(/=) :: File -> File -> Bool #

Show File Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

showsPrec :: Int -> File -> ShowS #

show :: File -> String #

showList :: [File] -> ShowS #

Generic File Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Associated Types

type Rep File :: Type -> Type #

Methods

from :: File -> Rep File x #

to :: Rep File x -> File #

ToJSON File Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

FromJSON File Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

ToHttpApiData File Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default File Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: File Source #

type Rep File Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

type Rep File = D1 (MetaData "File" "Web.Telegram.Types.Internal.Media" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "File" PrefixI True) ((S1 (MetaSel (Just "fileId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "fileUniqueId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "fileSize") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "filePath") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))))

Stickers

data Sticker Source #

Instances
Eq Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Methods

(==) :: Sticker -> Sticker -> Bool #

(/=) :: Sticker -> Sticker -> Bool #

Show Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Generic Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Associated Types

type Rep Sticker :: Type -> Type #

Methods

from :: Sticker -> Rep Sticker x #

to :: Rep Sticker x -> Sticker #

ToJSON Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

FromJSON Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

ToHttpApiData Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Default Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Methods

def :: Sticker Source #

type Rep Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

data StickerSet Source #

Constructors

StickerSet 
Instances
Eq StickerSet Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Show StickerSet Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Generic StickerSet Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Associated Types

type Rep StickerSet :: Type -> Type #

ToJSON StickerSet Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

FromJSON StickerSet Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

ToHttpApiData StickerSet Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Default StickerSet Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

type Rep StickerSet Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

data MaskPosition Source #

Constructors

MaskPosition 

Fields

Instances
Eq MaskPosition Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Show MaskPosition Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Generic MaskPosition Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Associated Types

type Rep MaskPosition :: Type -> Type #

ToJSON MaskPosition Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

FromJSON MaskPosition Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

ToHttpApiData MaskPosition Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Default MaskPosition Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

type Rep MaskPosition Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

type Rep MaskPosition = D1 (MetaData "MaskPosition" "Web.Telegram.Types.Internal.Sticker" "telegram-types-0.1.0-6TiTf83FaoyKIwaUxcYK63" False) (C1 (MetaCons "MaskPosition" PrefixI True) ((S1 (MetaSel (Just "point") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "xShift") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Float)) :*: (S1 (MetaSel (Just "yShift") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Float) :*: S1 (MetaSel (Just "scale") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Float))))

Misc

data SuccessfulPayment Source #

Instances
Eq SuccessfulPayment Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Show SuccessfulPayment Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Generic SuccessfulPayment Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Associated Types

type Rep SuccessfulPayment :: Type -> Type #

ToJSON SuccessfulPayment Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

FromJSON SuccessfulPayment Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

ToHttpApiData SuccessfulPayment Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default SuccessfulPayment Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

type Rep SuccessfulPayment Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Utilities

coe :: Coercible a b => a -> b Source #

Alias to coerce

liftUnion :: (Typeable a, Elem a s) => a -> Union s #

type QueryR = QueryParam' '[Required, Strict] Source #

Alias to required param

class Default a where Source #

A class for types with a default value.

Minimal complete definition

Nothing

Methods

def :: a Source #

def :: (Generic a, GDefault (Rep a)) => a Source #

Instances
Default Bool Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Bool Source #

Default Double Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Double Source #

Default Float Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Float Source #

Default Int Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Int Source #

Default Int8 Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Int8 Source #

Default Int16 Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Int16 Source #

Default Int32 Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Int32 Source #

Default Int64 Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Int64 Source #

Default Integer Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Integer Source #

Default () Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: () Source #

Default ByteString Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Default Text Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Text Source #

Default User Source # 
Instance details

Defined in Web.Telegram.Types.Internal.User

Methods

def :: User Source #

Default UpdateType Source # 
Instance details

Defined in Web.Telegram.Types.Internal.UpdateType

Default File Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: File Source #

Default UserProfilePhotos Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default Poll Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Poll Source #

Default PollType Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: PollType Source #

Default PollAnswer Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default PollOption Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Default Venue Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Venue Source #

Default Location Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Location Source #

Default Contact Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Contact Source #

Default VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: VideoNote Source #

Default Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Voice Source #

Default Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Animation Source #

Default Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Video Source #

Default Document Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Document Source #

Default Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: Audio Source #

Default PhotoSize Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Media

Methods

def :: PhotoSize Source #

Default MaskPosition Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Default StickerSet Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Default Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Sticker

Methods

def :: Sticker Source #

Default ForceReply Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Keyboard

Default LoginUrl Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Keyboard

Methods

def :: LoginUrl Source #

Default InlineKeyboardButton Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Keyboard

Default InlineKeyboardMarkup Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Keyboard

Default ReplyKeyboardRemove Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Keyboard

Default KeyboardButtonPollType Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Keyboard

Default KeyboardButton Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Keyboard

Default ReplyKeyboardMarkup Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Keyboard

Default Media Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Media Source #

Default TgsSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Default PngSticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Default Sticker Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Sticker Source #

Default VideoNote Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: VideoNote Source #

Default Voice Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Voice Source #

Default Animation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Animation Source #

Default Video Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Video Source #

Default Doc Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Doc Source #

Default Audio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Audio Source #

Default Photo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Photo Source #

Default Thumb Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Thumb Source #

Default Cert Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: Cert Source #

Default InputFile Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputFile

Methods

def :: InputFile Source #

Default InputMessageContent Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Default InputMediaVideo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Default InputMediaPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Default InputMediaDocument Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Default InputMediaAudio Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Default InputMediaAnimation Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Default ParseMode Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InputMedia

Methods

def :: ParseMode Source #

Default ChosenInlineResult Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InlineQuery

Default InlineQueryResult Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InlineQuery

Default InlineQuery Source # 
Instance details

Defined in Web.Telegram.Types.Internal.InlineQuery

Default ResponseParameters Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default PreCheckoutQuery Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default ShippingQuery Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default SuccessfulPayment Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default BotCommand Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default ChatPermissions Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default ChatMember Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default ChatPhoto Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Methods

def :: ChatPhoto Source #

Default CallbackQuery Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default MessageEntity Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default MessageContent Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default MessageMetadata Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Default Message Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Methods

def :: Message Source #

Default Chat Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Common

Methods

def :: Chat Source #

Default WebhookInfo Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Update

Default Update Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Update

Methods

def :: Update Source #

Default Action Source # 
Instance details

Defined in Web.Telegram.Types.Interaction

Methods

def :: Action Source #

Default ChatId Source # 
Instance details

Defined in Web.Telegram.Types

Methods

def :: ChatId Source #

Default [a] Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: [a] Source #

Default (Maybe a) Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Maybe a Source #

(Default a, Typeable a) => Default (Union (a ': as)) Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Union (a ': as) Source #

Default a => Default (Either a b) Source # 
Instance details

Defined in Web.Telegram.Types.Internal.Utils.Default

Methods

def :: Either a b Source #