haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.Venue

Documentation

data Venue Source #

Constructors

Venue

Describes a venue

Fields

  • location :: Maybe Location

    Venue location; as defined by the sender

  • title :: Maybe Text

    Venue name; as defined by the sender

  • address :: Maybe Text

    Venue address; as defined by the sender

  • provider :: Maybe Text

    Provider of the venue database; as defined by the sender. Currently, only "foursquare" and "gplaces" (Google Places) need to be supported

  • _id :: Maybe Text

    Identifier of the venue in the provider database; as defined by the sender

  • _type :: Maybe Text

    Type of the venue in the provider database; as defined by the sender

Instances

Instances details
FromJSON Venue Source # 
Instance details

Defined in TD.Data.Venue

ToJSON Venue Source # 
Instance details

Defined in TD.Data.Venue

Show Venue Source # 
Instance details

Defined in TD.Data.Venue

Methods

showsPrec :: Int -> Venue -> ShowS #

show :: Venue -> String #

showList :: [Venue] -> ShowS #

Eq Venue Source # 
Instance details

Defined in TD.Data.Venue

Methods

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

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

ShortShow Venue Source # 
Instance details

Defined in TD.Data.Venue