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.UsersShared

Contents

Synopsis

UsersShared

data UsersShared Source #

This object contains information about the users whose identifiers were shared with the bot using a KeyboardButtonRequestUsers button.

Constructors

UsersShared 

Fields

  • usersSharedRequestId :: RequestId

    Identifier of the request.

  • usersSharedUserId :: [UserId]

    Identifiers of the shared users. These numbers may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting them. But they have at most 52 significant bits, so 64-bit integers or double-precision float types are safe for storing these identifiers. The bot may not have access to the users and could be unable to use these identifiers, unless the users are already known to the bot by some other means.

Instances

Instances details
FromJSON UsersShared Source # 
Instance details

Defined in Telegram.Bot.API.Types.UsersShared

ToJSON UsersShared Source # 
Instance details

Defined in Telegram.Bot.API.Types.UsersShared

Generic UsersShared Source # 
Instance details

Defined in Telegram.Bot.API.Types.UsersShared

Associated Types

type Rep UsersShared :: Type -> Type #

Show UsersShared Source # 
Instance details

Defined in Telegram.Bot.API.Types.UsersShared

type Rep UsersShared Source # 
Instance details

Defined in Telegram.Bot.API.Types.UsersShared

type Rep UsersShared = D1 ('MetaData "UsersShared" "Telegram.Bot.API.Types.UsersShared" "telegram-bot-api-7.0-2XShkJeCLX71W7OKNKemWZ" 'False) (C1 ('MetaCons "UsersShared" 'PrefixI 'True) (S1 ('MetaSel ('Just "usersSharedRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 RequestId) :*: S1 ('MetaSel ('Just "usersSharedUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [UserId])))