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

Telegram.Bot.API.Types.Story

Contents

Synopsis

Story

newtype StoryId Source #

Unique identifier for the story in the chat

Constructors

StoryId Int 

data Story Source #

This object represents a message about a story.

Constructors

Story 

Fields

Instances

Instances details
FromJSON Story Source # 
Instance details

Defined in Telegram.Bot.API.Types.Story

ToJSON Story Source # 
Instance details

Defined in Telegram.Bot.API.Types.Story

Generic Story Source # 
Instance details

Defined in Telegram.Bot.API.Types.Story

Associated Types

type Rep Story :: Type -> Type #

Methods

from :: Story -> Rep Story x #

to :: Rep Story x -> Story #

Show Story Source # 
Instance details

Defined in Telegram.Bot.API.Types.Story

Methods

showsPrec :: Int -> Story -> ShowS #

show :: Story -> String #

showList :: [Story] -> ShowS #

type Rep Story Source # 
Instance details

Defined in Telegram.Bot.API.Types.Story

type Rep Story = D1 ('MetaData "Story" "Telegram.Bot.API.Types.Story" "telegram-bot-api-7.4.3-38UQu7GyDDHHZ1He0cP5zf" 'False) (C1 ('MetaCons "Story" 'PrefixI 'True) (S1 ('MetaSel ('Just "storyChat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Chat) :*: S1 ('MetaSel ('Just "storyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StoryId)))