-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Types and Functions generated from tdlib api spec
--
-- Please see the README on GitHub at
-- https://github.com/poscat0x04/tdlib-types#readme
@package tdlib-types
@version 0.4.0
module Paths_tdlib_types
version :: Version
getBinDir :: IO FilePath
getLibDir :: IO FilePath
getDynLibDir :: IO FilePath
getDataDir :: IO FilePath
getLibexecDir :: IO FilePath
getDataFileName :: FilePath -> IO FilePath
getSysconfDir :: IO FilePath
-- | TD API data types generated by tdlib-gen
module TDLib.Generated.Types
type I53 = Int
type I32 = Int
type T = Text
data Error
-- | An object of this type can be returned on every function call, in case
-- of an error
Error :: I32 -> T -> Error
-- | Error code; subject to future changes. If the error code is 406, the
-- error message must not be processed in any way and must not be
-- displayed to the user
[$sel:code:Error] :: Error -> I32
-- | Error message; subject to future changes
[$sel:message:Error] :: Error -> T
data Ok
-- | An object of this type is returned on a successful function call for
-- certain functions
Ok :: Ok
data TdlibParameters
-- | Contains parameters for TDLib initialization
TdlibParameters :: Bool -> T -> T -> Bool -> Bool -> Bool -> Bool -> I32 -> T -> T -> T -> T -> T -> Bool -> Bool -> TdlibParameters
-- | If set to true, the Telegram test environment will be used instead of
-- the production environment
[$sel:useTestDc:TdlibParameters] :: TdlibParameters -> Bool
-- | The path to the directory for the persistent database; if empty, the
-- current working directory will be used
[$sel:databaseDirectory:TdlibParameters] :: TdlibParameters -> T
-- | The path to the directory for storing files; if empty,
-- database_directory will be used
[$sel:filesDirectory:TdlibParameters] :: TdlibParameters -> T
-- | If set to true, information about downloaded and uploaded files will
-- be saved between application restarts
[$sel:useFileDatabase:TdlibParameters] :: TdlibParameters -> Bool
-- | If set to true, the library will maintain a cache of users, basic
-- groups, supergroups, channels and secret chats. Implies
-- use_file_database
[$sel:useChatInfoDatabase:TdlibParameters] :: TdlibParameters -> Bool
-- | If set to true, the library will maintain a cache of chats and
-- messages. Implies use_chat_info_database
[$sel:useMessageDatabase:TdlibParameters] :: TdlibParameters -> Bool
-- | If set to true, support for secret chats will be enabled
[$sel:useSecretChats:TdlibParameters] :: TdlibParameters -> Bool
-- | Application identifier for Telegram API access, which can be obtained
-- at https://my.telegram.org
[$sel:apiId:TdlibParameters] :: TdlibParameters -> I32
-- | Application identifier hash for Telegram API access, which can be
-- obtained at https://my.telegram.org
[$sel:apiHash:TdlibParameters] :: TdlibParameters -> T
-- | IETF language tag of the user's operating system language; must be
-- non-empty
[$sel:systemLanguageCode:TdlibParameters] :: TdlibParameters -> T
-- | Model of the device the application is being run on; must be non-empty
[$sel:deviceModel:TdlibParameters] :: TdlibParameters -> T
-- | Version of the operating system the application is being run on; must
-- be non-empty
[$sel:systemVersion:TdlibParameters] :: TdlibParameters -> T
-- | Application version; must be non-empty
[$sel:applicationVersion:TdlibParameters] :: TdlibParameters -> T
-- | If set to true, old files will automatically be deleted
[$sel:enableStorageOptimizer:TdlibParameters] :: TdlibParameters -> Bool
-- | If set to true, original file names will be ignored. Otherwise,
-- downloaded files will be saved under names as close as possible to the
-- original name
[$sel:ignoreFileNames:TdlibParameters] :: TdlibParameters -> Bool
-- | Provides information about the method by which an authentication code
-- is delivered to the user
data AuthenticationCodeType
-- | An authentication code is delivered via a private Telegram message,
-- which can be viewed in another client
AuthenticationCodeTypeTelegramMessage :: I32 -> AuthenticationCodeType
-- | Length of the code
[$sel:length:AuthenticationCodeTypeTelegramMessage] :: AuthenticationCodeType -> I32
-- | An authentication code is delivered via an SMS message to the
-- specified phone number
AuthenticationCodeTypeSms :: I32 -> AuthenticationCodeType
-- | Length of the code
[$sel:length:AuthenticationCodeTypeTelegramMessage] :: AuthenticationCodeType -> I32
-- | An authentication code is delivered via a phone call to the specified
-- phone number
AuthenticationCodeTypeCall :: I32 -> AuthenticationCodeType
-- | Length of the code
[$sel:length:AuthenticationCodeTypeTelegramMessage] :: AuthenticationCodeType -> I32
-- | An authentication code is delivered by an immediately cancelled call
-- to the specified phone number. The number from which the call was made
-- is the code
AuthenticationCodeTypeFlashCall :: T -> AuthenticationCodeType
-- | Pattern of the phone number from which the call will be made
[$sel:pattern_:AuthenticationCodeTypeTelegramMessage] :: AuthenticationCodeType -> T
data AuthenticationCodeInfo
-- | Information about the authentication code that was sent
AuthenticationCodeInfo :: T -> AuthenticationCodeType -> Maybe AuthenticationCodeType -> I32 -> AuthenticationCodeInfo
-- | A phone number that is being authenticated
[$sel:phoneNumber:AuthenticationCodeInfo] :: AuthenticationCodeInfo -> T
-- | Describes the way the code was sent to the user
[$sel:type_:AuthenticationCodeInfo] :: AuthenticationCodeInfo -> AuthenticationCodeType
-- | Describes the way the next code will be sent to the user; may be null
[$sel:nextType:AuthenticationCodeInfo] :: AuthenticationCodeInfo -> Maybe AuthenticationCodeType
-- | Timeout before the code should be re-sent, in seconds
[$sel:timeout:AuthenticationCodeInfo] :: AuthenticationCodeInfo -> I32
data EmailAddressAuthenticationCodeInfo
-- | Information about the email address authentication code that was sent
EmailAddressAuthenticationCodeInfo :: T -> I32 -> EmailAddressAuthenticationCodeInfo
-- | Pattern of the email address to which an authentication code was sent
[$sel:emailAddressPattern:EmailAddressAuthenticationCodeInfo] :: EmailAddressAuthenticationCodeInfo -> T
-- | Length of the code; 0 if unknown
[$sel:length:EmailAddressAuthenticationCodeInfo] :: EmailAddressAuthenticationCodeInfo -> I32
data TextEntity
-- | Represents a part of the text that needs to be formatted in some
-- unusual way
TextEntity :: I32 -> I32 -> TextEntityType -> TextEntity
-- | Offset of the entity in UTF-16 code units
[$sel:offset:TextEntity] :: TextEntity -> I32
-- | Length of the entity, in UTF-16 code units
[$sel:length:TextEntity] :: TextEntity -> I32
-- | Type of the entity
[$sel:type_:TextEntity] :: TextEntity -> TextEntityType
data TextEntities
-- | Contains a list of text entities
TextEntities :: [TextEntity] -> TextEntities
-- | List of text entities
[$sel:entities:TextEntities] :: TextEntities -> [TextEntity]
data FormattedText
-- | A text with some entities
FormattedText :: T -> [TextEntity] -> FormattedText
-- | The text
[$sel:text:FormattedText] :: FormattedText -> T
-- | Entities contained in the text. Entities can be nested, but must not
-- mutually intersect with each other.
[$sel:entities:FormattedText] :: FormattedText -> [TextEntity]
data TermsOfService
-- | Contains Telegram terms of service
TermsOfService :: FormattedText -> I32 -> Bool -> TermsOfService
-- | Text of the terms of service
[$sel:text:TermsOfService] :: TermsOfService -> FormattedText
-- | The minimum age of a user to be able to accept the terms; 0 if any
[$sel:minUserAge:TermsOfService] :: TermsOfService -> I32
-- | True, if a blocking popup with terms of service must be shown to the
-- user
[$sel:showPopup:TermsOfService] :: TermsOfService -> Bool
-- | Represents the current authorization state of the client
data AuthorizationState
-- | TDLib needs TdlibParameters for initialization
AuthorizationStateWaitTdlibParameters :: AuthorizationState
-- | TDLib needs an encryption key to decrypt the local database
AuthorizationStateWaitEncryptionKey :: Bool -> AuthorizationState
-- | True, if the database is currently encrypted
[$sel:isEncrypted:AuthorizationStateWaitTdlibParameters] :: AuthorizationState -> Bool
-- | TDLib needs the user's phone number to authorize. Call
-- setAuthenticationPhoneNumber to provide the phone number, or
-- use requestQrCodeAuthentication, or
-- checkAuthenticationBotToken for other authentication options
AuthorizationStateWaitPhoneNumber :: AuthorizationState
-- | TDLib needs the user's authentication code to authorize
AuthorizationStateWaitCode :: AuthenticationCodeInfo -> AuthorizationState
-- | Information about the authorization code that was sent
[$sel:codeInfo:AuthorizationStateWaitTdlibParameters] :: AuthorizationState -> AuthenticationCodeInfo
-- | The user needs to confirm authorization on another logged in device by
-- scanning a QR code with the provided link
AuthorizationStateWaitOtherDeviceConfirmation :: T -> AuthorizationState
-- | A tg:// URL for the QR code. The link will be updated frequently
[$sel:link:AuthorizationStateWaitTdlibParameters] :: AuthorizationState -> T
-- | The user is unregistered and need to accept terms of service and enter
-- their first name and last name to finish registration
AuthorizationStateWaitRegistration :: TermsOfService -> AuthorizationState
-- | Telegram terms of service
[$sel:termsOfService:AuthorizationStateWaitTdlibParameters] :: AuthorizationState -> TermsOfService
-- | The user has been authorized, but needs to enter a password to start
-- using the application
AuthorizationStateWaitPassword :: T -> Bool -> T -> AuthorizationState
-- | Hint for the password; may be empty
[$sel:passwordHint:AuthorizationStateWaitTdlibParameters] :: AuthorizationState -> T
-- | True, if a recovery email address has been set up
[$sel:hasRecoveryEmailAddress:AuthorizationStateWaitTdlibParameters] :: AuthorizationState -> Bool
-- | Pattern of the email address to which the recovery email was sent;
-- empty until a recovery email has been sent
[$sel:recoveryEmailAddressPattern:AuthorizationStateWaitTdlibParameters] :: AuthorizationState -> T
-- | The user has been successfully authorized. TDLib is now ready to
-- answer queries
AuthorizationStateReady :: AuthorizationState
-- | The user is currently logging out
AuthorizationStateLoggingOut :: AuthorizationState
-- | TDLib is closing, all subsequent queries will be answered with the
-- error 500. Note that closing TDLib can take a while. All resources
-- will be freed only after authorizationStateClosed has been received
AuthorizationStateClosing :: AuthorizationState
-- | TDLib client is in its final state. All databases are closed and all
-- resources are released. No other updates will be received after this.
-- All queries will be responded to
AuthorizationStateClosed :: AuthorizationState
data PasswordState
-- | Represents the current state of 2-step verification
PasswordState :: Bool -> T -> Bool -> Bool -> Maybe EmailAddressAuthenticationCodeInfo -> PasswordState
-- | True, if a 2-step verification password is set
[$sel:hasPassword:PasswordState] :: PasswordState -> Bool
-- | Hint for the password; may be empty
[$sel:passwordHint:PasswordState] :: PasswordState -> T
-- | True, if a recovery email is set
[$sel:hasRecoveryEmailAddress:PasswordState] :: PasswordState -> Bool
-- | True, if some Telegram Passport elements were saved
[$sel:hasPassportData:PasswordState] :: PasswordState -> Bool
-- | Information about the recovery email address to which the confirmation
-- email was sent; may be null
[$sel:recoveryEmailAddressCodeInfo:PasswordState] :: PasswordState -> Maybe EmailAddressAuthenticationCodeInfo
data RecoveryEmailAddress
-- | Contains information about the current recovery email address
RecoveryEmailAddress :: T -> RecoveryEmailAddress
-- | Recovery email address
[$sel:recoveryEmailAddress:RecoveryEmailAddress] :: RecoveryEmailAddress -> T
data TemporaryPasswordState
-- | Returns information about the availability of a temporary password,
-- which can be used for payments
TemporaryPasswordState :: Bool -> I32 -> TemporaryPasswordState
-- | True, if a temporary password is available
[$sel:hasPassword:TemporaryPasswordState] :: TemporaryPasswordState -> Bool
-- | Time left before the temporary password expires, in seconds
[$sel:validFor:TemporaryPasswordState] :: TemporaryPasswordState -> I32
data LocalFile
-- | Represents a local file
LocalFile :: T -> Bool -> Bool -> Bool -> Bool -> I32 -> I32 -> I32 -> LocalFile
-- | Local path to the locally available file part; may be empty
[$sel:path:LocalFile] :: LocalFile -> T
-- | True, if it is possible to try to download or generate the file
[$sel:canBeDownloaded:LocalFile] :: LocalFile -> Bool
-- | True, if the file can be deleted
[$sel:canBeDeleted:LocalFile] :: LocalFile -> Bool
-- | True, if the file is currently being downloaded (or a local copy is
-- being generated by some other means)
[$sel:isDownloadingActive:LocalFile] :: LocalFile -> Bool
-- | True, if the local copy is fully available
[$sel:isDownloadingCompleted:LocalFile] :: LocalFile -> Bool
-- | Download will be started from this offset. downloaded_prefix_size is
-- calculated from this offset
[$sel:downloadOffset:LocalFile] :: LocalFile -> I32
-- | If is_downloading_completed is false, then only some prefix of the
-- file starting from download_offset is ready to be read.
-- downloaded_prefix_size is the size of that prefix
[$sel:downloadedPrefixSize:LocalFile] :: LocalFile -> I32
-- | Total downloaded file bytes. Should be used only for calculating
-- download progress. The actual file size may be bigger, and some parts
-- of it may contain garbage
[$sel:downloadedSize:LocalFile] :: LocalFile -> I32
data RemoteFile
-- | Represents a remote file
RemoteFile :: T -> T -> Bool -> Bool -> I32 -> RemoteFile
-- | Remote file identifier; may be empty. Can be used by the current user
-- across application restarts or even from other devices. Uniquely
-- identifies a file, but a file can have a lot of different valid
-- identifiers.
[$sel:id:RemoteFile] :: RemoteFile -> T
-- | Unique file identifier; may be empty if unknown. The unique file
-- identifier which is the same for the same file even for different
-- users and is persistent over time
[$sel:uniqueId:RemoteFile] :: RemoteFile -> T
-- | True, if the file is currently being uploaded (or a remote copy is
-- being generated by some other means)
[$sel:isUploadingActive:RemoteFile] :: RemoteFile -> Bool
-- | True, if a remote copy is fully available
[$sel:isUploadingCompleted:RemoteFile] :: RemoteFile -> Bool
-- | Size of the remote available part of the file; 0 if unknown
[$sel:uploadedSize:RemoteFile] :: RemoteFile -> I32
data File
-- | Represents a file
File :: I32 -> I32 -> I32 -> LocalFile -> RemoteFile -> File
-- | Unique file identifier
[$sel:id:File] :: File -> I32
-- | File size; 0 if unknown
[$sel:size:File] :: File -> I32
-- | Expected file size in case the exact file size is unknown, but an
-- approximate size is known. Can be used to show download/upload
-- progress
[$sel:expectedSize:File] :: File -> I32
-- | Information about the local copy of the file
[$sel:local:File] :: File -> LocalFile
-- | Information about the remote copy of the file
[$sel:remote:File] :: File -> RemoteFile
-- | Points to a file
data InputFile
-- | A file defined by its unique ID
InputFileId :: I32 -> InputFile
-- | Unique file identifier
[$sel:id_2:InputFileId] :: InputFile -> I32
-- | A file defined by its remote ID. The remote ID is guaranteed to be
-- usable only if the corresponding file is still accessible to the user
-- and known to TDLib.
InputFileRemote :: T -> InputFile
-- | Remote file identifier
[$sel:id:InputFileId] :: InputFile -> T
-- | A file defined by a local path
InputFileLocal :: T -> InputFile
-- | Local path to the file
[$sel:path:InputFileId] :: InputFile -> T
-- | A file generated by the client
InputFileGenerated :: T -> T -> I32 -> InputFile
-- | Local path to a file from which the file is generated; may be empty if
-- there is no such file
[$sel:originalPath:InputFileId] :: InputFile -> T
-- | String specifying the conversion applied to the original file; should
-- be persistent across application restarts. Conversions beginning with
-- # are reserved for internal TDLib usage
[$sel:conversion:InputFileId] :: InputFile -> T
-- | Expected size of the generated file; 0 if unknown
[$sel:expectedSize:InputFileId] :: InputFile -> I32
data PhotoSize
-- | Photo description
PhotoSize :: T -> File -> I32 -> I32 -> PhotoSize
-- | Thumbnail type (see
-- https://core.telegram.org/constructor/photoSize)
[$sel:type_:PhotoSize] :: PhotoSize -> T
-- | Information about the photo file
[$sel:photo:PhotoSize] :: PhotoSize -> File
-- | Photo width
[$sel:width:PhotoSize] :: PhotoSize -> I32
-- | Photo height
[$sel:height:PhotoSize] :: PhotoSize -> I32
data Minithumbnail
-- | Thumbnail image of a very poor quality and low resolution
Minithumbnail :: I32 -> I32 -> ByteString64 -> Minithumbnail
-- | Thumbnail width, usually doesn't exceed 40
[$sel:width:Minithumbnail] :: Minithumbnail -> I32
-- | Thumbnail height, usually doesn't exceed 40
[$sel:height:Minithumbnail] :: Minithumbnail -> I32
-- | The thumbnail in JPEG format
[$sel:data_:Minithumbnail] :: Minithumbnail -> ByteString64
-- | Describes format of the thumbnail
data ThumbnailFormat
-- | The thumbnail is in JPEG format
ThumbnailFormatJpeg :: ThumbnailFormat
-- | The thumbnail is in PNG format. It will be used only for background
-- patterns
ThumbnailFormatPng :: ThumbnailFormat
-- | The thumbnail is in WEBP format. It will be used only for some
-- stickers
ThumbnailFormatWebp :: ThumbnailFormat
-- | The thumbnail is in static GIF format. It will be used only for some
-- bot inline results
ThumbnailFormatGif :: ThumbnailFormat
-- | The thumbnail is in TGS format. It will be used only for animated
-- sticker sets
ThumbnailFormatTgs :: ThumbnailFormat
-- | The thumbnail is in MPEG4 format. It will be used only for some
-- animations and videos
ThumbnailFormatMpeg4 :: ThumbnailFormat
data Thumbnail
-- | Represents a thumbnail
Thumbnail :: ThumbnailFormat -> I32 -> I32 -> File -> Thumbnail
-- | Thumbnail format
[$sel:format:Thumbnail] :: Thumbnail -> ThumbnailFormat
-- | Thumbnail width
[$sel:width:Thumbnail] :: Thumbnail -> I32
-- | Thumbnail height
[$sel:height:Thumbnail] :: Thumbnail -> I32
-- | The thumbnail
[$sel:file:Thumbnail] :: Thumbnail -> File
-- | Part of the face, relative to which a mask should be placed
data MaskPoint
-- | A mask should be placed relatively to the forehead
MaskPointForehead :: MaskPoint
-- | A mask should be placed relatively to the eyes
MaskPointEyes :: MaskPoint
-- | A mask should be placed relatively to the mouth
MaskPointMouth :: MaskPoint
-- | A mask should be placed relatively to the chin
MaskPointChin :: MaskPoint
data MaskPosition
-- | Position on a photo where a mask should be placed
MaskPosition :: MaskPoint -> Double -> Double -> Double -> MaskPosition
-- | Part of the face, relative to which the mask should be placed
[$sel:point:MaskPosition] :: MaskPosition -> MaskPoint
-- | Shift by X-axis measured in widths of the mask scaled to the face
-- size, from left to right. (For example, -1.0 will place the mask just
-- to the left of the default mask position)
[$sel:xShift:MaskPosition] :: MaskPosition -> Double
-- | Shift by Y-axis measured in heights of the mask scaled to the face
-- size, from top to bottom. (For example, 1.0 will place the mask just
-- below the default mask position)
[$sel:yShift:MaskPosition] :: MaskPosition -> Double
-- | Mask scaling coefficient. (For example, 2.0 means a doubled size)
[$sel:scale:MaskPosition] :: MaskPosition -> Double
data PollOption
-- | Describes one answer option of a poll
PollOption :: T -> I32 -> I32 -> Bool -> Bool -> PollOption
-- | Option text, 1-100 characters
[$sel:text:PollOption] :: PollOption -> T
-- | Number of voters for this option, available only for closed or voted
-- polls
[$sel:voterCount:PollOption] :: PollOption -> I32
-- | The percentage of votes for this option, 0-100
[$sel:votePercentage:PollOption] :: PollOption -> I32
-- | True, if the option was chosen by the user
[$sel:isChosen:PollOption] :: PollOption -> Bool
-- | True, if the option is being chosen by a pending setPollAnswer request
[$sel:isBeingChosen:PollOption] :: PollOption -> Bool
-- | Describes the type of a poll
data PollType
-- | A regular poll
PollTypeRegular :: Bool -> PollType
-- | True, if multiple answer options can be chosen simultaneously
[$sel:allowMultipleAnswers:PollTypeRegular] :: PollType -> Bool
-- | A poll in quiz mode, which has exactly one correct answer option and
-- can be answered only once
PollTypeQuiz :: I32 -> FormattedText -> PollType
-- | 0-based identifier of the correct answer option; -1 for a yet
-- unanswered poll
[$sel:correctOptionId:PollTypeRegular] :: PollType -> I32
-- | Text that is shown when the user chooses an incorrect answer or taps
-- on the lamp icon, 0-200 characters with at most 2 line feeds; empty
-- for a yet unanswered poll
[$sel:explanation:PollTypeRegular] :: PollType -> FormattedText
data Animation
-- | Describes an animation file. The animation must be encoded in GIF or
-- MPEG4 format
Animation :: I32 -> I32 -> I32 -> T -> T -> Bool -> Maybe Minithumbnail -> Maybe Thumbnail -> File -> Animation
-- | Duration of the animation, in seconds; as defined by the sender
[$sel:duration:Animation] :: Animation -> I32
-- | Width of the animation
[$sel:width:Animation] :: Animation -> I32
-- | Height of the animation
[$sel:height:Animation] :: Animation -> I32
-- | Original name of the file; as defined by the sender
[$sel:fileName:Animation] :: Animation -> T
-- | MIME type of the file, usually "imagegif" or "videomp4"
[$sel:mimeType:Animation] :: Animation -> T
-- | True, if stickers were added to the animation. The list of
-- corresponding sticker set can be received using getAttachedStickerSets
[$sel:hasStickers:Animation] :: Animation -> Bool
-- | Animation minithumbnail; may be null
[$sel:minithumbnail:Animation] :: Animation -> Maybe Minithumbnail
-- | Animation thumbnail in JPEG or MPEG4 format; may be null
[$sel:thumbnail:Animation] :: Animation -> Maybe Thumbnail
-- | File containing the animation
[$sel:animation:Animation] :: Animation -> File
data Audio
-- | Describes an audio file. Audio is usually in MP3 or M4A format
Audio :: I32 -> T -> T -> T -> T -> Maybe Minithumbnail -> Maybe Thumbnail -> File -> Audio
-- | Duration of the audio, in seconds; as defined by the sender
[$sel:duration:Audio] :: Audio -> I32
-- | Title of the audio; as defined by the sender
[$sel:title:Audio] :: Audio -> T
-- | Performer of the audio; as defined by the sender
[$sel:performer:Audio] :: Audio -> T
-- | Original name of the file; as defined by the sender
[$sel:fileName:Audio] :: Audio -> T
-- | The MIME type of the file; as defined by the sender
[$sel:mimeType:Audio] :: Audio -> T
-- | The minithumbnail of the album cover; may be null
[$sel:albumCoverMinithumbnail:Audio] :: Audio -> Maybe Minithumbnail
-- | The thumbnail of the album cover in JPEG format; as defined by the
-- sender. The full size thumbnail should be extracted from the
-- downloaded file; may be null
[$sel:albumCoverThumbnail:Audio] :: Audio -> Maybe Thumbnail
-- | File containing the audio
[$sel:audio:Audio] :: Audio -> File
data Document
-- | Describes a document of any type
Document :: T -> T -> Maybe Minithumbnail -> Maybe Thumbnail -> File -> Document
-- | Original name of the file; as defined by the sender
[$sel:fileName:Document] :: Document -> T
-- | MIME type of the file; as defined by the sender
[$sel:mimeType:Document] :: Document -> T
-- | Document minithumbnail; may be null
[$sel:minithumbnail:Document] :: Document -> Maybe Minithumbnail
-- | Document thumbnail in JPEG or PNG format (PNG will be used only for
-- background patterns); as defined by the sender; may be null
[$sel:thumbnail:Document] :: Document -> Maybe Thumbnail
-- | File containing the document
[$sel:document:Document] :: Document -> File
data Photo
-- | Describes a photo
Photo :: Bool -> Maybe Minithumbnail -> [PhotoSize] -> Photo
-- | True, if stickers were added to the photo. The list of corresponding
-- sticker sets can be received using getAttachedStickerSets
[$sel:hasStickers:Photo] :: Photo -> Bool
-- | Photo minithumbnail; may be null
[$sel:minithumbnail:Photo] :: Photo -> Maybe Minithumbnail
-- | Available variants of the photo, in different sizes
[$sel:sizes:Photo] :: Photo -> [PhotoSize]
data Sticker
-- | Describes a sticker
Sticker :: I64 -> I32 -> I32 -> T -> Bool -> Bool -> Maybe MaskPosition -> Maybe Thumbnail -> File -> Sticker
-- | The identifier of the sticker set to which the sticker belongs; 0 if
-- none
[$sel:setId:Sticker] :: Sticker -> I64
-- | Sticker width; as defined by the sender
[$sel:width:Sticker] :: Sticker -> I32
-- | Sticker height; as defined by the sender
[$sel:height:Sticker] :: Sticker -> I32
-- | Emoji corresponding to the sticker
[$sel:emoji:Sticker] :: Sticker -> T
-- | True, if the sticker is an animated sticker in TGS format
[$sel:isAnimated:Sticker] :: Sticker -> Bool
-- | True, if the sticker is a mask
[$sel:isMask:Sticker] :: Sticker -> Bool
-- | Position where the mask should be placed; may be null
[$sel:maskPosition:Sticker] :: Sticker -> Maybe MaskPosition
-- | Sticker thumbnail in WEBP or JPEG format; may be null
[$sel:thumbnail:Sticker] :: Sticker -> Maybe Thumbnail
-- | File containing the sticker
[$sel:sticker:Sticker] :: Sticker -> File
data Video
-- | Describes a video file
Video :: I32 -> I32 -> I32 -> T -> T -> Bool -> Bool -> Maybe Minithumbnail -> Maybe Thumbnail -> File -> Video
-- | Duration of the video, in seconds; as defined by the sender
[$sel:duration:Video] :: Video -> I32
-- | Video width; as defined by the sender
[$sel:width:Video] :: Video -> I32
-- | Video height; as defined by the sender
[$sel:height:Video] :: Video -> I32
-- | Original name of the file; as defined by the sender
[$sel:fileName:Video] :: Video -> T
-- | MIME type of the file; as defined by the sender
[$sel:mimeType:Video] :: Video -> T
-- | True, if stickers were added to the video. The list of corresponding
-- sticker sets can be received using getAttachedStickerSets
[$sel:hasStickers:Video] :: Video -> Bool
-- | True, if the video should be tried to be streamed
[$sel:supportsStreaming:Video] :: Video -> Bool
-- | Video minithumbnail; may be null
[$sel:minithumbnail:Video] :: Video -> Maybe Minithumbnail
-- | Video thumbnail in JPEG or MPEG4 format; as defined by the sender; may
-- be null
[$sel:thumbnail:Video] :: Video -> Maybe Thumbnail
-- | File containing the video
[$sel:video:Video] :: Video -> File
data VideoNote
-- | Describes a video note. The video must be equal in width and height,
-- cropped to a circle, and stored in MPEG4 format
VideoNote :: I32 -> I32 -> Maybe Minithumbnail -> Maybe Thumbnail -> File -> VideoNote
-- | Duration of the video, in seconds; as defined by the sender
[$sel:duration:VideoNote] :: VideoNote -> I32
-- | Video width and height; as defined by the sender
[$sel:length:VideoNote] :: VideoNote -> I32
-- | Video minithumbnail; may be null
[$sel:minithumbnail:VideoNote] :: VideoNote -> Maybe Minithumbnail
-- | Video thumbnail in JPEG format; as defined by the sender; may be null
[$sel:thumbnail:VideoNote] :: VideoNote -> Maybe Thumbnail
-- | File containing the video
[$sel:video:VideoNote] :: VideoNote -> File
data VoiceNote
-- | Describes a voice note. The voice note must be encoded with the Opus
-- codec, and stored inside an OGG container. Voice notes can have only a
-- single audio channel
VoiceNote :: I32 -> ByteString64 -> T -> File -> VoiceNote
-- | Duration of the voice note, in seconds; as defined by the sender
[$sel:duration:VoiceNote] :: VoiceNote -> I32
-- | A waveform representation of the voice note in 5-bit format
[$sel:waveform:VoiceNote] :: VoiceNote -> ByteString64
-- | MIME type of the file; as defined by the sender
[$sel:mimeType:VoiceNote] :: VoiceNote -> T
-- | File containing the voice note
[$sel:voice:VoiceNote] :: VoiceNote -> File
data Contact
-- | Describes a user contact
Contact :: T -> T -> T -> T -> I32 -> Contact
-- | Phone number of the user
[$sel:phoneNumber:Contact] :: Contact -> T
-- | First name of the user; 1-255 characters in length
[$sel:firstName:Contact] :: Contact -> T
-- | Last name of the user
[$sel:lastName:Contact] :: Contact -> T
-- | Additional data about the user in a form of vCard; 0-2048 bytes in
-- length
[$sel:vcard:Contact] :: Contact -> T
-- | Identifier of the user, if known; otherwise 0
[$sel:userId:Contact] :: Contact -> I32
data Location
-- | Describes a location on planet Earth
Location :: Double -> Double -> Location
-- | Latitude of the location in degrees; as defined by the sender
[$sel:latitude:Location] :: Location -> Double
-- | Longitude of the location, in degrees; as defined by the sender
[$sel:longitude:Location] :: Location -> Double
data Venue
-- | Describes a venue
Venue :: Location -> T -> T -> T -> T -> T -> Venue
-- | Venue location; as defined by the sender
[$sel:location:Venue] :: Venue -> Location
-- | Venue name; as defined by the sender
[$sel:title:Venue] :: Venue -> T
-- | Venue address; as defined by the sender
[$sel:address:Venue] :: Venue -> T
-- | Provider of the venue database; as defined by the sender. Currently
-- only "foursquare" needs to be supported
[$sel:provider:Venue] :: Venue -> T
-- | Identifier of the venue in the provider database; as defined by the
-- sender
[$sel:id:Venue] :: Venue -> T
-- | Type of the venue in the provider database; as defined by the sender
[$sel:type_:Venue] :: Venue -> T
data Game
-- | Describes a game
Game :: I64 -> T -> T -> FormattedText -> T -> Photo -> Maybe Animation -> Game
-- | Game ID
[$sel:id:Game] :: Game -> I64
-- | Game short name. To share a game use the URL
-- https://t.me/{bot_username}?game={game_short_name}
[$sel:shortName:Game] :: Game -> T
-- | Game title
[$sel:title:Game] :: Game -> T
-- | Game text, usually containing scoreboards for a game
[$sel:text:Game] :: Game -> FormattedText
-- | Describes a game
[$sel:description:Game] :: Game -> T
-- | Game photo
[$sel:photo:Game] :: Game -> Photo
-- | Game animation; may be null
[$sel:animation:Game] :: Game -> Maybe Animation
data Poll
-- | Describes a poll
Poll :: I64 -> T -> [PollOption] -> I32 -> [I32] -> Bool -> PollType -> I32 -> I32 -> Bool -> Poll
-- | Unique poll identifier
[$sel:id:Poll] :: Poll -> I64
-- | Poll question, 1-255 characters
[$sel:question:Poll] :: Poll -> T
-- | List of poll answer options
[$sel:options:Poll] :: Poll -> [PollOption]
-- | Total number of voters, participating in the poll
[$sel:totalVoterCount:Poll] :: Poll -> I32
-- | User identifiers of recent voters, if the poll is non-anonymous
[$sel:recentVoterUserIds:Poll] :: Poll -> [I32]
-- | True, if the poll is anonymous
[$sel:isAnonymous:Poll] :: Poll -> Bool
-- | Type of the poll
[$sel:type_:Poll] :: Poll -> PollType
-- | Amount of time the poll will be active after creation, in seconds
[$sel:openPeriod:Poll] :: Poll -> I32
-- | Point in time (Unix timestamp) when the poll will be automatically
-- closed
[$sel:closeDate:Poll] :: Poll -> I32
-- | True, if the poll is closed
[$sel:isClosed:Poll] :: Poll -> Bool
data ProfilePhoto
-- | Describes a user profile photo
ProfilePhoto :: I64 -> File -> File -> ProfilePhoto
-- | Photo identifier; 0 for an empty photo. Can be used to find a photo in
-- a list of userProfilePhotos
[$sel:id:ProfilePhoto] :: ProfilePhoto -> I64
-- | A small (160x160) user profile photo. The file can be downloaded only
-- before the photo is changed
[$sel:small:ProfilePhoto] :: ProfilePhoto -> File
-- | A big (640x640) user profile photo. The file can be downloaded only
-- before the photo is changed
[$sel:big:ProfilePhoto] :: ProfilePhoto -> File
data ChatPhoto
-- | Describes the photo of a chat
ChatPhoto :: File -> File -> ChatPhoto
-- | A small (160x160) chat photo. The file can be downloaded only before
-- the photo is changed
[$sel:small:ChatPhoto] :: ChatPhoto -> File
-- | A big (640x640) chat photo. The file can be downloaded only before the
-- photo is changed
[$sel:big:ChatPhoto] :: ChatPhoto -> File
-- | Represents the type of a user. The following types are possible:
-- regular users, deleted users and bots
data UserType
-- | A regular user
UserTypeRegular :: UserType
-- | A deleted user or deleted bot. No information on the user besides the
-- user identifier is available. It is not possible to perform any active
-- actions on this type of user
UserTypeDeleted :: UserType
-- | A bot (see https://core.telegram.org/bots)
UserTypeBot :: Bool -> Bool -> Bool -> T -> Bool -> UserType
-- | True, if the bot can be invited to basic group and supergroup chats
[$sel:canJoinGroups:UserTypeRegular] :: UserType -> Bool
-- | True, if the bot can read all messages in basic group or supergroup
-- chats and not just those addressed to the bot. In private and channel
-- chats a bot can always read all messages
[$sel:canReadAllGroupMessages:UserTypeRegular] :: UserType -> Bool
-- | True, if the bot supports inline queries
[$sel:isInline:UserTypeRegular] :: UserType -> Bool
-- | Placeholder for inline queries (displayed on the client input field)
[$sel:inlineQueryPlaceholder:UserTypeRegular] :: UserType -> T
-- | True, if the location of the user should be sent with every inline
-- query to this bot
[$sel:needLocation:UserTypeRegular] :: UserType -> Bool
-- | No information on the user besides the user identifier is available,
-- yet this user has not been deleted. This object is extremely rare and
-- must be handled like a deleted user. It is not possible to perform any
-- actions on users of this type
UserTypeUnknown :: UserType
data BotCommand
-- | Represents a command supported by a bot
BotCommand :: T -> T -> BotCommand
-- | Text of the bot command
[$sel:command:BotCommand] :: BotCommand -> T
-- | Represents a command supported by a bot
[$sel:description:BotCommand] :: BotCommand -> T
data BotInfo
-- | Provides information about a bot and its supported commands
BotInfo :: T -> [BotCommand] -> BotInfo
-- | Provides information about a bot and its supported commands
[$sel:description:BotInfo] :: BotInfo -> T
-- | A list of commands supported by the bot
[$sel:commands:BotInfo] :: BotInfo -> [BotCommand]
data ChatLocation
-- | Represents a location to which a chat is connected
ChatLocation :: Location -> T -> ChatLocation
-- | The location
[$sel:location:ChatLocation] :: ChatLocation -> Location
-- | Location address; 1-64 characters, as defined by the chat owner
[$sel:address:ChatLocation] :: ChatLocation -> T
data User
-- | Represents a user
User :: I32 -> T -> T -> T -> T -> UserStatus -> Maybe ProfilePhoto -> Bool -> Bool -> Bool -> Bool -> T -> Bool -> Bool -> UserType -> T -> User
-- | User identifier
[$sel:id:User] :: User -> I32
-- | First name of the user
[$sel:firstName:User] :: User -> T
-- | Last name of the user
[$sel:lastName:User] :: User -> T
-- | Username of the user
[$sel:username:User] :: User -> T
-- | Phone number of the user
[$sel:phoneNumber:User] :: User -> T
-- | Current online status of the user
[$sel:status:User] :: User -> UserStatus
-- | Profile photo of the user; may be null
[$sel:profilePhoto:User] :: User -> Maybe ProfilePhoto
-- | The user is a contact of the current user
[$sel:isContact:User] :: User -> Bool
-- | The user is a contact of the current user and the current user is a
-- contact of the user
[$sel:isMutualContact:User] :: User -> Bool
-- | True, if the user is verified
[$sel:isVerified:User] :: User -> Bool
-- | True, if the user is Telegram support account
[$sel:isSupport:User] :: User -> Bool
-- | If non-empty, it contains a human-readable description of the reason
-- why access to this user must be restricted
[$sel:restrictionReason:User] :: User -> T
-- | True, if many users reported this user as a scam
[$sel:isScam:User] :: User -> Bool
-- | If false, the user is inaccessible, and the only information known
-- about the user is inside this class. It can't be passed to any method
-- except GetUser
[$sel:haveAccess:User] :: User -> Bool
-- | Type of the user
[$sel:type_:User] :: User -> UserType
-- | IETF language tag of the user's language; only available to bots
[$sel:languageCode:User] :: User -> T
data UserFullInfo
-- | Contains full information about a user (except the full list of
-- profile photos)
UserFullInfo :: Bool -> Bool -> Bool -> Bool -> T -> T -> I32 -> Maybe BotInfo -> UserFullInfo
-- | True, if the user is blacklisted by the current user
[$sel:isBlocked:UserFullInfo] :: UserFullInfo -> Bool
-- | True, if the user can be called
[$sel:canBeCalled:UserFullInfo] :: UserFullInfo -> Bool
-- | True, if the user can't be called due to their privacy settings
[$sel:hasPrivateCalls:UserFullInfo] :: UserFullInfo -> Bool
-- | True, if the current user needs to explicitly allow to share their
-- phone number with the user when the method addContact is used
[$sel:needPhoneNumberPrivacyException:UserFullInfo] :: UserFullInfo -> Bool
-- | A short user bio
[$sel:bio:UserFullInfo] :: UserFullInfo -> T
-- | For bots, the text that is included with the link when users share the
-- bot
[$sel:shareText:UserFullInfo] :: UserFullInfo -> T
-- | Number of group chats where both the other user and the current user
-- are a member; 0 for the current user
[$sel:groupInCommonCount:UserFullInfo] :: UserFullInfo -> I32
-- | If the user is a bot, information about the bot; may be null
[$sel:botInfo:UserFullInfo] :: UserFullInfo -> Maybe BotInfo
data UserProfilePhoto
-- | Contains full information about a user profile photo
UserProfilePhoto :: I64 -> I32 -> [PhotoSize] -> UserProfilePhoto
-- | Unique user profile photo identifier
[$sel:id:UserProfilePhoto] :: UserProfilePhoto -> I64
-- | Point in time (Unix timestamp) when the photo has been added
[$sel:addedDate:UserProfilePhoto] :: UserProfilePhoto -> I32
-- | Available variants of the user photo, in different sizes
[$sel:sizes:UserProfilePhoto] :: UserProfilePhoto -> [PhotoSize]
data UserProfilePhotos
-- | Contains part of the list of user photos
UserProfilePhotos :: I32 -> [UserProfilePhoto] -> UserProfilePhotos
-- | Total number of user profile photos
[$sel:totalCount:UserProfilePhotos] :: UserProfilePhotos -> I32
-- | A list of photos
[$sel:photos:UserProfilePhotos] :: UserProfilePhotos -> [UserProfilePhoto]
data Users
-- | Represents a list of users
Users :: I32 -> [I32] -> Users
-- | Approximate total count of users found
[$sel:totalCount:Users] :: Users -> I32
-- | A list of user identifiers
[$sel:userIds:Users] :: Users -> [I32]
data ChatAdministrator
-- | Contains information about a chat administrator
ChatAdministrator :: I32 -> T -> Bool -> ChatAdministrator
-- | User identifier of the administrator
[$sel:userId:ChatAdministrator] :: ChatAdministrator -> I32
-- | Custom title of the administrator
[$sel:customTitle:ChatAdministrator] :: ChatAdministrator -> T
-- | True, if the user is the owner of the chat
[$sel:isOwner:ChatAdministrator] :: ChatAdministrator -> Bool
data ChatAdministrators
-- | Represents a list of chat administrators
ChatAdministrators :: [ChatAdministrator] -> ChatAdministrators
-- | A list of chat administrators
[$sel:administrators:ChatAdministrators] :: ChatAdministrators -> [ChatAdministrator]
data ChatPermissions
-- | Describes actions that a user is allowed to take in a chat
ChatPermissions :: Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> ChatPermissions
-- | True, if the user can send text messages, contacts, locations, and
-- venues
[$sel:canSendMessages:ChatPermissions] :: ChatPermissions -> Bool
-- | True, if the user can send audio files, documents, photos, videos,
-- video notes, and voice notes. Implies can_send_messages permissions
[$sel:canSendMediaMessages:ChatPermissions] :: ChatPermissions -> Bool
-- | True, if the user can send polls. Implies can_send_messages
-- permissions
[$sel:canSendPolls:ChatPermissions] :: ChatPermissions -> Bool
-- | True, if the user can send animations, games, and stickers and use
-- inline bots. Implies can_send_messages permissions
[$sel:canSendOtherMessages:ChatPermissions] :: ChatPermissions -> Bool
-- | True, if the user may add a web page preview to their messages.
-- Implies can_send_messages permissions
[$sel:canAddWebPagePreviews:ChatPermissions] :: ChatPermissions -> Bool
-- | True, if the user can change the chat title, photo, and other settings
[$sel:canChangeInfo:ChatPermissions] :: ChatPermissions -> Bool
-- | True, if the user can invite new users to the chat
[$sel:canInviteUsers:ChatPermissions] :: ChatPermissions -> Bool
-- | True, if the user can pin messages
[$sel:canPinMessages:ChatPermissions] :: ChatPermissions -> Bool
-- | Provides information about the status of a member in a chat
data ChatMemberStatus
-- | The user is the owner of a chat and has all the administrator
-- privileges
ChatMemberStatusCreator :: T -> Bool -> ChatMemberStatus
-- | A custom title of the owner; 0-16 characters without emojis;
-- applicable to supergroups only
[$sel:customTitle:ChatMemberStatusCreator] :: ChatMemberStatus -> T
-- | True, if the user is a member of the chat
[$sel:isMember:ChatMemberStatusCreator] :: ChatMemberStatus -> Bool
-- | The user is a member of a chat and has some additional privileges. In
-- basic groups, administrators can edit and delete messages sent by
-- others, add new members, and ban unprivileged members. In supergroups
-- and channels, there are more detailed options for administrator
-- privileges
ChatMemberStatusAdministrator :: T -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> ChatMemberStatus
-- | A custom title of the owner; 0-16 characters without emojis;
-- applicable to supergroups only
[$sel:customTitle:ChatMemberStatusCreator] :: ChatMemberStatus -> T
-- | True, if the current user can edit the administrator privileges for
-- the called user
[$sel:canBeEdited:ChatMemberStatusCreator] :: ChatMemberStatus -> Bool
-- | True, if the administrator can change the chat title, photo, and other
-- settings
[$sel:canChangeInfo:ChatMemberStatusCreator] :: ChatMemberStatus -> Bool
-- | True, if the administrator can create channel posts; applicable to
-- channels only
[$sel:canPostMessages:ChatMemberStatusCreator] :: ChatMemberStatus -> Bool
-- | True, if the administrator can edit messages of other users and pin
-- messages; applicable to channels only
[$sel:canEditMessages:ChatMemberStatusCreator] :: ChatMemberStatus -> Bool
-- | True, if the administrator can delete messages of other users
[$sel:canDeleteMessages:ChatMemberStatusCreator] :: ChatMemberStatus -> Bool
-- | True, if the administrator can invite new users to the chat
[$sel:canInviteUsers:ChatMemberStatusCreator] :: ChatMemberStatus -> Bool
-- | True, if the administrator can restrict, ban, or unban chat members
[$sel:canRestrictMembers:ChatMemberStatusCreator] :: ChatMemberStatus -> Bool
-- | True, if the administrator can pin messages; applicable to groups only
[$sel:canPinMessages:ChatMemberStatusCreator] :: ChatMemberStatus -> Bool
-- | True, if the administrator can add new administrators with a subset of
-- their own privileges or demote administrators that were directly or
-- indirectly promoted by them
[$sel:canPromoteMembers:ChatMemberStatusCreator] :: ChatMemberStatus -> Bool
-- | The user is a member of a chat, without any additional privileges or
-- restrictions
ChatMemberStatusMember :: ChatMemberStatus
-- | The user is under certain restrictions in the chat. Not supported in
-- basic groups and channels
ChatMemberStatusRestricted :: Bool -> I32 -> ChatPermissions -> ChatMemberStatus
-- | True, if the user is a member of the chat
[$sel:isMember:ChatMemberStatusCreator] :: ChatMemberStatus -> Bool
-- | Point in time (Unix timestamp) when restrictions will be lifted from
-- the user; 0 if never. If the user is restricted for more than 366 days
-- or for less than 30 seconds from the current time, the user is
-- considered to be restricted forever
[$sel:restrictedUntilDate:ChatMemberStatusCreator] :: ChatMemberStatus -> I32
-- | User permissions in the chat
[$sel:permissions:ChatMemberStatusCreator] :: ChatMemberStatus -> ChatPermissions
-- | The user is not a chat member
ChatMemberStatusLeft :: ChatMemberStatus
-- | The user was banned (and hence is not a member of the chat). Implies
-- the user can't return to the chat or view messages
ChatMemberStatusBanned :: I32 -> ChatMemberStatus
-- | Point in time (Unix timestamp) when the user will be unbanned; 0 if
-- never. If the user is banned for more than 366 days or for less than
-- 30 seconds from the current time, the user is considered to be banned
-- forever
[$sel:bannedUntilDate:ChatMemberStatusCreator] :: ChatMemberStatus -> I32
data ChatMember
-- | A user with information about joining/leaving a chat
ChatMember :: I32 -> I32 -> I32 -> ChatMemberStatus -> Maybe BotInfo -> ChatMember
-- | User identifier of the chat member
[$sel:userId:ChatMember] :: ChatMember -> I32
-- | Identifier of a user that invitedpromotedbanned this member in
-- the chat; 0 if unknown
[$sel:inviterUserId:ChatMember] :: ChatMember -> I32
-- | Point in time (Unix timestamp) when the user joined a chat
[$sel:joinedChatDate:ChatMember] :: ChatMember -> I32
-- | Status of the member in the chat
[$sel:status:ChatMember] :: ChatMember -> ChatMemberStatus
-- | If the user is a bot, information about the bot; may be null. Can be
-- null even for a bot if the bot is not a chat member
[$sel:botInfo:ChatMember] :: ChatMember -> Maybe BotInfo
data ChatMembers
-- | Contains a list of chat members
ChatMembers :: I32 -> [ChatMember] -> ChatMembers
-- | Approximate total count of chat members found
[$sel:totalCount:ChatMembers] :: ChatMembers -> I32
-- | A list of chat members
[$sel:members:ChatMembers] :: ChatMembers -> [ChatMember]
-- | Specifies the kind of chat members to return in searchChatMembers
data ChatMembersFilter
-- | Returns contacts of the user
ChatMembersFilterContacts :: ChatMembersFilter
-- | Returns the owner and administrators
ChatMembersFilterAdministrators :: ChatMembersFilter
-- | Returns all chat members, including restricted chat members
ChatMembersFilterMembers :: ChatMembersFilter
-- | Returns users under certain restrictions in the chat; can be used only
-- by administrators in a supergroup
ChatMembersFilterRestricted :: ChatMembersFilter
-- | Returns users banned from the chat; can be used only by administrators
-- in a supergroup or in a channel
ChatMembersFilterBanned :: ChatMembersFilter
-- | Returns bot members of the chat
ChatMembersFilterBots :: ChatMembersFilter
-- | Specifies the kind of chat members to return in getSupergroupMembers
data SupergroupMembersFilter
-- | Returns recently active users in reverse chronological order
SupergroupMembersFilterRecent :: SupergroupMembersFilter
-- | Returns contacts of the user, which are members of the supergroup or
-- channel
SupergroupMembersFilterContacts :: T -> SupergroupMembersFilter
-- | Query to search for
[$sel:query:SupergroupMembersFilterRecent] :: SupergroupMembersFilter -> T
-- | Returns the owner and administrators
SupergroupMembersFilterAdministrators :: SupergroupMembersFilter
-- | Used to search for supergroup or channel members via a (string) query
SupergroupMembersFilterSearch :: T -> SupergroupMembersFilter
-- | Query to search for
[$sel:query:SupergroupMembersFilterRecent] :: SupergroupMembersFilter -> T
-- | Returns restricted supergroup members; can be used only by
-- administrators
SupergroupMembersFilterRestricted :: T -> SupergroupMembersFilter
-- | Query to search for
[$sel:query:SupergroupMembersFilterRecent] :: SupergroupMembersFilter -> T
-- | Returns users banned from the supergroup or channel; can be used only
-- by administrators
SupergroupMembersFilterBanned :: T -> SupergroupMembersFilter
-- | Query to search for
[$sel:query:SupergroupMembersFilterRecent] :: SupergroupMembersFilter -> T
-- | Returns bot members of the supergroup or channel
SupergroupMembersFilterBots :: SupergroupMembersFilter
data BasicGroup
-- | Represents a basic group of 0-200 users (must be upgraded to a
-- supergroup to accommodate more than 200 users)
BasicGroup :: I32 -> I32 -> ChatMemberStatus -> Bool -> I32 -> BasicGroup
-- | Group identifier
[$sel:id:BasicGroup] :: BasicGroup -> I32
-- | Number of members in the group
[$sel:memberCount:BasicGroup] :: BasicGroup -> I32
-- | Status of the current user in the group
[$sel:status:BasicGroup] :: BasicGroup -> ChatMemberStatus
-- | True, if the group is active
[$sel:isActive:BasicGroup] :: BasicGroup -> Bool
-- | Identifier of the supergroup to which this group was upgraded; 0 if
-- none
[$sel:upgradedToSupergroupId:BasicGroup] :: BasicGroup -> I32
data BasicGroupFullInfo
-- | Contains full information about a basic group
BasicGroupFullInfo :: T -> I32 -> [ChatMember] -> T -> BasicGroupFullInfo
-- | Contains full information about a basic group
[$sel:description:BasicGroupFullInfo] :: BasicGroupFullInfo -> T
-- | User identifier of the creator of the group; 0 if unknown
[$sel:creatorUserId:BasicGroupFullInfo] :: BasicGroupFullInfo -> I32
-- | Group members
[$sel:members:BasicGroupFullInfo] :: BasicGroupFullInfo -> [ChatMember]
-- | Invite link for this group; available only after it has been generated
-- at least once and only for the group creator
[$sel:inviteLink:BasicGroupFullInfo] :: BasicGroupFullInfo -> T
data Supergroup
-- | Represents a supergroup or channel with zero or more members
-- (subscribers in the case of channels). From the point of view of the
-- system, a channel is a special kind of a supergroup: only
-- administrators can post and see the list of members, and posts from
-- all administrators use the name and photo of the channel instead of
-- individual names and profile photos. Unlike supergroups, channels can
-- have an unlimited number of subscribers
Supergroup :: I32 -> T -> I32 -> ChatMemberStatus -> I32 -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> T -> Bool -> Supergroup
-- | Supergroup or channel identifier
[$sel:id:Supergroup] :: Supergroup -> I32
-- | Username of the supergroup or channel; empty for private supergroups
-- or channels
[$sel:username:Supergroup] :: Supergroup -> T
-- | Point in time (Unix timestamp) when the current user joined, or the
-- point in time when the supergroup or channel was created, in case the
-- user is not a member
[$sel:date:Supergroup] :: Supergroup -> I32
-- | Status of the current user in the supergroup or channel; custom title
-- will be always empty
[$sel:status:Supergroup] :: Supergroup -> ChatMemberStatus
-- | Number of members in the supergroup or channel; 0 if unknown.
-- Currently it is guaranteed to be known only if the supergroup or
-- channel was found through SearchPublicChats
[$sel:memberCount:Supergroup] :: Supergroup -> I32
-- | True, if the channel has a discussion group, or the supergroup is the
-- designated discussion group for a channel
[$sel:hasLinkedChat:Supergroup] :: Supergroup -> Bool
-- | True, if the supergroup is connected to a location, i.e. the
-- supergroup is a location-based supergroup
[$sel:hasLocation:Supergroup] :: Supergroup -> Bool
-- | True, if messages sent to the channel should contain information about
-- the sender. This field is only applicable to channels
[$sel:signMessages:Supergroup] :: Supergroup -> Bool
-- | True, if the slow mode is enabled in the supergroup
[$sel:isSlowModeEnabled:Supergroup] :: Supergroup -> Bool
-- | True, if the supergroup is a channel
[$sel:isChannel:Supergroup] :: Supergroup -> Bool
-- | True, if the supergroup or channel is verified
[$sel:isVerified:Supergroup] :: Supergroup -> Bool
-- | If non-empty, contains a human-readable description of the reason why
-- access to this supergroup or channel must be restricted
[$sel:restrictionReason:Supergroup] :: Supergroup -> T
-- | True, if many users reported this supergroup as a scam
[$sel:isScam:Supergroup] :: Supergroup -> Bool
data SupergroupFullInfo
-- | Contains full information about a supergroup or channel
SupergroupFullInfo :: T -> I32 -> I32 -> I32 -> I32 -> I53 -> I32 -> Double -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> I64 -> Maybe ChatLocation -> T -> I32 -> I53 -> SupergroupFullInfo
-- | Contains full information about a supergroup or channel
[$sel:description:SupergroupFullInfo] :: SupergroupFullInfo -> T
-- | Number of members in the supergroup or channel; 0 if unknown
[$sel:memberCount:SupergroupFullInfo] :: SupergroupFullInfo -> I32
-- | Number of privileged users in the supergroup or channel; 0 if unknown
[$sel:administratorCount:SupergroupFullInfo] :: SupergroupFullInfo -> I32
-- | Number of restricted users in the supergroup; 0 if unknown
[$sel:restrictedCount:SupergroupFullInfo] :: SupergroupFullInfo -> I32
-- | Number of users banned from chat; 0 if unknown
[$sel:bannedCount:SupergroupFullInfo] :: SupergroupFullInfo -> I32
-- | Chat identifier of a discussion group for the channel, or a channel,
-- for which the supergroup is the designated discussion group; 0 if none
-- or unknown
[$sel:linkedChatId:SupergroupFullInfo] :: SupergroupFullInfo -> I53
-- | Delay between consecutive sent messages for non-administrator
-- supergroup members, in seconds
[$sel:slowModeDelay:SupergroupFullInfo] :: SupergroupFullInfo -> I32
-- | Time left before next message can be sent in the supergroup, in
-- seconds. An updateSupergroupFullInfo update is not triggered when
-- value of this field changes, but both new and old values are non-zero
[$sel:slowModeDelayExpiresIn:SupergroupFullInfo] :: SupergroupFullInfo -> Double
-- | True, if members of the chat can be retrieved
[$sel:canGetMembers:SupergroupFullInfo] :: SupergroupFullInfo -> Bool
-- | True, if the chat username can be changed
[$sel:canSetUsername:SupergroupFullInfo] :: SupergroupFullInfo -> Bool
-- | True, if the supergroup sticker set can be changed
[$sel:canSetStickerSet:SupergroupFullInfo] :: SupergroupFullInfo -> Bool
-- | True, if the supergroup location can be changed
[$sel:canSetLocation:SupergroupFullInfo] :: SupergroupFullInfo -> Bool
-- | True, if the channel statistics is available
[$sel:canViewStatistics:SupergroupFullInfo] :: SupergroupFullInfo -> Bool
-- | True, if new chat members will have access to old messages. In public
-- or discussion groups and both public and private channels, old
-- messages are always available, so this option affects only private
-- supergroups without a linked chat. The value of this field is only
-- available for chat administrators
[$sel:isAllHistoryAvailable:SupergroupFullInfo] :: SupergroupFullInfo -> Bool
-- | Identifier of the supergroup sticker set; 0 if none
[$sel:stickerSetId:SupergroupFullInfo] :: SupergroupFullInfo -> I64
-- | Location to which the supergroup is connected; may be null
[$sel:location:SupergroupFullInfo] :: SupergroupFullInfo -> Maybe ChatLocation
-- | Invite link for this chat
[$sel:inviteLink:SupergroupFullInfo] :: SupergroupFullInfo -> T
-- | Identifier of the basic group from which supergroup was upgraded; 0 if
-- none
[$sel:upgradedFromBasicGroupId:SupergroupFullInfo] :: SupergroupFullInfo -> I32
-- | Identifier of the last message in the basic group from which
-- supergroup was upgraded; 0 if none
[$sel:upgradedFromMaxMessageId:SupergroupFullInfo] :: SupergroupFullInfo -> I53
-- | Describes the current secret chat state
data SecretChatState
-- | The secret chat is not yet created; waiting for the other user to get
-- online
SecretChatStatePending :: SecretChatState
-- | The secret chat is ready to use
SecretChatStateReady :: SecretChatState
-- | The secret chat is closed
SecretChatStateClosed :: SecretChatState
data SecretChat
-- | Represents a secret chat
SecretChat :: I32 -> I32 -> SecretChatState -> Bool -> I32 -> ByteString64 -> I32 -> SecretChat
-- | Secret chat identifier
[$sel:id:SecretChat] :: SecretChat -> I32
-- | Identifier of the chat partner
[$sel:userId:SecretChat] :: SecretChat -> I32
-- | State of the secret chat
[$sel:state:SecretChat] :: SecretChat -> SecretChatState
-- | True, if the chat was created by the current user; otherwise false
[$sel:isOutbound:SecretChat] :: SecretChat -> Bool
-- | Current message Time To Live setting (self-destruct timer) for the
-- chat, in seconds
[$sel:ttl:SecretChat] :: SecretChat -> I32
-- | Hash of the currently used key for comparison with the hash of the
-- chat partner's key. This is a string of 36 little-endian bytes, which
-- must be split into groups of 2 bits, each denoting a pixel of one of 4
-- colors FFFFFF, D5E6F3, 2D5775, and 2F99C9.
[$sel:keyHash:SecretChat] :: SecretChat -> ByteString64
-- | Secret chat layer; determines features supported by the other client.
-- Video notes are supported if the layer >= 66; nested text entities
-- and underline and strikethrough entities are supported if the layer
-- >= 101
[$sel:layer:SecretChat] :: SecretChat -> I32
-- | Contains information about the origin of a forwarded message
data MessageForwardOrigin
-- | The message was originally written by a known user
MessageForwardOriginUser :: I32 -> MessageForwardOrigin
-- | Identifier of the user that originally sent the message
[$sel:senderUserId:MessageForwardOriginUser] :: MessageForwardOrigin -> I32
-- | The message was originally written by a user, which is hidden by their
-- privacy settings
MessageForwardOriginHiddenUser :: T -> MessageForwardOrigin
-- | Name of the sender
[$sel:senderName:MessageForwardOriginUser] :: MessageForwardOrigin -> T
-- | The message was originally a post in a channel
MessageForwardOriginChannel :: I53 -> I53 -> T -> MessageForwardOrigin
-- | Identifier of the chat from which the message was originally forwarded
[$sel:chatId:MessageForwardOriginUser] :: MessageForwardOrigin -> I53
-- | Message identifier of the original message; 0 if unknown
[$sel:messageId:MessageForwardOriginUser] :: MessageForwardOrigin -> I53
-- | Original post author signature
[$sel:authorSignature:MessageForwardOriginUser] :: MessageForwardOrigin -> T
data MessageForwardInfo
-- | Contains information about a forwarded message
MessageForwardInfo :: MessageForwardOrigin -> I32 -> T -> I53 -> I53 -> MessageForwardInfo
-- | Origin of a forwarded message
[$sel:origin:MessageForwardInfo] :: MessageForwardInfo -> MessageForwardOrigin
-- | Point in time (Unix timestamp) when the message was originally sent
[$sel:date:MessageForwardInfo] :: MessageForwardInfo -> I32
-- | The type of a public service announcement for the forwarded message
[$sel:publicServiceAnnouncementType:MessageForwardInfo] :: MessageForwardInfo -> T
-- | For messages forwarded to the chat with the current user (Saved
-- Messages) or to the channel's discussion group, the identifier of the
-- chat from which the message was forwarded last time; 0 if unknown
[$sel:fromChatId:MessageForwardInfo] :: MessageForwardInfo -> I53
-- | For messages forwarded to the chat with the current user (Saved
-- Messages) or to the channel's discussion group, the identifier of the
-- original message from which the new message was forwarded last time; 0
-- if unknown
[$sel:fromMessageId:MessageForwardInfo] :: MessageForwardInfo -> I53
-- | Contains information about the sending state of the message
data MessageSendingState
-- | The message is being sent now, but has not yet been delivered to the
-- server
MessageSendingStatePending :: MessageSendingState
-- | The message failed to be sent
MessageSendingStateFailed :: I32 -> T -> Bool -> Double -> MessageSendingState
-- | An error code; 0 if unknown
[$sel:errorCode:MessageSendingStatePending] :: MessageSendingState -> I32
-- | Error message
[$sel:errorMessage:MessageSendingStatePending] :: MessageSendingState -> T
-- | True, if the message can be re-sent
[$sel:canRetry:MessageSendingStatePending] :: MessageSendingState -> Bool
-- | Time left before the message can be re-sent, in seconds. No update is
-- sent when this field changes
[$sel:retryAfter:MessageSendingStatePending] :: MessageSendingState -> Double
data Message
-- | Describes a message
Message :: I53 -> I32 -> I53 -> Maybe MessageSendingState -> Maybe MessageSchedulingState -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> I32 -> I32 -> Maybe MessageForwardInfo -> I53 -> I32 -> Double -> I32 -> T -> I32 -> I64 -> T -> MessageContent -> Maybe ReplyMarkup -> Message
-- | Message identifier, unique for the chat to which the message belongs
[$sel:id:Message] :: Message -> I53
-- | Identifier of the user who sent the message; 0 if unknown. Currently,
-- it is unknown for channel posts and for channel posts automatically
-- forwarded to discussion group
[$sel:senderUserId:Message] :: Message -> I32
-- | Chat identifier
[$sel:chatId:Message] :: Message -> I53
-- | Information about the sending state of the message; may be null
[$sel:sendingState:Message] :: Message -> Maybe MessageSendingState
-- | Information about the scheduling state of the message; may be null
[$sel:schedulingState:Message] :: Message -> Maybe MessageSchedulingState
-- | True, if the message is outgoing
[$sel:isOutgoing:Message] :: Message -> Bool
-- | True, if the message can be edited. For live location and poll
-- messages this fields shows whether editMessageLiveLocation or stopPoll
-- can be used with this message by the client
[$sel:canBeEdited:Message] :: Message -> Bool
-- | True, if the message can be forwarded
[$sel:canBeForwarded:Message] :: Message -> Bool
-- | True, if the message can be deleted only for the current user while
-- other users will continue to see it
[$sel:canBeDeletedOnlyForSelf:Message] :: Message -> Bool
-- | True, if the message can be deleted for all users
[$sel:canBeDeletedForAllUsers:Message] :: Message -> Bool
-- | True, if the message is a channel post. All messages to channels are
-- channel posts, all other messages are not channel posts
[$sel:isChannelPost:Message] :: Message -> Bool
-- | True, if the message contains an unread mention for the current user
[$sel:containsUnreadMention:Message] :: Message -> Bool
-- | Point in time (Unix timestamp) when the message was sent
[$sel:date:Message] :: Message -> I32
-- | Point in time (Unix timestamp) when the message was last edited
[$sel:editDate:Message] :: Message -> I32
-- | Information about the initial message sender; may be null
[$sel:forwardInfo:Message] :: Message -> Maybe MessageForwardInfo
-- | If non-zero, the identifier of the message this message is replying
-- to; can be the identifier of a deleted message
[$sel:replyToMessageId:Message] :: Message -> I53
-- | For self-destructing messages, the message's TTL (Time To Live), in
-- seconds; 0 if none. TDLib will send updateDeleteMessages or
-- updateMessageContent once the TTL expires
[$sel:ttl:Message] :: Message -> I32
-- | Time left before the message expires, in seconds
[$sel:ttlExpiresIn:Message] :: Message -> Double
-- | If non-zero, the user identifier of the bot through which this message
-- was sent
[$sel:viaBotUserId:Message] :: Message -> I32
-- | For channel posts, optional author signature
[$sel:authorSignature:Message] :: Message -> T
-- | Number of times this message was viewed
[$sel:views:Message] :: Message -> I32
-- | Unique identifier of an album this message belongs to. Only photos and
-- videos can be grouped together in albums
[$sel:mediaAlbumId:Message] :: Message -> I64
-- | If non-empty, contains a human-readable description of the reason why
-- access to this message must be restricted
[$sel:restrictionReason:Message] :: Message -> T
-- | Content of the message
[$sel:content:Message] :: Message -> MessageContent
-- | Reply markup for the message; may be null
[$sel:replyMarkup:Message] :: Message -> Maybe ReplyMarkup
data Messages
-- | Contains a list of messages
Messages :: I32 -> [Maybe Message] -> Messages
-- | Approximate total count of messages found
[$sel:totalCount:Messages] :: Messages -> I32
-- | List of messages; messages may be null
[$sel:messages:Messages] :: Messages -> [Maybe Message]
data FoundMessages
-- | Contains a list of messages found by a search
FoundMessages :: [Message] -> I64 -> FoundMessages
-- | List of messages
[$sel:messages:FoundMessages] :: FoundMessages -> [Message]
-- | Value to pass as from_search_id to get more results
[$sel:nextFromSearchId:FoundMessages] :: FoundMessages -> I64
-- | Describes the types of chats to which notification settings are
-- applied
data NotificationSettingsScope
-- | Notification settings applied to all private and secret chats when the
-- corresponding chat setting has a default value
NotificationSettingsScopePrivateChats :: NotificationSettingsScope
-- | Notification settings applied to all basic groups and supergroups when
-- the corresponding chat setting has a default value
NotificationSettingsScopeGroupChats :: NotificationSettingsScope
-- | Notification settings applied to all channels when the corresponding
-- chat setting has a default value
NotificationSettingsScopeChannelChats :: NotificationSettingsScope
data ChatNotificationSettings
-- | Contains information about notification settings for a chat
ChatNotificationSettings :: Bool -> I32 -> Bool -> T -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> ChatNotificationSettings
-- | If true, mute_for is ignored and the value for the relevant type of
-- chat is used instead
[$sel:useDefaultMuteFor:ChatNotificationSettings] :: ChatNotificationSettings -> Bool
-- | Time left before notifications will be unmuted, in seconds
[$sel:muteFor:ChatNotificationSettings] :: ChatNotificationSettings -> I32
-- | If true, sound is ignored and the value for the relevant type of chat
-- is used instead
[$sel:useDefaultSound:ChatNotificationSettings] :: ChatNotificationSettings -> Bool
-- | The name of an audio file to be used for notification sounds; only
-- applies to iOS applications
[$sel:sound:ChatNotificationSettings] :: ChatNotificationSettings -> T
-- | If true, show_preview is ignored and the value for the relevant type
-- of chat is used instead
[$sel:useDefaultShowPreview:ChatNotificationSettings] :: ChatNotificationSettings -> Bool
-- | True, if message content should be displayed in notifications
[$sel:showPreview:ChatNotificationSettings] :: ChatNotificationSettings -> Bool
-- | If true, disable_pinned_message_notifications is ignored and the value
-- for the relevant type of chat is used instead
[$sel:useDefaultDisablePinnedMessageNotifications:ChatNotificationSettings] :: ChatNotificationSettings -> Bool
-- | If true, notifications for incoming pinned messages will be created as
-- for an ordinary unread message
[$sel:disablePinnedMessageNotifications:ChatNotificationSettings] :: ChatNotificationSettings -> Bool
-- | If true, disable_mention_notifications is ignored and the value for
-- the relevant type of chat is used instead
[$sel:useDefaultDisableMentionNotifications:ChatNotificationSettings] :: ChatNotificationSettings -> Bool
-- | If true, notifications for messages with mentions will be created as
-- for an ordinary unread message
[$sel:disableMentionNotifications:ChatNotificationSettings] :: ChatNotificationSettings -> Bool
data ScopeNotificationSettings
-- | Contains information about notification settings for several chats
ScopeNotificationSettings :: I32 -> T -> Bool -> Bool -> Bool -> ScopeNotificationSettings
-- | Time left before notifications will be unmuted, in seconds
[$sel:muteFor:ScopeNotificationSettings] :: ScopeNotificationSettings -> I32
-- | The name of an audio file to be used for notification sounds; only
-- applies to iOS applications
[$sel:sound:ScopeNotificationSettings] :: ScopeNotificationSettings -> T
-- | True, if message content should be displayed in notifications
[$sel:showPreview:ScopeNotificationSettings] :: ScopeNotificationSettings -> Bool
-- | True, if notifications for incoming pinned messages will be created as
-- for an ordinary unread message
[$sel:disablePinnedMessageNotifications:ScopeNotificationSettings] :: ScopeNotificationSettings -> Bool
-- | True, if notifications for messages with mentions will be created as
-- for an ordinary unread message
[$sel:disableMentionNotifications:ScopeNotificationSettings] :: ScopeNotificationSettings -> Bool
data DraftMessage
-- | Contains information about a message draft
DraftMessage :: I53 -> I32 -> InputMessageContent -> DraftMessage
-- | Identifier of the message to reply to; 0 if none
[$sel:replyToMessageId:DraftMessage] :: DraftMessage -> I53
-- | Point in time (Unix timestamp) when the draft was created
[$sel:date:DraftMessage] :: DraftMessage -> I32
-- | Content of the message draft; this should always be of type
-- inputMessageText
[$sel:inputMessageText:DraftMessage] :: DraftMessage -> InputMessageContent
-- | Describes the type of a chat
data ChatType
-- | An ordinary chat with a user
ChatTypePrivate :: I32 -> ChatType
-- | User identifier
[$sel:userId:ChatTypePrivate] :: ChatType -> I32
-- | A basic group (i.e., a chat with 0-200 other users)
ChatTypeBasicGroup :: I32 -> ChatType
-- | Basic group identifier
[$sel:basicGroupId:ChatTypePrivate] :: ChatType -> I32
-- | A supergroup (i.e. a chat with up to GetOption("supergroup_max_size")
-- other users), or channel (with unlimited members)
ChatTypeSupergroup :: I32 -> Bool -> ChatType
-- | Supergroup or channel identifier
[$sel:supergroupId:ChatTypePrivate] :: ChatType -> I32
-- | True, if the supergroup is a channel
[$sel:isChannel:ChatTypePrivate] :: ChatType -> Bool
-- | A secret chat with a user
ChatTypeSecret :: I32 -> I32 -> ChatType
-- | Secret chat identifier
[$sel:secretChatId:ChatTypePrivate] :: ChatType -> I32
-- | User identifier
[$sel:userId:ChatTypePrivate] :: ChatType -> I32
data ChatFilter
-- | Represents a filter of user chats
ChatFilter :: T -> T -> [I53] -> [I53] -> [I53] -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> ChatFilter
-- | The title of the filter; 1-12 characters without line feeds
[$sel:title:ChatFilter] :: ChatFilter -> T
-- | The icon name for short filter representation. If non-empty, must be
-- one of All, Unread, Unmuted, Bots,
-- Channels, Groups, Private, Custom,
-- Setup, Cat, Crown, Favorite,
-- Flower, Game, Home, Love, Mask,
-- Party, Sport, Study, Trade, Travel,
-- Work.
[$sel:iconName:ChatFilter] :: ChatFilter -> T
-- | The chat identifiers of pinned chats in the filtered chat list
[$sel:pinnedChatIds:ChatFilter] :: ChatFilter -> [I53]
-- | The chat identifiers of always included chats in the filtered chat
-- list
[$sel:includedChatIds:ChatFilter] :: ChatFilter -> [I53]
-- | The chat identifiers of always excluded chats in the filtered chat
-- list
[$sel:excludedChatIds:ChatFilter] :: ChatFilter -> [I53]
-- | True, if the muted chats need to be excluded
[$sel:excludeMuted:ChatFilter] :: ChatFilter -> Bool
-- | True, if read chats need to be excluded
[$sel:excludeRead:ChatFilter] :: ChatFilter -> Bool
-- | True, if archived chats need to be excluded
[$sel:excludeArchived:ChatFilter] :: ChatFilter -> Bool
-- | True, if contacts need to be included
[$sel:includeContacts:ChatFilter] :: ChatFilter -> Bool
-- | True, if non-contact users need to be included
[$sel:includeNonContacts:ChatFilter] :: ChatFilter -> Bool
-- | True, if bots need to be included
[$sel:includeBots:ChatFilter] :: ChatFilter -> Bool
-- | True, if basic groups and supergroups need to be included
[$sel:includeGroups:ChatFilter] :: ChatFilter -> Bool
-- | True, if channels need to be included
[$sel:includeChannels:ChatFilter] :: ChatFilter -> Bool
data ChatFilterInfo
-- | Contains basic information about a chat filter
ChatFilterInfo :: I32 -> T -> T -> ChatFilterInfo
-- | Unique chat filter identifier
[$sel:id:ChatFilterInfo] :: ChatFilterInfo -> I32
-- | The title of the filter; 1-12 characters without line feeds
[$sel:title:ChatFilterInfo] :: ChatFilterInfo -> T
-- | The icon name for short filter representation. One of All,
-- Unread, Unmuted, Bots, Channels,
-- Groups, Private, Custom, Setup,
-- Cat, Crown, Favorite, Flower, Game,
-- Home, Love, Mask, Party, Sport,
-- Study, Trade, Travel, Work
[$sel:iconName:ChatFilterInfo] :: ChatFilterInfo -> T
data RecommendedChatFilter
-- | Describes a recommended chat filter
RecommendedChatFilter :: ChatFilter -> T -> RecommendedChatFilter
-- | The chat filter
[$sel:filter:RecommendedChatFilter] :: RecommendedChatFilter -> ChatFilter
-- | Describes a recommended chat filter
[$sel:description:RecommendedChatFilter] :: RecommendedChatFilter -> T
data RecommendedChatFilters
-- | Contains a list of recommended chat filters
RecommendedChatFilters :: [RecommendedChatFilter] -> RecommendedChatFilters
-- | List of recommended chat filters
[$sel:chatFilters:RecommendedChatFilters] :: RecommendedChatFilters -> [RecommendedChatFilter]
-- | Describes a list of chats
data ChatList
-- | A main list of chats
ChatListMain :: ChatList
-- | A list of chats usually located at the top of the main chat list.
-- Unmuted chats are automatically moved from the Archive to the Main
-- chat list when a new message arrives
ChatListArchive :: ChatList
-- | A list of chats belonging to a chat filter
ChatListFilter :: I32 -> ChatList
-- | Chat filter identifier
[$sel:chatFilterId:ChatListMain] :: ChatList -> I32
data ChatLists
-- | Contains a list of chat lists
ChatLists :: [ChatList] -> ChatLists
-- | List of chat lists
[$sel:chatLists:ChatLists] :: ChatLists -> [ChatList]
-- | Describes a reason why an external chat is shown in a chat list
data ChatSource
-- | The chat is sponsored by the user's MTProxy server
ChatSourceMtprotoProxy :: ChatSource
-- | The chat contains a public service announcement
ChatSourcePublicServiceAnnouncement :: T -> T -> ChatSource
-- | The type of the announcement
[$sel:type_:ChatSourceMtprotoProxy] :: ChatSource -> T
-- | The text of the announcement
[$sel:text:ChatSourceMtprotoProxy] :: ChatSource -> T
data ChatPosition
-- | Describes a position of a chat in a chat list
ChatPosition :: ChatList -> I64 -> Bool -> Maybe ChatSource -> ChatPosition
-- | The chat list
[$sel:list:ChatPosition] :: ChatPosition -> ChatList
-- | A parameter used to determine order of the chat in the chat list.
-- Chats must be sorted by the pair (order, chat.id) in descending order
[$sel:order:ChatPosition] :: ChatPosition -> I64
-- | True, if the chat is pinned in the chat list
[$sel:isPinned:ChatPosition] :: ChatPosition -> Bool
-- | Source of the chat in the chat list; may be null
[$sel:source:ChatPosition] :: ChatPosition -> Maybe ChatSource
data Chat
-- | A chat. (Can be a private chat, basic group, supergroup, or secret
-- chat)
Chat :: I53 -> ChatType -> T -> Maybe ChatPhoto -> ChatPermissions -> Maybe Message -> [ChatPosition] -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> I32 -> I53 -> I53 -> I32 -> ChatNotificationSettings -> Maybe ChatActionBar -> I53 -> I53 -> Maybe DraftMessage -> T -> Chat
-- | Chat unique identifier
[$sel:id:Chat] :: Chat -> I53
-- | Type of the chat
[$sel:type_:Chat] :: Chat -> ChatType
-- | Chat title
[$sel:title:Chat] :: Chat -> T
-- | Chat photo; may be null
[$sel:photo:Chat] :: Chat -> Maybe ChatPhoto
-- | Actions that non-administrator chat members are allowed to take in the
-- chat
[$sel:permissions:Chat] :: Chat -> ChatPermissions
-- | Last message in the chat; may be null
[$sel:lastMessage:Chat] :: Chat -> Maybe Message
-- | Positions of the chat in chat lists
[$sel:positions:Chat] :: Chat -> [ChatPosition]
-- | True, if the chat is marked as unread
[$sel:isMarkedAsUnread:Chat] :: Chat -> Bool
-- | True, if the chat has scheduled messages
[$sel:hasScheduledMessages:Chat] :: Chat -> Bool
-- | True, if the chat messages can be deleted only for the current user
-- while other users will continue to see the messages
[$sel:canBeDeletedOnlyForSelf:Chat] :: Chat -> Bool
-- | True, if the chat messages can be deleted for all users
[$sel:canBeDeletedForAllUsers:Chat] :: Chat -> Bool
-- | True, if the chat can be reported to Telegram moderators through
-- reportChat
[$sel:canBeReported:Chat] :: Chat -> Bool
-- | Default value of the disable_notification parameter, used when a
-- message is sent to the chat
[$sel:defaultDisableNotification:Chat] :: Chat -> Bool
-- | Number of unread messages in the chat
[$sel:unreadCount:Chat] :: Chat -> I32
-- | Identifier of the last read incoming message
[$sel:lastReadInboxMessageId:Chat] :: Chat -> I53
-- | Identifier of the last read outgoing message
[$sel:lastReadOutboxMessageId:Chat] :: Chat -> I53
-- | Number of unread messages with a mention/reply in the chat
[$sel:unreadMentionCount:Chat] :: Chat -> I32
-- | Notification settings for this chat
[$sel:notificationSettings:Chat] :: Chat -> ChatNotificationSettings
-- | Describes actions which should be possible to do through a chat action
-- bar; may be null
[$sel:actionBar:Chat] :: Chat -> Maybe ChatActionBar
-- | Identifier of the pinned message in the chat; 0 if none
[$sel:pinnedMessageId:Chat] :: Chat -> I53
-- | Identifier of the message from which reply markup needs to be used; 0
-- if there is no default custom reply markup in the chat
[$sel:replyMarkupMessageId:Chat] :: Chat -> I53
-- | A draft of a message in the chat; may be null
[$sel:draftMessage:Chat] :: Chat -> Maybe DraftMessage
-- | Contains client-specific data associated with the chat. (For example,
-- the chat scroll position or local chat notification settings can be
-- stored here.) Persistent if the message database is used
[$sel:clientData:Chat] :: Chat -> T
data Chats
-- | Represents a list of chats
Chats :: [I53] -> Chats
-- | List of chat identifiers
[$sel:chatIds:Chats] :: Chats -> [I53]
data ChatNearby
-- | Describes a chat located nearby
ChatNearby :: I53 -> I32 -> ChatNearby
-- | Chat identifier
[$sel:chatId:ChatNearby] :: ChatNearby -> I53
-- | Distance to the chat location in meters
[$sel:distance:ChatNearby] :: ChatNearby -> I32
data ChatsNearby
-- | Represents a list of chats located nearby
ChatsNearby :: [ChatNearby] -> [ChatNearby] -> ChatsNearby
-- | List of users nearby
[$sel:usersNearby:ChatsNearby] :: ChatsNearby -> [ChatNearby]
-- | List of location-based supergroups nearby
[$sel:supergroupsNearby:ChatsNearby] :: ChatsNearby -> [ChatNearby]
data ChatInviteLink
-- | Contains a chat invite link
ChatInviteLink :: T -> ChatInviteLink
-- | Chat invite link
[$sel:inviteLink:ChatInviteLink] :: ChatInviteLink -> T
data ChatInviteLinkInfo
-- | Contains information about a chat invite link
ChatInviteLinkInfo :: I53 -> ChatType -> T -> Maybe ChatPhoto -> I32 -> [I32] -> Bool -> ChatInviteLinkInfo
-- | Chat identifier of the invite link; 0 if the user is not a member of
-- this chat
[$sel:chatId:ChatInviteLinkInfo] :: ChatInviteLinkInfo -> I53
-- | Contains information about the type of the chat
[$sel:type_:ChatInviteLinkInfo] :: ChatInviteLinkInfo -> ChatType
-- | Title of the chat
[$sel:title:ChatInviteLinkInfo] :: ChatInviteLinkInfo -> T
-- | Chat photo; may be null
[$sel:photo:ChatInviteLinkInfo] :: ChatInviteLinkInfo -> Maybe ChatPhoto
-- | Number of members in the chat
[$sel:memberCount:ChatInviteLinkInfo] :: ChatInviteLinkInfo -> I32
-- | User identifiers of some chat members that may be known to the current
-- user
[$sel:memberUserIds:ChatInviteLinkInfo] :: ChatInviteLinkInfo -> [I32]
-- | True, if the chat is a public supergroup or channel, i.e. it has a
-- username or it is a location-based supergroup
[$sel:isPublic:ChatInviteLinkInfo] :: ChatInviteLinkInfo -> Bool
-- | Describes a type of public chats
data PublicChatType
-- | The chat is public, because it has username
PublicChatTypeHasUsername :: PublicChatType
-- | The chat is public, because it is a location-based supergroup
PublicChatTypeIsLocationBased :: PublicChatType
-- | Describes actions which should be possible to do through a chat action
-- bar
data ChatActionBar
-- | The chat can be reported as spam using the method reportChat with the
-- reason chatReportReasonSpam
ChatActionBarReportSpam :: ChatActionBar
-- | The chat is a location-based supergroup, which can be reported as
-- having unrelated location using the method reportChat with the reason
-- chatReportReasonUnrelatedLocation
ChatActionBarReportUnrelatedLocation :: ChatActionBar
-- | The chat is a private or secret chat, which can be reported using the
-- method reportChat, or the other user can be added to the contact list
-- using the method addContact, or the other user can be blocked using
-- the method blockUser
ChatActionBarReportAddBlock :: ChatActionBar
-- | The chat is a private or secret chat and the other user can be added
-- to the contact list using the method addContact
ChatActionBarAddContact :: ChatActionBar
-- | The chat is a private or secret chat with a mutual contact and the
-- user's phone number can be shared with the other user using the method
-- sharePhoneNumber
ChatActionBarSharePhoneNumber :: ChatActionBar
-- | Describes a keyboard button type
data KeyboardButtonType
-- | A simple button, with text that should be sent when the button is
-- pressed
KeyboardButtonTypeText :: KeyboardButtonType
-- | A button that sends the user's phone number when pressed; available
-- only in private chats
KeyboardButtonTypeRequestPhoneNumber :: KeyboardButtonType
-- | A button that sends the user's location when pressed; available only
-- in private chats
KeyboardButtonTypeRequestLocation :: KeyboardButtonType
-- | A button that allows the user to create and send a poll when pressed;
-- available only in private chats
KeyboardButtonTypeRequestPoll :: Bool -> Bool -> KeyboardButtonType
-- | If true, only regular polls must be allowed to create
[$sel:forceRegular:KeyboardButtonTypeText] :: KeyboardButtonType -> Bool
-- | If true, only polls in quiz mode must be allowed to create
[$sel:forceQuiz:KeyboardButtonTypeText] :: KeyboardButtonType -> Bool
data KeyboardButton
-- | Represents a single button in a bot keyboard
KeyboardButton :: T -> KeyboardButtonType -> KeyboardButton
-- | Text of the button
[$sel:text:KeyboardButton] :: KeyboardButton -> T
-- | Type of the button
[$sel:type_:KeyboardButton] :: KeyboardButton -> KeyboardButtonType
-- | Describes the type of an inline keyboard button
data InlineKeyboardButtonType
-- | A button that opens a specified URL
InlineKeyboardButtonTypeUrl :: T -> InlineKeyboardButtonType
-- | HTTP or tg:// URL to open
[$sel:url:InlineKeyboardButtonTypeUrl] :: InlineKeyboardButtonType -> T
-- | A button that opens a specified URL and automatically logs in in
-- current user if they allowed to do that
InlineKeyboardButtonTypeLoginUrl :: T -> I32 -> T -> InlineKeyboardButtonType
-- | HTTP or tg:// URL to open
[$sel:url:InlineKeyboardButtonTypeUrl] :: InlineKeyboardButtonType -> T
-- | Unique button identifier
[$sel:id:InlineKeyboardButtonTypeUrl] :: InlineKeyboardButtonType -> I32
-- | If non-empty, new text of the button in forwarded messages
[$sel:forwardText:InlineKeyboardButtonTypeUrl] :: InlineKeyboardButtonType -> T
-- | A button that sends a special callback query to a bot
InlineKeyboardButtonTypeCallback :: ByteString64 -> InlineKeyboardButtonType
-- | Data to be sent to the bot via a callback query
[$sel:data_:InlineKeyboardButtonTypeUrl] :: InlineKeyboardButtonType -> ByteString64
-- | A button with a game that sends a special callback query to a bot.
-- This button must be in the first column and row of the keyboard and
-- can be attached only to a message with content of the type messageGame
InlineKeyboardButtonTypeCallbackGame :: InlineKeyboardButtonType
-- | A button that forces an inline query to the bot to be inserted in the
-- input field
InlineKeyboardButtonTypeSwitchInline :: T -> Bool -> InlineKeyboardButtonType
-- | Inline query to be sent to the bot
[$sel:query:InlineKeyboardButtonTypeUrl] :: InlineKeyboardButtonType -> T
-- | True, if the inline query should be sent from the current chat
[$sel:inCurrentChat:InlineKeyboardButtonTypeUrl] :: InlineKeyboardButtonType -> Bool
-- | A button to buy something. This button must be in the first column and
-- row of the keyboard and can be attached only to a message with content
-- of the type messageInvoice
InlineKeyboardButtonTypeBuy :: InlineKeyboardButtonType
data InlineKeyboardButton
-- | Represents a single button in an inline keyboard
InlineKeyboardButton :: T -> InlineKeyboardButtonType -> InlineKeyboardButton
-- | Text of the button
[$sel:text:InlineKeyboardButton] :: InlineKeyboardButton -> T
-- | Type of the button
[$sel:type_:InlineKeyboardButton] :: InlineKeyboardButton -> InlineKeyboardButtonType
-- | Contains a description of a custom keyboard and actions that can be
-- done with it to quickly reply to bots
data ReplyMarkup
-- | Instructs clients to remove the keyboard once this message has been
-- received. This kind of keyboard can't be received in an incoming
-- message; instead, UpdateChatReplyMarkup with message_id == 0 will be
-- sent
ReplyMarkupRemoveKeyboard :: Bool -> ReplyMarkup
-- | True, if the keyboard is removed only for the mentioned users or the
-- target user of a reply
[$sel:isPersonal:ReplyMarkupRemoveKeyboard] :: ReplyMarkup -> Bool
-- | Instructs clients to force a reply to this message
ReplyMarkupForceReply :: Bool -> ReplyMarkup
-- | True, if the keyboard is removed only for the mentioned users or the
-- target user of a reply
[$sel:isPersonal:ReplyMarkupRemoveKeyboard] :: ReplyMarkup -> Bool
-- | Contains a custom keyboard layout to quickly reply to bots
ReplyMarkupShowKeyboard :: [[KeyboardButton]] -> Bool -> Bool -> Bool -> ReplyMarkup
-- | A list of rows of bot keyboard buttons
[$sel:rows_2:ReplyMarkupRemoveKeyboard] :: ReplyMarkup -> [[KeyboardButton]]
-- | True, if the client needs to resize the keyboard vertically
[$sel:resizeKeyboard:ReplyMarkupRemoveKeyboard] :: ReplyMarkup -> Bool
-- | True, if the client needs to hide the keyboard after use
[$sel:oneTime:ReplyMarkupRemoveKeyboard] :: ReplyMarkup -> Bool
-- | True, if the keyboard is removed only for the mentioned users or the
-- target user of a reply
[$sel:isPersonal:ReplyMarkupRemoveKeyboard] :: ReplyMarkup -> Bool
-- | Contains an inline keyboard layout
ReplyMarkupInlineKeyboard :: [[InlineKeyboardButton]] -> ReplyMarkup
-- | A list of rows of inline keyboard buttons
[$sel:rows:ReplyMarkupRemoveKeyboard] :: ReplyMarkup -> [[InlineKeyboardButton]]
-- | Contains information about an inline button of type
-- inlineKeyboardButtonTypeLoginUrl
data LoginUrlInfo
-- | An HTTP url needs to be open
LoginUrlInfoOpen :: T -> Bool -> LoginUrlInfo
-- | The URL to open
[$sel:url:LoginUrlInfoOpen] :: LoginUrlInfo -> T
-- | True, if there is no need to show an ordinary open URL confirm
[$sel:skipConfirm:LoginUrlInfoOpen] :: LoginUrlInfo -> Bool
-- | An authorization confirmation dialog needs to be shown to the user
LoginUrlInfoRequestConfirmation :: T -> T -> I32 -> Bool -> LoginUrlInfo
-- | The URL to open
[$sel:url:LoginUrlInfoOpen] :: LoginUrlInfo -> T
-- | A domain of the URL
[$sel:domain:LoginUrlInfoOpen] :: LoginUrlInfo -> T
-- | User identifier of a bot linked with the website
[$sel:botUserId:LoginUrlInfoOpen] :: LoginUrlInfo -> I32
-- | True, if the user needs to be requested to give the permission to the
-- bot to send them messages
[$sel:requestWriteAccess:LoginUrlInfoOpen] :: LoginUrlInfo -> Bool
-- | Describes a text object inside an instant-view web page
data RichText
-- | A plain text
RichTextPlain :: T -> RichText
-- | Text
[$sel:text_2:RichTextPlain] :: RichText -> T
-- | A bold rich text
RichTextBold :: RichText -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | An italicized rich text
RichTextItalic :: RichText -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | An underlined rich text
RichTextUnderline :: RichText -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | A strikethrough rich text
RichTextStrikethrough :: RichText -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | A fixed-width rich text
RichTextFixed :: RichText -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | A rich text URL link
RichTextUrl :: RichText -> T -> Bool -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | URL
[$sel:url:RichTextPlain] :: RichText -> T
-- | True, if the URL has cached instant view server-side
[$sel:isCached:RichTextPlain] :: RichText -> Bool
-- | A rich text email link
RichTextEmailAddress :: RichText -> T -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | Email address
[$sel:emailAddress:RichTextPlain] :: RichText -> T
-- | A subscript rich text
RichTextSubscript :: RichText -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | A superscript rich text
RichTextSuperscript :: RichText -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | A marked rich text
RichTextMarked :: RichText -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | A rich text phone number
RichTextPhoneNumber :: RichText -> T -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | Phone number
[$sel:phoneNumber:RichTextPlain] :: RichText -> T
-- | A small image inside the text
RichTextIcon :: Document -> I32 -> I32 -> RichText
-- | The image represented as a document. The image can be in GIF, JPEG or
-- PNG format
[$sel:document:RichTextPlain] :: RichText -> Document
-- | Width of a bounding box in which the image should be shown; 0 if
-- unknown
[$sel:width:RichTextPlain] :: RichText -> I32
-- | Height of a bounding box in which the image should be shown; 0 if
-- unknown
[$sel:height:RichTextPlain] :: RichText -> I32
-- | A rich text reference of a text on the same web page
RichTextReference :: RichText -> RichText -> T -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | The text to show on click
[$sel:referenceText:RichTextPlain] :: RichText -> RichText
-- | URL
[$sel:url:RichTextPlain] :: RichText -> T
-- | An anchor
RichTextAnchor :: T -> RichText
-- | Anchor name
[$sel:name:RichTextPlain] :: RichText -> T
-- | A link to an anchor on the same web page
RichTextAnchorLink :: RichText -> T -> T -> RichText
-- | Text
[$sel:text:RichTextPlain] :: RichText -> RichText
-- | Anchor name
[$sel:name:RichTextPlain] :: RichText -> T
-- | URL
[$sel:url:RichTextPlain] :: RichText -> T
-- | A concatenation of rich texts
RichTexts :: [RichText] -> RichText
-- | Texts
[$sel:texts:RichTextPlain] :: RichText -> [RichText]
data PageBlockCaption
-- | Contains a caption of an instant view web page block, consisting of a
-- text and a trailing credit
PageBlockCaption :: RichText -> RichText -> PageBlockCaption
-- | Content of the caption
[$sel:text:PageBlockCaption] :: PageBlockCaption -> RichText
-- | Block credit (like HTML tag cite)
[$sel:credit:PageBlockCaption] :: PageBlockCaption -> RichText
data PageBlockListItem
-- | Describes an item of a list page block
PageBlockListItem :: T -> [PageBlock] -> PageBlockListItem
-- | Item label
[$sel:label:PageBlockListItem] :: PageBlockListItem -> T
-- | Item blocks
[$sel:pageBlocks:PageBlockListItem] :: PageBlockListItem -> [PageBlock]
-- | Describes a horizontal alignment of a table cell content
data PageBlockHorizontalAlignment
-- | The content should be left-aligned
PageBlockHorizontalAlignmentLeft :: PageBlockHorizontalAlignment
-- | The content should be center-aligned
PageBlockHorizontalAlignmentCenter :: PageBlockHorizontalAlignment
-- | The content should be right-aligned
PageBlockHorizontalAlignmentRight :: PageBlockHorizontalAlignment
-- | Describes a Vertical alignment of a table cell content
data PageBlockVerticalAlignment
-- | The content should be top-aligned
PageBlockVerticalAlignmentTop :: PageBlockVerticalAlignment
-- | The content should be middle-aligned
PageBlockVerticalAlignmentMiddle :: PageBlockVerticalAlignment
-- | The content should be bottom-aligned
PageBlockVerticalAlignmentBottom :: PageBlockVerticalAlignment
data PageBlockTableCell
-- | Represents a cell of a table
PageBlockTableCell :: Maybe RichText -> Bool -> I32 -> I32 -> PageBlockHorizontalAlignment -> PageBlockVerticalAlignment -> PageBlockTableCell
-- | Cell text; may be null. If the text is null, then the cell should be
-- invisible
[$sel:text:PageBlockTableCell] :: PageBlockTableCell -> Maybe RichText
-- | True, if it is a header cell
[$sel:isHeader:PageBlockTableCell] :: PageBlockTableCell -> Bool
-- | The number of columns the cell should span
[$sel:colspan:PageBlockTableCell] :: PageBlockTableCell -> I32
-- | The number of rows the cell should span
[$sel:rowspan:PageBlockTableCell] :: PageBlockTableCell -> I32
-- | Horizontal cell content alignment
[$sel:align:PageBlockTableCell] :: PageBlockTableCell -> PageBlockHorizontalAlignment
-- | Vertical cell content alignment
[$sel:valign:PageBlockTableCell] :: PageBlockTableCell -> PageBlockVerticalAlignment
data PageBlockRelatedArticle
-- | Contains information about a related article
PageBlockRelatedArticle :: T -> T -> T -> Maybe Photo -> T -> I32 -> PageBlockRelatedArticle
-- | Related article URL
[$sel:url:PageBlockRelatedArticle] :: PageBlockRelatedArticle -> T
-- | Article title; may be empty
[$sel:title:PageBlockRelatedArticle] :: PageBlockRelatedArticle -> T
-- | Contains information about a related article
[$sel:description:PageBlockRelatedArticle] :: PageBlockRelatedArticle -> T
-- | Article photo; may be null
[$sel:photo:PageBlockRelatedArticle] :: PageBlockRelatedArticle -> Maybe Photo
-- | Article author; may be empty
[$sel:author:PageBlockRelatedArticle] :: PageBlockRelatedArticle -> T
-- | Point in time (Unix timestamp) when the article was published; 0 if
-- unknown
[$sel:publishDate:PageBlockRelatedArticle] :: PageBlockRelatedArticle -> I32
-- | Describes a block of an instant view web page
data PageBlock
-- | The title of a page
PageBlockTitle :: RichText -> PageBlock
-- | Title
[$sel:title_2:PageBlockTitle] :: PageBlock -> RichText
-- | The subtitle of a page
PageBlockSubtitle :: RichText -> PageBlock
-- | Subtitle
[$sel:subtitle:PageBlockTitle] :: PageBlock -> RichText
-- | The author and publishing date of a page
PageBlockAuthorDate :: RichText -> I32 -> PageBlock
-- | Author
[$sel:author_2:PageBlockTitle] :: PageBlock -> RichText
-- | Point in time (Unix timestamp) when the article was published; 0 if
-- unknown
[$sel:publishDate:PageBlockTitle] :: PageBlock -> I32
-- | A header
PageBlockHeader :: RichText -> PageBlock
-- | Header
[$sel:header:PageBlockTitle] :: PageBlock -> RichText
-- | A subheader
PageBlockSubheader :: RichText -> PageBlock
-- | Subheader
[$sel:subheader:PageBlockTitle] :: PageBlock -> RichText
-- | A kicker
PageBlockKicker :: RichText -> PageBlock
-- | Kicker
[$sel:kicker:PageBlockTitle] :: PageBlock -> RichText
-- | A text paragraph
PageBlockParagraph :: RichText -> PageBlock
-- | Paragraph text
[$sel:text:PageBlockTitle] :: PageBlock -> RichText
-- | A preformatted text paragraph
PageBlockPreformatted :: RichText -> T -> PageBlock
-- | Paragraph text
[$sel:text:PageBlockTitle] :: PageBlock -> RichText
-- | Programming language for which the text should be formatted
[$sel:language:PageBlockTitle] :: PageBlock -> T
-- | The footer of a page
PageBlockFooter :: RichText -> PageBlock
-- | Footer
[$sel:footer:PageBlockTitle] :: PageBlock -> RichText
-- | An empty block separating a page
PageBlockDivider :: PageBlock
-- | An invisible anchor on a page, which can be used in a URL to open the
-- page from the specified anchor
PageBlockAnchor :: T -> PageBlock
-- | Name of the anchor
[$sel:name:PageBlockTitle] :: PageBlock -> T
-- | A list of data blocks
PageBlockList :: [PageBlockListItem] -> PageBlock
-- | The items of the list
[$sel:items:PageBlockTitle] :: PageBlock -> [PageBlockListItem]
-- | A block quote
PageBlockBlockQuote :: RichText -> RichText -> PageBlock
-- | Paragraph text
[$sel:text:PageBlockTitle] :: PageBlock -> RichText
-- | Quote credit
[$sel:credit:PageBlockTitle] :: PageBlock -> RichText
-- | A pull quote
PageBlockPullQuote :: RichText -> RichText -> PageBlock
-- | Paragraph text
[$sel:text:PageBlockTitle] :: PageBlock -> RichText
-- | Quote credit
[$sel:credit:PageBlockTitle] :: PageBlock -> RichText
-- | An animation
PageBlockAnimation :: Maybe Animation -> PageBlockCaption -> Bool -> PageBlock
-- | Animation file; may be null
[$sel:animation:PageBlockTitle] :: PageBlock -> Maybe Animation
-- | Animation caption
[$sel:caption:PageBlockTitle] :: PageBlock -> PageBlockCaption
-- | True, if the animation should be played automatically
[$sel:needAutoplay:PageBlockTitle] :: PageBlock -> Bool
-- | An audio file
PageBlockAudio :: Maybe Audio -> PageBlockCaption -> PageBlock
-- | Audio file; may be null
[$sel:audio:PageBlockTitle] :: PageBlock -> Maybe Audio
-- | Animation caption
[$sel:caption:PageBlockTitle] :: PageBlock -> PageBlockCaption
-- | A photo
PageBlockPhoto :: Maybe Photo -> PageBlockCaption -> T -> PageBlock
-- | Photo file; may be null
[$sel:photo_2:PageBlockTitle] :: PageBlock -> Maybe Photo
-- | Animation caption
[$sel:caption:PageBlockTitle] :: PageBlock -> PageBlockCaption
-- | URL that needs to be opened when the photo is clicked
[$sel:url:PageBlockTitle] :: PageBlock -> T
-- | A video
PageBlockVideo :: Maybe Video -> PageBlockCaption -> Bool -> Bool -> PageBlock
-- | Video file; may be null
[$sel:video:PageBlockTitle] :: PageBlock -> Maybe Video
-- | Animation caption
[$sel:caption:PageBlockTitle] :: PageBlock -> PageBlockCaption
-- | True, if the animation should be played automatically
[$sel:needAutoplay:PageBlockTitle] :: PageBlock -> Bool
-- | True, if the video should be looped
[$sel:isLooped:PageBlockTitle] :: PageBlock -> Bool
-- | A voice note
PageBlockVoiceNote :: Maybe VoiceNote -> PageBlockCaption -> PageBlock
-- | Voice note; may be null
[$sel:voiceNote:PageBlockTitle] :: PageBlock -> Maybe VoiceNote
-- | Animation caption
[$sel:caption:PageBlockTitle] :: PageBlock -> PageBlockCaption
-- | A page cover
PageBlockCover :: PageBlock -> PageBlock
-- | Cover
[$sel:cover:PageBlockTitle] :: PageBlock -> PageBlock
-- | An embedded web page
PageBlockEmbedded :: T -> T -> Maybe Photo -> I32 -> I32 -> PageBlockCaption -> Bool -> Bool -> PageBlock
-- | URL that needs to be opened when the photo is clicked
[$sel:url:PageBlockTitle] :: PageBlock -> T
-- | HTML-markup of the embedded page
[$sel:html:PageBlockTitle] :: PageBlock -> T
-- | Poster photo, if available; may be null
[$sel:posterPhoto:PageBlockTitle] :: PageBlock -> Maybe Photo
-- | Block width; 0 if unknown
[$sel:width:PageBlockTitle] :: PageBlock -> I32
-- | Block height; 0 if unknown
[$sel:height:PageBlockTitle] :: PageBlock -> I32
-- | Animation caption
[$sel:caption:PageBlockTitle] :: PageBlock -> PageBlockCaption
-- | True, if the block should be full width
[$sel:isFullWidth:PageBlockTitle] :: PageBlock -> Bool
-- | True, if scrolling should be allowed
[$sel:allowScrolling:PageBlockTitle] :: PageBlock -> Bool
-- | An embedded post
PageBlockEmbeddedPost :: T -> T -> Maybe Photo -> I32 -> [PageBlock] -> PageBlockCaption -> PageBlock
-- | URL that needs to be opened when the photo is clicked
[$sel:url:PageBlockTitle] :: PageBlock -> T
-- | Post author
[$sel:author:PageBlockTitle] :: PageBlock -> T
-- | Post author photo; may be null
[$sel:authorPhoto:PageBlockTitle] :: PageBlock -> Maybe Photo
-- | Point in time (Unix timestamp) when the post was created; 0 if unknown
[$sel:date:PageBlockTitle] :: PageBlock -> I32
-- | Post content
[$sel:pageBlocks:PageBlockTitle] :: PageBlock -> [PageBlock]
-- | Animation caption
[$sel:caption:PageBlockTitle] :: PageBlock -> PageBlockCaption
-- | A collage
PageBlockCollage :: [PageBlock] -> PageBlockCaption -> PageBlock
-- | Post content
[$sel:pageBlocks:PageBlockTitle] :: PageBlock -> [PageBlock]
-- | Animation caption
[$sel:caption:PageBlockTitle] :: PageBlock -> PageBlockCaption
-- | A slideshow
PageBlockSlideshow :: [PageBlock] -> PageBlockCaption -> PageBlock
-- | Post content
[$sel:pageBlocks:PageBlockTitle] :: PageBlock -> [PageBlock]
-- | Animation caption
[$sel:caption:PageBlockTitle] :: PageBlock -> PageBlockCaption
-- | A link to a chat
PageBlockChatLink :: T -> Maybe ChatPhoto -> T -> PageBlock
-- | Chat title
[$sel:title:PageBlockTitle] :: PageBlock -> T
-- | Chat photo; may be null
[$sel:photo:PageBlockTitle] :: PageBlock -> Maybe ChatPhoto
-- | Chat username, by which all other information about the chat should be
-- resolved
[$sel:username:PageBlockTitle] :: PageBlock -> T
-- | A table
PageBlockTable :: RichText -> [[PageBlockTableCell]] -> Bool -> Bool -> PageBlock
-- | Table caption
[$sel:caption_2:PageBlockTitle] :: PageBlock -> RichText
-- | Table cells
[$sel:cells:PageBlockTitle] :: PageBlock -> [[PageBlockTableCell]]
-- | True, if the table is bordered
[$sel:isBordered:PageBlockTitle] :: PageBlock -> Bool
-- | True, if the table is striped
[$sel:isStriped:PageBlockTitle] :: PageBlock -> Bool
-- | A collapsible block
PageBlockDetails :: RichText -> [PageBlock] -> Bool -> PageBlock
-- | Header
[$sel:header:PageBlockTitle] :: PageBlock -> RichText
-- | Post content
[$sel:pageBlocks:PageBlockTitle] :: PageBlock -> [PageBlock]
-- | True, if the block is open by default
[$sel:isOpen:PageBlockTitle] :: PageBlock -> Bool
-- | Related articles
PageBlockRelatedArticles :: RichText -> [PageBlockRelatedArticle] -> PageBlock
-- | Header
[$sel:header:PageBlockTitle] :: PageBlock -> RichText
-- | List of related articles
[$sel:articles:PageBlockTitle] :: PageBlock -> [PageBlockRelatedArticle]
-- | A map
PageBlockMap :: Location -> I32 -> I32 -> I32 -> PageBlockCaption -> PageBlock
-- | Location of the map center
[$sel:location:PageBlockTitle] :: PageBlock -> Location
-- | Map zoom level
[$sel:zoom:PageBlockTitle] :: PageBlock -> I32
-- | Block width; 0 if unknown
[$sel:width:PageBlockTitle] :: PageBlock -> I32
-- | Block height; 0 if unknown
[$sel:height:PageBlockTitle] :: PageBlock -> I32
-- | Animation caption
[$sel:caption:PageBlockTitle] :: PageBlock -> PageBlockCaption
data WebPageInstantView
-- | Describes an instant view page for a web page
WebPageInstantView :: [PageBlock] -> I32 -> I32 -> Bool -> Bool -> WebPageInstantView
-- | Content of the web page
[$sel:pageBlocks:WebPageInstantView] :: WebPageInstantView -> [PageBlock]
-- | Number of the instant view views; 0 if unknown
[$sel:viewCount:WebPageInstantView] :: WebPageInstantView -> I32
-- | Version of the instant view, currently can be 1 or 2
[$sel:version:WebPageInstantView] :: WebPageInstantView -> I32
-- | True, if the instant view must be shown from right to left
[$sel:isRtl:WebPageInstantView] :: WebPageInstantView -> Bool
-- | True, if the instant view contains the full page. A network request
-- might be needed to get the full web page instant view
[$sel:isFull:WebPageInstantView] :: WebPageInstantView -> Bool
data WebPage
-- | Describes a web page preview
WebPage :: T -> T -> T -> T -> T -> FormattedText -> Maybe Photo -> T -> T -> I32 -> I32 -> I32 -> T -> Maybe Animation -> Maybe Audio -> Maybe Document -> Maybe Sticker -> Maybe Video -> Maybe VideoNote -> Maybe VoiceNote -> I32 -> WebPage
-- | Original URL of the link
[$sel:url:WebPage] :: WebPage -> T
-- | URL to display
[$sel:displayUrl:WebPage] :: WebPage -> T
-- | Type of the web page. Can be: article, photo, audio, video, document,
-- profile, app, or something else
[$sel:type_:WebPage] :: WebPage -> T
-- | Short name of the site (e.g., Google Docs, App Store)
[$sel:siteName:WebPage] :: WebPage -> T
-- | Title of the content
[$sel:title:WebPage] :: WebPage -> T
-- | Describes a web page preview
[$sel:description:WebPage] :: WebPage -> FormattedText
-- | Image representing the content; may be null
[$sel:photo:WebPage] :: WebPage -> Maybe Photo
-- | URL to show in the embedded preview
[$sel:embedUrl:WebPage] :: WebPage -> T
-- | MIME type of the embedded preview, (e.g., texthtml or videomp4)
[$sel:embedType:WebPage] :: WebPage -> T
-- | Width of the embedded preview
[$sel:embedWidth:WebPage] :: WebPage -> I32
-- | Height of the embedded preview
[$sel:embedHeight:WebPage] :: WebPage -> I32
-- | Duration of the content, in seconds
[$sel:duration:WebPage] :: WebPage -> I32
-- | Author of the content
[$sel:author:WebPage] :: WebPage -> T
-- | Preview of the content as an animation, if available; may be null
[$sel:animation:WebPage] :: WebPage -> Maybe Animation
-- | Preview of the content as an audio file, if available; may be null
[$sel:audio:WebPage] :: WebPage -> Maybe Audio
-- | Preview of the content as a document, if available (currently only
-- available for small PDF files and ZIP archives); may be null
[$sel:document:WebPage] :: WebPage -> Maybe Document
-- | Preview of the content as a sticker for small WEBP files, if
-- available; may be null
[$sel:sticker:WebPage] :: WebPage -> Maybe Sticker
-- | Preview of the content as a video, if available; may be null
[$sel:video:WebPage] :: WebPage -> Maybe Video
-- | Preview of the content as a video note, if available; may be null
[$sel:videoNote:WebPage] :: WebPage -> Maybe VideoNote
-- | Preview of the content as a voice note, if available; may be null
[$sel:voiceNote:WebPage] :: WebPage -> Maybe VoiceNote
-- | Version of instant view, available for the web page (currently can be
-- 1 or 2), 0 if none
[$sel:instantViewVersion:WebPage] :: WebPage -> I32
data BankCardActionOpenUrl
-- | Describes an action associated with a bank card number
BankCardActionOpenUrl :: T -> T -> BankCardActionOpenUrl
-- | Action text
[$sel:text:BankCardActionOpenUrl] :: BankCardActionOpenUrl -> T
-- | The URL to be opened
[$sel:url:BankCardActionOpenUrl] :: BankCardActionOpenUrl -> T
data BankCardInfo
-- | Information about a bank card
BankCardInfo :: T -> [BankCardActionOpenUrl] -> BankCardInfo
-- | Title of the bank card description
[$sel:title:BankCardInfo] :: BankCardInfo -> T
-- | Actions that can be done with the bank card number
[$sel:actions:BankCardInfo] :: BankCardInfo -> [BankCardActionOpenUrl]
data Address
-- | Describes an address
Address :: T -> T -> T -> T -> T -> T -> Address
-- | A two-letter ISO 3166-1 alpha-2 country code
[$sel:countryCode:Address] :: Address -> T
-- | State, if applicable
[$sel:state:Address] :: Address -> T
-- | City
[$sel:city:Address] :: Address -> T
-- | First line of the address
[$sel:streetLine1:Address] :: Address -> T
-- | Second line of the address
[$sel:streetLine2:Address] :: Address -> T
-- | Address postal code
[$sel:postalCode:Address] :: Address -> T
data LabeledPricePart
-- | Portion of the price of a product (e.g., "delivery cost", "tax
-- amount")
LabeledPricePart :: T -> I53 -> LabeledPricePart
-- | Label for this portion of the product price
[$sel:label:LabeledPricePart] :: LabeledPricePart -> T
-- | Currency amount in minimal quantity of the currency
[$sel:amount:LabeledPricePart] :: LabeledPricePart -> I53
data Invoice
-- | Product invoice
Invoice :: T -> [LabeledPricePart] -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Invoice
-- | ISO 4217 currency code
[$sel:currency:Invoice] :: Invoice -> T
-- | A list of objects used to calculate the total price of the product
[$sel:priceParts:Invoice] :: Invoice -> [LabeledPricePart]
-- | True, if the payment is a test payment
[$sel:isTest:Invoice] :: Invoice -> Bool
-- | True, if the user's name is needed for payment
[$sel:needName:Invoice] :: Invoice -> Bool
-- | True, if the user's phone number is needed for payment
[$sel:needPhoneNumber:Invoice] :: Invoice -> Bool
-- | True, if the user's email address is needed for payment
[$sel:needEmailAddress:Invoice] :: Invoice -> Bool
-- | True, if the user's shipping address is needed for payment
[$sel:needShippingAddress:Invoice] :: Invoice -> Bool
-- | True, if the user's phone number will be sent to the provider
[$sel:sendPhoneNumberToProvider:Invoice] :: Invoice -> Bool
-- | True, if the user's email address will be sent to the provider
[$sel:sendEmailAddressToProvider:Invoice] :: Invoice -> Bool
-- | True, if the total price depends on the shipping method
[$sel:isFlexible:Invoice] :: Invoice -> Bool
data OrderInfo
-- | Order information
OrderInfo :: T -> T -> T -> Maybe Address -> OrderInfo
-- | Name of the user
[$sel:name:OrderInfo] :: OrderInfo -> T
-- | Phone number of the user
[$sel:phoneNumber:OrderInfo] :: OrderInfo -> T
-- | Email address of the user
[$sel:emailAddress:OrderInfo] :: OrderInfo -> T
-- | Shipping address for this order; may be null
[$sel:shippingAddress:OrderInfo] :: OrderInfo -> Maybe Address
data ShippingOption
-- | One shipping option
ShippingOption :: T -> T -> [LabeledPricePart] -> ShippingOption
-- | Shipping option identifier
[$sel:id:ShippingOption] :: ShippingOption -> T
-- | Option title
[$sel:title:ShippingOption] :: ShippingOption -> T
-- | A list of objects used to calculate the total shipping costs
[$sel:priceParts:ShippingOption] :: ShippingOption -> [LabeledPricePart]
data SavedCredentials
-- | Contains information about saved card credentials
SavedCredentials :: T -> T -> SavedCredentials
-- | Unique identifier of the saved credentials
[$sel:id:SavedCredentials] :: SavedCredentials -> T
-- | Title of the saved credentials
[$sel:title:SavedCredentials] :: SavedCredentials -> T
-- | Contains information about the payment method chosen by the user
data InputCredentials
-- | Applies if a user chooses some previously saved payment credentials.
-- To use their previously saved credentials, the user must have a valid
-- temporary password
InputCredentialsSaved :: T -> InputCredentials
-- | Identifier of the saved credentials
[$sel:savedCredentialsId:InputCredentialsSaved] :: InputCredentials -> T
-- | Applies if a user enters new credentials on a payment provider website
InputCredentialsNew :: T -> Bool -> InputCredentials
-- | Contains JSON-encoded data with a credential identifier from the
-- payment provider
[$sel:data_:InputCredentialsSaved] :: InputCredentials -> T
-- | True, if the credential identifier can be saved on the server side
[$sel:allowSave:InputCredentialsSaved] :: InputCredentials -> Bool
-- | Applies if a user enters new credentials using Android Pay
InputCredentialsAndroidPay :: T -> InputCredentials
-- | Contains JSON-encoded data with a credential identifier from the
-- payment provider
[$sel:data_:InputCredentialsSaved] :: InputCredentials -> T
-- | Applies if a user enters new credentials using Apple Pay
InputCredentialsApplePay :: T -> InputCredentials
-- | Contains JSON-encoded data with a credential identifier from the
-- payment provider
[$sel:data_:InputCredentialsSaved] :: InputCredentials -> T
data PaymentsProviderStripe
-- | Stripe payment provider
PaymentsProviderStripe :: T -> Bool -> Bool -> Bool -> PaymentsProviderStripe
-- | Stripe API publishable key
[$sel:publishableKey:PaymentsProviderStripe] :: PaymentsProviderStripe -> T
-- | True, if the user country must be provided
[$sel:needCountry:PaymentsProviderStripe] :: PaymentsProviderStripe -> Bool
-- | True, if the user ZIP/postal code must be provided
[$sel:needPostalCode:PaymentsProviderStripe] :: PaymentsProviderStripe -> Bool
-- | True, if the cardholder name must be provided
[$sel:needCardholderName:PaymentsProviderStripe] :: PaymentsProviderStripe -> Bool
data PaymentForm
-- | Contains information about an invoice payment form
PaymentForm :: Invoice -> T -> Maybe PaymentsProviderStripe -> Maybe OrderInfo -> Maybe SavedCredentials -> Bool -> Bool -> PaymentForm
-- | Full information of the invoice
[$sel:invoice:PaymentForm] :: PaymentForm -> Invoice
-- | Payment form URL
[$sel:url:PaymentForm] :: PaymentForm -> T
-- | Contains information about the payment provider, if available, to
-- support it natively without the need for opening the URL; may be null
[$sel:paymentsProvider:PaymentForm] :: PaymentForm -> Maybe PaymentsProviderStripe
-- | Saved server-side order information; may be null
[$sel:savedOrderInfo:PaymentForm] :: PaymentForm -> Maybe OrderInfo
-- | Contains information about saved card credentials; may be null
[$sel:savedCredentials:PaymentForm] :: PaymentForm -> Maybe SavedCredentials
-- | True, if the user can choose to save credentials
[$sel:canSaveCredentials:PaymentForm] :: PaymentForm -> Bool
-- | True, if the user will be able to save credentials protected by a
-- password they set up
[$sel:needPassword:PaymentForm] :: PaymentForm -> Bool
data ValidatedOrderInfo
-- | Contains a temporary identifier of validated order information, which
-- is stored for one hour. Also contains the available shipping options
ValidatedOrderInfo :: T -> [ShippingOption] -> ValidatedOrderInfo
-- | Temporary identifier of the order information
[$sel:orderInfoId:ValidatedOrderInfo] :: ValidatedOrderInfo -> T
-- | Available shipping options
[$sel:shippingOptions:ValidatedOrderInfo] :: ValidatedOrderInfo -> [ShippingOption]
data PaymentResult
-- | Contains the result of a payment request
PaymentResult :: Bool -> T -> PaymentResult
-- | True, if the payment request was successful; otherwise the
-- verification_url will be not empty
[$sel:success:PaymentResult] :: PaymentResult -> Bool
-- | URL for additional payment credentials verification
[$sel:verificationUrl:PaymentResult] :: PaymentResult -> T
data PaymentReceipt
-- | Contains information about a successful payment
PaymentReceipt :: I32 -> I32 -> Invoice -> Maybe OrderInfo -> Maybe ShippingOption -> T -> PaymentReceipt
-- | Point in time (Unix timestamp) when the payment was made
[$sel:date:PaymentReceipt] :: PaymentReceipt -> I32
-- | User identifier of the payment provider bot
[$sel:paymentsProviderUserId:PaymentReceipt] :: PaymentReceipt -> I32
-- | Contains information about the invoice
[$sel:invoice:PaymentReceipt] :: PaymentReceipt -> Invoice
-- | Contains order information; may be null
[$sel:orderInfo:PaymentReceipt] :: PaymentReceipt -> Maybe OrderInfo
-- | Chosen shipping option; may be null
[$sel:shippingOption:PaymentReceipt] :: PaymentReceipt -> Maybe ShippingOption
-- | Title of the saved credentials
[$sel:credentialsTitle:PaymentReceipt] :: PaymentReceipt -> T
data DatedFile
-- | File with the date it was uploaded
DatedFile :: File -> I32 -> DatedFile
-- | The file
[$sel:file:DatedFile] :: DatedFile -> File
-- | Point in time (Unix timestamp) when the file was uploaded
[$sel:date:DatedFile] :: DatedFile -> I32
-- | Contains the type of a Telegram Passport element
data PassportElementType
-- | A Telegram Passport element containing the user's personal details
PassportElementTypePersonalDetails :: PassportElementType
-- | A Telegram Passport element containing the user's passport
PassportElementTypePassport :: PassportElementType
-- | A Telegram Passport element containing the user's driver license
PassportElementTypeDriverLicense :: PassportElementType
-- | A Telegram Passport element containing the user's identity card
PassportElementTypeIdentityCard :: PassportElementType
-- | A Telegram Passport element containing the user's internal passport
PassportElementTypeInternalPassport :: PassportElementType
-- | A Telegram Passport element containing the user's address
PassportElementTypeAddress :: PassportElementType
-- | A Telegram Passport element containing the user's utility bill
PassportElementTypeUtilityBill :: PassportElementType
-- | A Telegram Passport element containing the user's bank statement
PassportElementTypeBankStatement :: PassportElementType
-- | A Telegram Passport element containing the user's rental agreement
PassportElementTypeRentalAgreement :: PassportElementType
-- | A Telegram Passport element containing the registration page of the
-- user's passport
PassportElementTypePassportRegistration :: PassportElementType
-- | A Telegram Passport element containing the user's temporary
-- registration
PassportElementTypeTemporaryRegistration :: PassportElementType
-- | A Telegram Passport element containing the user's phone number
PassportElementTypePhoneNumber :: PassportElementType
-- | A Telegram Passport element containing the user's email address
PassportElementTypeEmailAddress :: PassportElementType
data Date
-- | Represents a date according to the Gregorian calendar
Date :: I32 -> I32 -> I32 -> Date
-- | Day of the month, 1-31
[$sel:day:Date] :: Date -> I32
-- | Month, 1-12
[$sel:month:Date] :: Date -> I32
-- | Year, 1-9999
[$sel:year:Date] :: Date -> I32
data PersonalDetails
-- | Contains the user's personal details
PersonalDetails :: T -> T -> T -> T -> T -> T -> Date -> T -> T -> T -> PersonalDetails
-- | First name of the user written in English; 1-255 characters
[$sel:firstName:PersonalDetails] :: PersonalDetails -> T
-- | Middle name of the user written in English; 0-255 characters
[$sel:middleName:PersonalDetails] :: PersonalDetails -> T
-- | Last name of the user written in English; 1-255 characters
[$sel:lastName:PersonalDetails] :: PersonalDetails -> T
-- | Native first name of the user; 1-255 characters
[$sel:nativeFirstName:PersonalDetails] :: PersonalDetails -> T
-- | Native middle name of the user; 0-255 characters
[$sel:nativeMiddleName:PersonalDetails] :: PersonalDetails -> T
-- | Native last name of the user; 1-255 characters
[$sel:nativeLastName:PersonalDetails] :: PersonalDetails -> T
-- | Birthdate of the user
[$sel:birthdate:PersonalDetails] :: PersonalDetails -> Date
-- | Gender of the user, "male" or "female"
[$sel:gender:PersonalDetails] :: PersonalDetails -> T
-- | A two-letter ISO 3166-1 alpha-2 country code of the user's country
[$sel:countryCode:PersonalDetails] :: PersonalDetails -> T
-- | A two-letter ISO 3166-1 alpha-2 country code of the user's residence
-- country
[$sel:residenceCountryCode:PersonalDetails] :: PersonalDetails -> T
data IdentityDocument
-- | An identity document
IdentityDocument :: T -> Maybe Date -> DatedFile -> DatedFile -> Maybe DatedFile -> [DatedFile] -> IdentityDocument
-- | Document number; 1-24 characters
[$sel:number:IdentityDocument] :: IdentityDocument -> T
-- | Document expiry date; may be null
[$sel:expiryDate:IdentityDocument] :: IdentityDocument -> Maybe Date
-- | Front side of the document
[$sel:frontSide:IdentityDocument] :: IdentityDocument -> DatedFile
-- | Reverse side of the document; only for driver license and identity
-- card
[$sel:reverseSide:IdentityDocument] :: IdentityDocument -> DatedFile
-- | Selfie with the document; may be null
[$sel:selfie:IdentityDocument] :: IdentityDocument -> Maybe DatedFile
-- | List of files containing a certified English translation of the
-- document
[$sel:translation:IdentityDocument] :: IdentityDocument -> [DatedFile]
data InputIdentityDocument
-- | An identity document to be saved to Telegram Passport
InputIdentityDocument :: T -> Date -> InputFile -> InputFile -> InputFile -> [InputFile] -> InputIdentityDocument
-- | Document number; 1-24 characters
[$sel:number:InputIdentityDocument] :: InputIdentityDocument -> T
-- | Document expiry date, if available
[$sel:expiryDate:InputIdentityDocument] :: InputIdentityDocument -> Date
-- | Front side of the document
[$sel:frontSide:InputIdentityDocument] :: InputIdentityDocument -> InputFile
-- | Reverse side of the document; only for driver license and identity
-- card
[$sel:reverseSide:InputIdentityDocument] :: InputIdentityDocument -> InputFile
-- | Selfie with the document, if available
[$sel:selfie:InputIdentityDocument] :: InputIdentityDocument -> InputFile
-- | List of files containing a certified English translation of the
-- document
[$sel:translation:InputIdentityDocument] :: InputIdentityDocument -> [InputFile]
data PersonalDocument
-- | A personal document, containing some information about a user
PersonalDocument :: [DatedFile] -> [DatedFile] -> PersonalDocument
-- | List of files containing the pages of the document
[$sel:files:PersonalDocument] :: PersonalDocument -> [DatedFile]
-- | List of files containing a certified English translation of the
-- document
[$sel:translation:PersonalDocument] :: PersonalDocument -> [DatedFile]
data InputPersonalDocument
-- | A personal document to be saved to Telegram Passport
InputPersonalDocument :: [InputFile] -> [InputFile] -> InputPersonalDocument
-- | List of files containing the pages of the document
[$sel:files:InputPersonalDocument] :: InputPersonalDocument -> [InputFile]
-- | List of files containing a certified English translation of the
-- document
[$sel:translation:InputPersonalDocument] :: InputPersonalDocument -> [InputFile]
-- | Contains information about a Telegram Passport element
data PassportElement
-- | A Telegram Passport element containing the user's personal details
PassportElementPersonalDetails :: PersonalDetails -> PassportElement
-- | Personal details of the user
[$sel:personalDetails:PassportElementPersonalDetails] :: PassportElement -> PersonalDetails
-- | A Telegram Passport element containing the user's passport
PassportElementPassport :: IdentityDocument -> PassportElement
-- | Passport
[$sel:passport:PassportElementPersonalDetails] :: PassportElement -> IdentityDocument
-- | A Telegram Passport element containing the user's driver license
PassportElementDriverLicense :: IdentityDocument -> PassportElement
-- | Driver license
[$sel:driverLicense:PassportElementPersonalDetails] :: PassportElement -> IdentityDocument
-- | A Telegram Passport element containing the user's identity card
PassportElementIdentityCard :: IdentityDocument -> PassportElement
-- | Identity card
[$sel:identityCard:PassportElementPersonalDetails] :: PassportElement -> IdentityDocument
-- | A Telegram Passport element containing the user's internal passport
PassportElementInternalPassport :: IdentityDocument -> PassportElement
-- | Internal passport
[$sel:internalPassport:PassportElementPersonalDetails] :: PassportElement -> IdentityDocument
-- | A Telegram Passport element containing the user's address
PassportElementAddress :: Address -> PassportElement
-- | Address
[$sel:address:PassportElementPersonalDetails] :: PassportElement -> Address
-- | A Telegram Passport element containing the user's utility bill
PassportElementUtilityBill :: PersonalDocument -> PassportElement
-- | Utility bill
[$sel:utilityBill:PassportElementPersonalDetails] :: PassportElement -> PersonalDocument
-- | A Telegram Passport element containing the user's bank statement
PassportElementBankStatement :: PersonalDocument -> PassportElement
-- | Bank statement
[$sel:bankStatement:PassportElementPersonalDetails] :: PassportElement -> PersonalDocument
-- | A Telegram Passport element containing the user's rental agreement
PassportElementRentalAgreement :: PersonalDocument -> PassportElement
-- | Rental agreement
[$sel:rentalAgreement:PassportElementPersonalDetails] :: PassportElement -> PersonalDocument
-- | A Telegram Passport element containing the user's passport
-- registration pages
PassportElementPassportRegistration :: PersonalDocument -> PassportElement
-- | Passport registration pages
[$sel:passportRegistration:PassportElementPersonalDetails] :: PassportElement -> PersonalDocument
-- | A Telegram Passport element containing the user's temporary
-- registration
PassportElementTemporaryRegistration :: PersonalDocument -> PassportElement
-- | Temporary registration
[$sel:temporaryRegistration:PassportElementPersonalDetails] :: PassportElement -> PersonalDocument
-- | A Telegram Passport element containing the user's phone number
PassportElementPhoneNumber :: T -> PassportElement
-- | Phone number
[$sel:phoneNumber:PassportElementPersonalDetails] :: PassportElement -> T
-- | A Telegram Passport element containing the user's email address
PassportElementEmailAddress :: T -> PassportElement
-- | Email address
[$sel:emailAddress:PassportElementPersonalDetails] :: PassportElement -> T
-- | Contains information about a Telegram Passport element to be saved
data InputPassportElement
-- | A Telegram Passport element to be saved containing the user's personal
-- details
InputPassportElementPersonalDetails :: PersonalDetails -> InputPassportElement
-- | Personal details of the user
[$sel:personalDetails:InputPassportElementPersonalDetails] :: InputPassportElement -> PersonalDetails
-- | A Telegram Passport element to be saved containing the user's passport
InputPassportElementPassport :: InputIdentityDocument -> InputPassportElement
-- | The passport to be saved
[$sel:passport:InputPassportElementPersonalDetails] :: InputPassportElement -> InputIdentityDocument
-- | A Telegram Passport element to be saved containing the user's driver
-- license
InputPassportElementDriverLicense :: InputIdentityDocument -> InputPassportElement
-- | The driver license to be saved
[$sel:driverLicense:InputPassportElementPersonalDetails] :: InputPassportElement -> InputIdentityDocument
-- | A Telegram Passport element to be saved containing the user's identity
-- card
InputPassportElementIdentityCard :: InputIdentityDocument -> InputPassportElement
-- | The identity card to be saved
[$sel:identityCard:InputPassportElementPersonalDetails] :: InputPassportElement -> InputIdentityDocument
-- | A Telegram Passport element to be saved containing the user's internal
-- passport
InputPassportElementInternalPassport :: InputIdentityDocument -> InputPassportElement
-- | The internal passport to be saved
[$sel:internalPassport:InputPassportElementPersonalDetails] :: InputPassportElement -> InputIdentityDocument
-- | A Telegram Passport element to be saved containing the user's address
InputPassportElementAddress :: Address -> InputPassportElement
-- | The address to be saved
[$sel:address:InputPassportElementPersonalDetails] :: InputPassportElement -> Address
-- | A Telegram Passport element to be saved containing the user's utility
-- bill
InputPassportElementUtilityBill :: InputPersonalDocument -> InputPassportElement
-- | The utility bill to be saved
[$sel:utilityBill:InputPassportElementPersonalDetails] :: InputPassportElement -> InputPersonalDocument
-- | A Telegram Passport element to be saved containing the user's bank
-- statement
InputPassportElementBankStatement :: InputPersonalDocument -> InputPassportElement
-- | The bank statement to be saved
[$sel:bankStatement:InputPassportElementPersonalDetails] :: InputPassportElement -> InputPersonalDocument
-- | A Telegram Passport element to be saved containing the user's rental
-- agreement
InputPassportElementRentalAgreement :: InputPersonalDocument -> InputPassportElement
-- | The rental agreement to be saved
[$sel:rentalAgreement:InputPassportElementPersonalDetails] :: InputPassportElement -> InputPersonalDocument
-- | A Telegram Passport element to be saved containing the user's passport
-- registration
InputPassportElementPassportRegistration :: InputPersonalDocument -> InputPassportElement
-- | The passport registration page to be saved
[$sel:passportRegistration:InputPassportElementPersonalDetails] :: InputPassportElement -> InputPersonalDocument
-- | A Telegram Passport element to be saved containing the user's
-- temporary registration
InputPassportElementTemporaryRegistration :: InputPersonalDocument -> InputPassportElement
-- | The temporary registration document to be saved
[$sel:temporaryRegistration:InputPassportElementPersonalDetails] :: InputPassportElement -> InputPersonalDocument
-- | A Telegram Passport element to be saved containing the user's phone
-- number
InputPassportElementPhoneNumber :: T -> InputPassportElement
-- | The phone number to be saved
[$sel:phoneNumber:InputPassportElementPersonalDetails] :: InputPassportElement -> T
-- | A Telegram Passport element to be saved containing the user's email
-- address
InputPassportElementEmailAddress :: T -> InputPassportElement
-- | The email address to be saved
[$sel:emailAddress:InputPassportElementPersonalDetails] :: InputPassportElement -> T
data PassportElements
-- | Contains information about saved Telegram Passport elements
PassportElements :: [PassportElement] -> PassportElements
-- | Telegram Passport elements
[$sel:elements:PassportElements] :: PassportElements -> [PassportElement]
-- | Contains the description of an error in a Telegram Passport element
data PassportElementErrorSource
-- | The element contains an error in an unspecified place. The error will
-- be considered resolved when new data is added
PassportElementErrorSourceUnspecified :: PassportElementErrorSource
-- | One of the data fields contains an error. The error will be considered
-- resolved when the value of the field changes
PassportElementErrorSourceDataField :: T -> PassportElementErrorSource
-- | Field name
[$sel:fieldName:PassportElementErrorSourceUnspecified] :: PassportElementErrorSource -> T
-- | The front side of the document contains an error. The error will be
-- considered resolved when the file with the front side changes
PassportElementErrorSourceFrontSide :: PassportElementErrorSource
-- | The reverse side of the document contains an error. The error will be
-- considered resolved when the file with the reverse side changes
PassportElementErrorSourceReverseSide :: PassportElementErrorSource
-- | The selfie with the document contains an error. The error will be
-- considered resolved when the file with the selfie changes
PassportElementErrorSourceSelfie :: PassportElementErrorSource
-- | One of files with the translation of the document contains an error.
-- The error will be considered resolved when the file changes
PassportElementErrorSourceTranslationFile :: I32 -> PassportElementErrorSource
-- | Index of a file with the error
[$sel:fileIndex:PassportElementErrorSourceUnspecified] :: PassportElementErrorSource -> I32
-- | The translation of the document contains an error. The error will be
-- considered resolved when the list of translation files changes
PassportElementErrorSourceTranslationFiles :: PassportElementErrorSource
-- | The file contains an error. The error will be considered resolved when
-- the file changes
PassportElementErrorSourceFile :: I32 -> PassportElementErrorSource
-- | Index of a file with the error
[$sel:fileIndex:PassportElementErrorSourceUnspecified] :: PassportElementErrorSource -> I32
-- | The list of attached files contains an error. The error will be
-- considered resolved when the list of files changes
PassportElementErrorSourceFiles :: PassportElementErrorSource
data PassportElementError
-- | Contains the description of an error in a Telegram Passport element
PassportElementError :: PassportElementType -> T -> PassportElementErrorSource -> PassportElementError
-- | Type of the Telegram Passport element which has the error
[$sel:type_:PassportElementError] :: PassportElementError -> PassportElementType
-- | Error message
[$sel:message:PassportElementError] :: PassportElementError -> T
-- | Error source
[$sel:source:PassportElementError] :: PassportElementError -> PassportElementErrorSource
data PassportSuitableElement
-- | Contains information about a Telegram Passport element that was
-- requested by a service
PassportSuitableElement :: PassportElementType -> Bool -> Bool -> Bool -> PassportSuitableElement
-- | Type of the element
[$sel:type_:PassportSuitableElement] :: PassportSuitableElement -> PassportElementType
-- | True, if a selfie is required with the identity document
[$sel:isSelfieRequired:PassportSuitableElement] :: PassportSuitableElement -> Bool
-- | True, if a certified English translation is required with the document
[$sel:isTranslationRequired:PassportSuitableElement] :: PassportSuitableElement -> Bool
-- | True, if personal details must include the user's name in the language
-- of their country of residence
[$sel:isNativeNameRequired:PassportSuitableElement] :: PassportSuitableElement -> Bool
data PassportRequiredElement
-- | Contains a description of the required Telegram Passport element that
-- was requested by a service
PassportRequiredElement :: [PassportSuitableElement] -> PassportRequiredElement
-- | List of Telegram Passport elements any of which is enough to provide
[$sel:suitableElements:PassportRequiredElement] :: PassportRequiredElement -> [PassportSuitableElement]
data PassportAuthorizationForm
-- | Contains information about a Telegram Passport authorization form that
-- was requested
PassportAuthorizationForm :: I32 -> [PassportRequiredElement] -> T -> PassportAuthorizationForm
-- | Unique identifier of the authorization form
[$sel:id:PassportAuthorizationForm] :: PassportAuthorizationForm -> I32
-- | Information about the Telegram Passport elements that need to be
-- provided to complete the form
[$sel:requiredElements:PassportAuthorizationForm] :: PassportAuthorizationForm -> [PassportRequiredElement]
-- | URL for the privacy policy of the service; may be empty
[$sel:privacyPolicyUrl:PassportAuthorizationForm] :: PassportAuthorizationForm -> T
data PassportElementsWithErrors
-- | Contains information about a Telegram Passport elements and
-- corresponding errors
PassportElementsWithErrors :: [PassportElement] -> [PassportElementError] -> PassportElementsWithErrors
-- | Telegram Passport elements
[$sel:elements:PassportElementsWithErrors] :: PassportElementsWithErrors -> [PassportElement]
-- | Errors in the elements that are already available
[$sel:errors:PassportElementsWithErrors] :: PassportElementsWithErrors -> [PassportElementError]
data EncryptedCredentials
-- | Contains encrypted Telegram Passport data credentials
EncryptedCredentials :: ByteString64 -> ByteString64 -> ByteString64 -> EncryptedCredentials
-- | The encrypted credentials
[$sel:data_:EncryptedCredentials] :: EncryptedCredentials -> ByteString64
-- | The decrypted data hash
[$sel:hash:EncryptedCredentials] :: EncryptedCredentials -> ByteString64
-- | Secret for data decryption, encrypted with the service's public key
[$sel:secret:EncryptedCredentials] :: EncryptedCredentials -> ByteString64
data EncryptedPassportElement
-- | Contains information about an encrypted Telegram Passport element; for
-- bots only
EncryptedPassportElement :: PassportElementType -> ByteString64 -> DatedFile -> Maybe DatedFile -> Maybe DatedFile -> [DatedFile] -> [DatedFile] -> T -> T -> EncryptedPassportElement
-- | Type of Telegram Passport element
[$sel:type_:EncryptedPassportElement] :: EncryptedPassportElement -> PassportElementType
-- | Encrypted JSON-encoded data about the user
[$sel:data_:EncryptedPassportElement] :: EncryptedPassportElement -> ByteString64
-- | The front side of an identity document
[$sel:frontSide:EncryptedPassportElement] :: EncryptedPassportElement -> DatedFile
-- | The reverse side of an identity document; may be null
[$sel:reverseSide:EncryptedPassportElement] :: EncryptedPassportElement -> Maybe DatedFile
-- | Selfie with the document; may be null
[$sel:selfie:EncryptedPassportElement] :: EncryptedPassportElement -> Maybe DatedFile
-- | List of files containing a certified English translation of the
-- document
[$sel:translation:EncryptedPassportElement] :: EncryptedPassportElement -> [DatedFile]
-- | List of attached files
[$sel:files:EncryptedPassportElement] :: EncryptedPassportElement -> [DatedFile]
-- | Unencrypted data, phone number or email address
[$sel:value:EncryptedPassportElement] :: EncryptedPassportElement -> T
-- | Hash of the entire element
[$sel:hash:EncryptedPassportElement] :: EncryptedPassportElement -> T
-- | Contains the description of an error in a Telegram Passport element;
-- for bots only
data InputPassportElementErrorSource
-- | The element contains an error in an unspecified place. The error will
-- be considered resolved when new data is added
InputPassportElementErrorSourceUnspecified :: ByteString64 -> InputPassportElementErrorSource
-- | Current hash of the entire element
[$sel:elementHash:InputPassportElementErrorSourceUnspecified] :: InputPassportElementErrorSource -> ByteString64
-- | A data field contains an error. The error is considered resolved when
-- the field's value changes
InputPassportElementErrorSourceDataField :: T -> ByteString64 -> InputPassportElementErrorSource
-- | Field name
[$sel:fieldName:InputPassportElementErrorSourceUnspecified] :: InputPassportElementErrorSource -> T
-- | Current data hash
[$sel:dataHash:InputPassportElementErrorSourceUnspecified] :: InputPassportElementErrorSource -> ByteString64
-- | The front side of the document contains an error. The error is
-- considered resolved when the file with the front side of the document
-- changes
InputPassportElementErrorSourceFrontSide :: ByteString64 -> InputPassportElementErrorSource
-- | Current hash of the file containing the front side
[$sel:fileHash:InputPassportElementErrorSourceUnspecified] :: InputPassportElementErrorSource -> ByteString64
-- | The reverse side of the document contains an error. The error is
-- considered resolved when the file with the reverse side of the
-- document changes
InputPassportElementErrorSourceReverseSide :: ByteString64 -> InputPassportElementErrorSource
-- | Current hash of the file containing the front side
[$sel:fileHash:InputPassportElementErrorSourceUnspecified] :: InputPassportElementErrorSource -> ByteString64
-- | The selfie contains an error. The error is considered resolved when
-- the file with the selfie changes
InputPassportElementErrorSourceSelfie :: ByteString64 -> InputPassportElementErrorSource
-- | Current hash of the file containing the front side
[$sel:fileHash:InputPassportElementErrorSourceUnspecified] :: InputPassportElementErrorSource -> ByteString64
-- | One of the files containing the translation of the document contains
-- an error. The error is considered resolved when the file with the
-- translation changes
InputPassportElementErrorSourceTranslationFile :: ByteString64 -> InputPassportElementErrorSource
-- | Current hash of the file containing the front side
[$sel:fileHash:InputPassportElementErrorSourceUnspecified] :: InputPassportElementErrorSource -> ByteString64
-- | The translation of the document contains an error. The error is
-- considered resolved when the list of files changes
InputPassportElementErrorSourceTranslationFiles :: [ByteString64] -> InputPassportElementErrorSource
-- | Current hashes of all files with the translation
[$sel:fileHashes:InputPassportElementErrorSourceUnspecified] :: InputPassportElementErrorSource -> [ByteString64]
-- | The file contains an error. The error is considered resolved when the
-- file changes
InputPassportElementErrorSourceFile :: ByteString64 -> InputPassportElementErrorSource
-- | Current hash of the file containing the front side
[$sel:fileHash:InputPassportElementErrorSourceUnspecified] :: InputPassportElementErrorSource -> ByteString64
-- | The list of attached files contains an error. The error is considered
-- resolved when the file list changes
InputPassportElementErrorSourceFiles :: [ByteString64] -> InputPassportElementErrorSource
-- | Current hashes of all files with the translation
[$sel:fileHashes:InputPassportElementErrorSourceUnspecified] :: InputPassportElementErrorSource -> [ByteString64]
data InputPassportElementError
-- | Contains the description of an error in a Telegram Passport element;
-- for bots only
InputPassportElementError :: PassportElementType -> T -> InputPassportElementErrorSource -> InputPassportElementError
-- | Type of Telegram Passport element that has the error
[$sel:type_:InputPassportElementError] :: InputPassportElementError -> PassportElementType
-- | Error message
[$sel:message:InputPassportElementError] :: InputPassportElementError -> T
-- | Error source
[$sel:source:InputPassportElementError] :: InputPassportElementError -> InputPassportElementErrorSource
-- | Contains the content of a message
data MessageContent
-- | A text message
MessageText :: FormattedText -> Maybe WebPage -> MessageContent
-- | Text of the message
[$sel:text_2:MessageText] :: MessageContent -> FormattedText
-- | A preview of the web page that's mentioned in the text; may be null
[$sel:webPage:MessageText] :: MessageContent -> Maybe WebPage
-- | An animation message (GIF-style).
MessageAnimation :: Animation -> FormattedText -> Bool -> MessageContent
-- | The animation description
[$sel:animation:MessageText] :: MessageContent -> Animation
-- | Animation caption
[$sel:caption:MessageText] :: MessageContent -> FormattedText
-- | True, if the animation thumbnail must be blurred and the animation
-- must be shown only while tapped
[$sel:isSecret:MessageText] :: MessageContent -> Bool
-- | An audio message
MessageAudio :: Audio -> FormattedText -> MessageContent
-- | The audio description
[$sel:audio:MessageText] :: MessageContent -> Audio
-- | Animation caption
[$sel:caption:MessageText] :: MessageContent -> FormattedText
-- | A document message (general file)
MessageDocument :: Document -> FormattedText -> MessageContent
-- | The document description
[$sel:document:MessageText] :: MessageContent -> Document
-- | Animation caption
[$sel:caption:MessageText] :: MessageContent -> FormattedText
-- | A photo message
MessagePhoto :: Photo -> FormattedText -> Bool -> MessageContent
-- | The photo description
[$sel:photo:MessageText] :: MessageContent -> Photo
-- | Animation caption
[$sel:caption:MessageText] :: MessageContent -> FormattedText
-- | True, if the animation thumbnail must be blurred and the animation
-- must be shown only while tapped
[$sel:isSecret:MessageText] :: MessageContent -> Bool
-- | An expired photo message (self-destructed after TTL has elapsed)
MessageExpiredPhoto :: MessageContent
-- | A sticker message
MessageSticker :: Sticker -> MessageContent
-- | The sticker description
[$sel:sticker:MessageText] :: MessageContent -> Sticker
-- | A video message
MessageVideo :: Video -> FormattedText -> Bool -> MessageContent
-- | The video description
[$sel:video:MessageText] :: MessageContent -> Video
-- | Animation caption
[$sel:caption:MessageText] :: MessageContent -> FormattedText
-- | True, if the animation thumbnail must be blurred and the animation
-- must be shown only while tapped
[$sel:isSecret:MessageText] :: MessageContent -> Bool
-- | An expired video message (self-destructed after TTL has elapsed)
MessageExpiredVideo :: MessageContent
-- | A video note message
MessageVideoNote :: VideoNote -> Bool -> Bool -> MessageContent
-- | The video note description
[$sel:videoNote:MessageText] :: MessageContent -> VideoNote
-- | True, if at least one of the recipients has viewed the video note
[$sel:isViewed:MessageText] :: MessageContent -> Bool
-- | True, if the animation thumbnail must be blurred and the animation
-- must be shown only while tapped
[$sel:isSecret:MessageText] :: MessageContent -> Bool
-- | A voice note message
MessageVoiceNote :: VoiceNote -> FormattedText -> Bool -> MessageContent
-- | The voice note description
[$sel:voiceNote:MessageText] :: MessageContent -> VoiceNote
-- | Animation caption
[$sel:caption:MessageText] :: MessageContent -> FormattedText
-- | True, if at least one of the recipients has listened to the voice note
[$sel:isListened:MessageText] :: MessageContent -> Bool
-- | A message with a location
MessageLocation :: Location -> I32 -> I32 -> MessageContent
-- | The location description
[$sel:location:MessageText] :: MessageContent -> Location
-- | Time relative to the message sent date until which the location can be
-- updated, in seconds
[$sel:livePeriod:MessageText] :: MessageContent -> I32
-- | Left time for which the location can be updated, in seconds.
-- updateMessageContent is not sent when this field changes
[$sel:expiresIn:MessageText] :: MessageContent -> I32
-- | A message with information about a venue
MessageVenue :: Venue -> MessageContent
-- | The venue description
[$sel:venue:MessageText] :: MessageContent -> Venue
-- | A message with a user contact
MessageContact :: Contact -> MessageContent
-- | The contact description
[$sel:contact:MessageText] :: MessageContent -> Contact
-- | A dice message. The dice value is randomly generated by the server
MessageDice :: Maybe Sticker -> Maybe Sticker -> T -> I32 -> I32 -> MessageContent
-- | The animated sticker with the initial dice animation; may be null if
-- unknown. updateMessageContent will be sent when the sticker became
-- known
[$sel:initialStateSticker:MessageText] :: MessageContent -> Maybe Sticker
-- | The animated sticker with the final dice animation; may be null if
-- unknown. updateMessageContent will be sent when the sticker became
-- known
[$sel:finalStateSticker:MessageText] :: MessageContent -> Maybe Sticker
-- | Emoji on which the dice throw animation is based
[$sel:emoji:MessageText] :: MessageContent -> T
-- | The dice value. If the value is 0, the dice don't have final state yet
[$sel:value:MessageText] :: MessageContent -> I32
-- | Number of frame after which a success animation like a shower of
-- confetti needs to be shown on updateMessageSendSucceeded
[$sel:successAnimationFrameNumber:MessageText] :: MessageContent -> I32
-- | A message with a game
MessageGame :: Game -> MessageContent
-- | The game description
[$sel:game:MessageText] :: MessageContent -> Game
-- | A message with a poll
MessagePoll :: Poll -> MessageContent
-- | The poll description
[$sel:poll:MessageText] :: MessageContent -> Poll
-- | A message with an invoice from a bot
MessageInvoice :: T -> T -> Maybe Photo -> T -> I53 -> T -> Bool -> Bool -> I53 -> MessageContent
-- | Product title
[$sel:title:MessageText] :: MessageContent -> T
-- | A message with an invoice from a bot
[$sel:description:MessageText] :: MessageContent -> T
-- | Product photo; may be null
[$sel:photo_2:MessageText] :: MessageContent -> Maybe Photo
-- | Currency for the product price
[$sel:currency:MessageText] :: MessageContent -> T
-- | Product total price in the minimal quantity of the currency
[$sel:totalAmount:MessageText] :: MessageContent -> I53
-- | Unique invoice bot start_parameter. To share an invoice use the URL
-- https://t.me/{bot_username}?start={start_parameter}
[$sel:startParameter:MessageText] :: MessageContent -> T
-- | True, if the invoice is a test invoice
[$sel:isTest:MessageText] :: MessageContent -> Bool
-- | True, if the shipping address should be specified
[$sel:needShippingAddress:MessageText] :: MessageContent -> Bool
-- | The identifier of the message with the receipt, after the product has
-- been purchased
[$sel:receiptMessageId:MessageText] :: MessageContent -> I53
-- | A message with information about an ended call
MessageCall :: CallDiscardReason -> I32 -> MessageContent
-- | Reason why the call was discarded
[$sel:discardReason:MessageText] :: MessageContent -> CallDiscardReason
-- | Call duration, in seconds
[$sel:duration:MessageText] :: MessageContent -> I32
-- | A newly created basic group
MessageBasicGroupChatCreate :: T -> [I32] -> MessageContent
-- | Product title
[$sel:title:MessageText] :: MessageContent -> T
-- | User identifiers of members in the basic group
[$sel:memberUserIds:MessageText] :: MessageContent -> [I32]
-- | A newly created supergroup or channel
MessageSupergroupChatCreate :: T -> MessageContent
-- | Product title
[$sel:title:MessageText] :: MessageContent -> T
-- | An updated chat title
MessageChatChangeTitle :: T -> MessageContent
-- | Product title
[$sel:title:MessageText] :: MessageContent -> T
-- | An updated chat photo
MessageChatChangePhoto :: Photo -> MessageContent
-- | The photo description
[$sel:photo:MessageText] :: MessageContent -> Photo
-- | A deleted chat photo
MessageChatDeletePhoto :: MessageContent
-- | New chat members were added
MessageChatAddMembers :: [I32] -> MessageContent
-- | User identifiers of members in the basic group
[$sel:memberUserIds:MessageText] :: MessageContent -> [I32]
-- | A new member joined the chat by invite link
MessageChatJoinByLink :: MessageContent
-- | A chat member was deleted
MessageChatDeleteMember :: I32 -> MessageContent
-- | User identifier of the deleted chat member
[$sel:userId:MessageText] :: MessageContent -> I32
-- | A basic group was upgraded to a supergroup and was deactivated as the
-- result
MessageChatUpgradeTo :: I32 -> MessageContent
-- | Identifier of the supergroup to which the basic group was upgraded
[$sel:supergroupId:MessageText] :: MessageContent -> I32
-- | A supergroup has been created from a basic group
MessageChatUpgradeFrom :: T -> I32 -> MessageContent
-- | Product title
[$sel:title:MessageText] :: MessageContent -> T
-- | The identifier of the original basic group
[$sel:basicGroupId:MessageText] :: MessageContent -> I32
-- | A message has been pinned
MessagePinMessage :: I53 -> MessageContent
-- | Identifier of the pinned message, can be an identifier of a deleted
-- message or 0
[$sel:messageId:MessageText] :: MessageContent -> I53
-- | A screenshot of a message in the chat has been taken
MessageScreenshotTaken :: MessageContent
-- | The TTL (Time To Live) setting messages in a secret chat has been
-- changed
MessageChatSetTtl :: I32 -> MessageContent
-- | New TTL
[$sel:ttl:MessageText] :: MessageContent -> I32
-- | A non-standard action has happened in the chat
MessageCustomServiceAction :: T -> MessageContent
-- | Message text to be shown in the chat
[$sel:text:MessageText] :: MessageContent -> T
-- | A new high score was achieved in a game
MessageGameScore :: I53 -> I64 -> I32 -> MessageContent
-- | Identifier of the message with the game, can be an identifier of a
-- deleted message
[$sel:gameMessageId:MessageText] :: MessageContent -> I53
-- | Identifier of the game; may be different from the games presented in
-- the message with the game
[$sel:gameId:MessageText] :: MessageContent -> I64
-- | New score
[$sel:score:MessageText] :: MessageContent -> I32
-- | A payment has been completed
MessagePaymentSuccessful :: I53 -> T -> I53 -> MessageContent
-- | Identifier of the message with the corresponding invoice; can be an
-- identifier of a deleted message
[$sel:invoiceMessageId:MessageText] :: MessageContent -> I53
-- | Currency for the product price
[$sel:currency:MessageText] :: MessageContent -> T
-- | Product total price in the minimal quantity of the currency
[$sel:totalAmount:MessageText] :: MessageContent -> I53
-- | A payment has been completed; for bots only
MessagePaymentSuccessfulBot :: I53 -> T -> I53 -> ByteString64 -> T -> Maybe OrderInfo -> T -> T -> MessageContent
-- | Identifier of the message with the corresponding invoice; can be an
-- identifier of a deleted message
[$sel:invoiceMessageId:MessageText] :: MessageContent -> I53
-- | Currency for the product price
[$sel:currency:MessageText] :: MessageContent -> T
-- | Product total price in the minimal quantity of the currency
[$sel:totalAmount:MessageText] :: MessageContent -> I53
-- | Invoice payload
[$sel:invoicePayload:MessageText] :: MessageContent -> ByteString64
-- | Identifier of the shipping option chosen by the user; may be empty if
-- not applicable
[$sel:shippingOptionId:MessageText] :: MessageContent -> T
-- | Information about the order; may be null
[$sel:orderInfo:MessageText] :: MessageContent -> Maybe OrderInfo
-- | Telegram payment identifier
[$sel:telegramPaymentChargeId:MessageText] :: MessageContent -> T
-- | Provider payment identifier
[$sel:providerPaymentChargeId:MessageText] :: MessageContent -> T
-- | A contact has registered with Telegram
MessageContactRegistered :: MessageContent
-- | The current user has connected a website by logging in using Telegram
-- Login Widget on it
MessageWebsiteConnected :: T -> MessageContent
-- | Domain name of the connected website
[$sel:domainName:MessageText] :: MessageContent -> T
-- | Telegram Passport data has been sent
MessagePassportDataSent :: [PassportElementType] -> MessageContent
-- | List of Telegram Passport element types sent
[$sel:types:MessageText] :: MessageContent -> [PassportElementType]
-- | Telegram Passport data has been received; for bots only
MessagePassportDataReceived :: [EncryptedPassportElement] -> EncryptedCredentials -> MessageContent
-- | List of received Telegram Passport elements
[$sel:elements:MessageText] :: MessageContent -> [EncryptedPassportElement]
-- | Encrypted data credentials
[$sel:credentials:MessageText] :: MessageContent -> EncryptedCredentials
-- | Message content that is not supported by the client
MessageUnsupported :: MessageContent
-- | Represents a part of the text which must be formatted differently
data TextEntityType
-- | A mention of a user by their username
TextEntityTypeMention :: TextEntityType
-- | A hashtag text, beginning with "#"
TextEntityTypeHashtag :: TextEntityType
-- | A cashtag text, beginning with "$" and consisting of capital english
-- letters (i.e. "$USD")
TextEntityTypeCashtag :: TextEntityType
-- | A bot command, beginning with "/". This shouldn't be highlighted if
-- there are no bots in the chat
TextEntityTypeBotCommand :: TextEntityType
-- | An HTTP URL
TextEntityTypeUrl :: TextEntityType
-- | An email address
TextEntityTypeEmailAddress :: TextEntityType
-- | A phone number
TextEntityTypePhoneNumber :: TextEntityType
-- | A bank card number. The getBankCardInfo method can be used to get
-- information about the bank card
TextEntityTypeBankCardNumber :: TextEntityType
-- | A bold text
TextEntityTypeBold :: TextEntityType
-- | An italic text
TextEntityTypeItalic :: TextEntityType
-- | An underlined text
TextEntityTypeUnderline :: TextEntityType
-- | A strikethrough text
TextEntityTypeStrikethrough :: TextEntityType
-- | Text that must be formatted as if inside a code HTML tag
TextEntityTypeCode :: TextEntityType
-- | Text that must be formatted as if inside a pre HTML tag
TextEntityTypePre :: TextEntityType
-- | Text that must be formatted as if inside pre, and code HTML tags
TextEntityTypePreCode :: T -> TextEntityType
-- | Programming language of the code; as defined by the sender
[$sel:language:TextEntityTypeMention] :: TextEntityType -> T
-- | A text description shown instead of a raw URL
TextEntityTypeTextUrl :: T -> TextEntityType
-- | HTTP or tg:// URL to be opened when the link is clicked
[$sel:url:TextEntityTypeMention] :: TextEntityType -> T
-- | A text shows instead of a raw mention of the user (e.g., when the user
-- has no username)
TextEntityTypeMentionName :: I32 -> TextEntityType
-- | Identifier of the mentioned user
[$sel:userId:TextEntityTypeMention] :: TextEntityType -> I32
data InputThumbnail
-- | A thumbnail to be sent along with a file; should be in JPEG or WEBP
-- format for stickers, and less than 200 KB in size
InputThumbnail :: InputFile -> I32 -> I32 -> InputThumbnail
-- | Thumbnail file to send. Sending thumbnails by file_id is currently not
-- supported
[$sel:thumbnail:InputThumbnail] :: InputThumbnail -> InputFile
-- | Thumbnail width, usually shouldn't exceed 320. Use 0 if unknown
[$sel:width:InputThumbnail] :: InputThumbnail -> I32
-- | Thumbnail height, usually shouldn't exceed 320. Use 0 if unknown
[$sel:height:InputThumbnail] :: InputThumbnail -> I32
-- | Contains information about the time when a scheduled message will be
-- sent
data MessageSchedulingState
-- | The message will be sent at the specified date
MessageSchedulingStateSendAtDate :: I32 -> MessageSchedulingState
-- | Date the message will be sent. The date must be within 367 days in the
-- future
[$sel:sendDate:MessageSchedulingStateSendAtDate] :: MessageSchedulingState -> I32
-- | The message will be sent when the peer will be online. Applicable to
-- private chats only and when the exact online status of the peer is
-- known
MessageSchedulingStateSendWhenOnline :: MessageSchedulingState
data SendMessageOptions
-- | Options to be used when a message is send
SendMessageOptions :: Bool -> Bool -> MessageSchedulingState -> SendMessageOptions
-- | Pass true to disable notification for the message. Must be false if
-- the message is sent to a secret chat
[$sel:disableNotification:SendMessageOptions] :: SendMessageOptions -> Bool
-- | Pass true if the message is sent from the background
[$sel:fromBackground:SendMessageOptions] :: SendMessageOptions -> Bool
-- | Message scheduling state. Messages sent to a secret chat, live
-- location messages and self-destructing messages can't be scheduled
[$sel:schedulingState:SendMessageOptions] :: SendMessageOptions -> MessageSchedulingState
-- | The content of a message to send
data InputMessageContent
-- | A text message
InputMessageText :: FormattedText -> Bool -> Bool -> InputMessageContent
-- | Formatted text to be sent; 1-GetOption("message_text_length_max")
-- characters. Only Bold, Italic, Underline, Strikethrough, Code, Pre,
-- PreCode, TextUrl and MentionName entities are allowed to be specified
-- manually
[$sel:text:InputMessageText] :: InputMessageContent -> FormattedText
-- | True, if rich web page previews for URLs in the message text should be
-- disabled
[$sel:disableWebPagePreview:InputMessageText] :: InputMessageContent -> Bool
-- | True, if a chat message draft should be deleted
[$sel:clearDraft:InputMessageText] :: InputMessageContent -> Bool
-- | An animation message (GIF-style).
InputMessageAnimation :: InputFile -> InputThumbnail -> [I32] -> I32 -> I32 -> I32 -> FormattedText -> InputMessageContent
-- | Animation file to be sent
[$sel:animation:InputMessageText] :: InputMessageContent -> InputFile
-- | Animation thumbnail, if available
[$sel:thumbnail:InputMessageText] :: InputMessageContent -> InputThumbnail
-- | File identifiers of the stickers added to the animation, if applicable
[$sel:addedStickerFileIds:InputMessageText] :: InputMessageContent -> [I32]
-- | Duration of the animation, in seconds
[$sel:duration:InputMessageText] :: InputMessageContent -> I32
-- | Width of the animation; may be replaced by the server
[$sel:width:InputMessageText] :: InputMessageContent -> I32
-- | Height of the animation; may be replaced by the server
[$sel:height:InputMessageText] :: InputMessageContent -> I32
-- | Animation caption; 0-GetOption("message_caption_length_max")
-- characters
[$sel:caption:InputMessageText] :: InputMessageContent -> FormattedText
-- | An audio message
InputMessageAudio :: InputFile -> InputThumbnail -> I32 -> T -> T -> FormattedText -> InputMessageContent
-- | Audio file to be sent
[$sel:audio:InputMessageText] :: InputMessageContent -> InputFile
-- | Thumbnail of the cover for the album, if available
[$sel:albumCoverThumbnail:InputMessageText] :: InputMessageContent -> InputThumbnail
-- | Duration of the animation, in seconds
[$sel:duration:InputMessageText] :: InputMessageContent -> I32
-- | Title of the audio; 0-64 characters; may be replaced by the server
[$sel:title:InputMessageText] :: InputMessageContent -> T
-- | Performer of the audio; 0-64 characters, may be replaced by the server
[$sel:performer:InputMessageText] :: InputMessageContent -> T
-- | Animation caption; 0-GetOption("message_caption_length_max")
-- characters
[$sel:caption:InputMessageText] :: InputMessageContent -> FormattedText
-- | A document message (general file)
InputMessageDocument :: InputFile -> InputThumbnail -> FormattedText -> InputMessageContent
-- | Document to be sent
[$sel:document:InputMessageText] :: InputMessageContent -> InputFile
-- | Animation thumbnail, if available
[$sel:thumbnail:InputMessageText] :: InputMessageContent -> InputThumbnail
-- | Animation caption; 0-GetOption("message_caption_length_max")
-- characters
[$sel:caption:InputMessageText] :: InputMessageContent -> FormattedText
-- | A photo message
InputMessagePhoto :: InputFile -> InputThumbnail -> [I32] -> I32 -> I32 -> FormattedText -> I32 -> InputMessageContent
-- | Photo to send
[$sel:photo:InputMessageText] :: InputMessageContent -> InputFile
-- | Animation thumbnail, if available
[$sel:thumbnail:InputMessageText] :: InputMessageContent -> InputThumbnail
-- | File identifiers of the stickers added to the animation, if applicable
[$sel:addedStickerFileIds:InputMessageText] :: InputMessageContent -> [I32]
-- | Width of the animation; may be replaced by the server
[$sel:width:InputMessageText] :: InputMessageContent -> I32
-- | Height of the animation; may be replaced by the server
[$sel:height:InputMessageText] :: InputMessageContent -> I32
-- | Animation caption; 0-GetOption("message_caption_length_max")
-- characters
[$sel:caption:InputMessageText] :: InputMessageContent -> FormattedText
-- | Photo TTL (Time To Live), in seconds (0-60). A non-zero TTL can be
-- specified only in private chats
[$sel:ttl:InputMessageText] :: InputMessageContent -> I32
-- | A sticker message
InputMessageSticker :: InputFile -> InputThumbnail -> I32 -> I32 -> InputMessageContent
-- | Sticker to be sent
[$sel:sticker:InputMessageText] :: InputMessageContent -> InputFile
-- | Animation thumbnail, if available
[$sel:thumbnail:InputMessageText] :: InputMessageContent -> InputThumbnail
-- | Width of the animation; may be replaced by the server
[$sel:width:InputMessageText] :: InputMessageContent -> I32
-- | Height of the animation; may be replaced by the server
[$sel:height:InputMessageText] :: InputMessageContent -> I32
-- | A video message
InputMessageVideo :: InputFile -> InputThumbnail -> [I32] -> I32 -> I32 -> I32 -> Bool -> FormattedText -> I32 -> InputMessageContent
-- | Video to be sent
[$sel:video:InputMessageText] :: InputMessageContent -> InputFile
-- | Animation thumbnail, if available
[$sel:thumbnail:InputMessageText] :: InputMessageContent -> InputThumbnail
-- | File identifiers of the stickers added to the animation, if applicable
[$sel:addedStickerFileIds:InputMessageText] :: InputMessageContent -> [I32]
-- | Duration of the animation, in seconds
[$sel:duration:InputMessageText] :: InputMessageContent -> I32
-- | Width of the animation; may be replaced by the server
[$sel:width:InputMessageText] :: InputMessageContent -> I32
-- | Height of the animation; may be replaced by the server
[$sel:height:InputMessageText] :: InputMessageContent -> I32
-- | True, if the video should be tried to be streamed
[$sel:supportsStreaming:InputMessageText] :: InputMessageContent -> Bool
-- | Animation caption; 0-GetOption("message_caption_length_max")
-- characters
[$sel:caption:InputMessageText] :: InputMessageContent -> FormattedText
-- | Photo TTL (Time To Live), in seconds (0-60). A non-zero TTL can be
-- specified only in private chats
[$sel:ttl:InputMessageText] :: InputMessageContent -> I32
-- | A video note message
InputMessageVideoNote :: InputFile -> InputThumbnail -> I32 -> I32 -> InputMessageContent
-- | Video note to be sent
[$sel:videoNote:InputMessageText] :: InputMessageContent -> InputFile
-- | Animation thumbnail, if available
[$sel:thumbnail:InputMessageText] :: InputMessageContent -> InputThumbnail
-- | Duration of the animation, in seconds
[$sel:duration:InputMessageText] :: InputMessageContent -> I32
-- | Video width and height; must be positive and not greater than 640
[$sel:length:InputMessageText] :: InputMessageContent -> I32
-- | A voice note message
InputMessageVoiceNote :: InputFile -> I32 -> ByteString64 -> FormattedText -> InputMessageContent
-- | Voice note to be sent
[$sel:voiceNote:InputMessageText] :: InputMessageContent -> InputFile
-- | Duration of the animation, in seconds
[$sel:duration:InputMessageText] :: InputMessageContent -> I32
-- | Waveform representation of the voice note, in 5-bit format
[$sel:waveform:InputMessageText] :: InputMessageContent -> ByteString64
-- | Animation caption; 0-GetOption("message_caption_length_max")
-- characters
[$sel:caption:InputMessageText] :: InputMessageContent -> FormattedText
-- | A message with a location
InputMessageLocation :: Location -> I32 -> InputMessageContent
-- | Location to be sent
[$sel:location:InputMessageText] :: InputMessageContent -> Location
-- | Period for which the location can be updated, in seconds; should be
-- between 60 and 86400 for a live location and 0 otherwise
[$sel:livePeriod:InputMessageText] :: InputMessageContent -> I32
-- | A message with information about a venue
InputMessageVenue :: Venue -> InputMessageContent
-- | Venue to send
[$sel:venue:InputMessageText] :: InputMessageContent -> Venue
-- | A message containing a user contact
InputMessageContact :: Contact -> InputMessageContent
-- | Contact to send
[$sel:contact:InputMessageText] :: InputMessageContent -> Contact
-- | A dice message
InputMessageDice :: T -> Bool -> InputMessageContent
-- | Emoji on which the dice throw animation is based
[$sel:emoji:InputMessageText] :: InputMessageContent -> T
-- | True, if a chat message draft should be deleted
[$sel:clearDraft:InputMessageText] :: InputMessageContent -> Bool
-- | A message with a game; not supported for channels or secret chats
InputMessageGame :: I32 -> T -> InputMessageContent
-- | User identifier of the bot that owns the game
[$sel:botUserId:InputMessageText] :: InputMessageContent -> I32
-- | Short name of the game
[$sel:gameShortName:InputMessageText] :: InputMessageContent -> T
-- | A message with an invoice; can be used only by bots and only in
-- private chats
InputMessageInvoice :: Invoice -> T -> T -> T -> I32 -> I32 -> I32 -> ByteString64 -> T -> T -> T -> InputMessageContent
-- | Invoice
[$sel:invoice:InputMessageText] :: InputMessageContent -> Invoice
-- | Title of the audio; 0-64 characters; may be replaced by the server
[$sel:title:InputMessageText] :: InputMessageContent -> T
-- | A message with an invoice; can be used only by bots and only in
-- private chats
[$sel:description:InputMessageText] :: InputMessageContent -> T
-- | Product photo URL; optional
[$sel:photoUrl:InputMessageText] :: InputMessageContent -> T
-- | Product photo size
[$sel:photoSize:InputMessageText] :: InputMessageContent -> I32
-- | Product photo width
[$sel:photoWidth:InputMessageText] :: InputMessageContent -> I32
-- | Product photo height
[$sel:photoHeight:InputMessageText] :: InputMessageContent -> I32
-- | The invoice payload
[$sel:payload:InputMessageText] :: InputMessageContent -> ByteString64
-- | Payment provider token
[$sel:providerToken:InputMessageText] :: InputMessageContent -> T
-- | JSON-encoded data about the invoice, which will be shared with the
-- payment provider
[$sel:providerData:InputMessageText] :: InputMessageContent -> T
-- | Unique invoice bot start_parameter for the generation of this invoice
[$sel:startParameter:InputMessageText] :: InputMessageContent -> T
-- | A message with a poll. Polls can't be sent to secret chats. Polls can
-- be sent only to a private chat with a bot
InputMessagePoll :: T -> [T] -> Bool -> PollType -> I32 -> I32 -> Bool -> InputMessageContent
-- | Poll question, 1-255 characters
[$sel:question:InputMessageText] :: InputMessageContent -> T
-- | List of poll answer options, 2-10 strings 1-100 characters each
[$sel:options:InputMessageText] :: InputMessageContent -> [T]
-- | True, if the poll voters are anonymous. Non-anonymous polls can't be
-- sent or forwarded to channels
[$sel:isAnonymous:InputMessageText] :: InputMessageContent -> Bool
-- | Type of the poll
[$sel:type_:InputMessageText] :: InputMessageContent -> PollType
-- | Amount of time the poll will be active after creation, in seconds; for
-- bots only
[$sel:openPeriod:InputMessageText] :: InputMessageContent -> I32
-- | Point in time (Unix timestamp) when the poll will be automatically
-- closed; for bots only
[$sel:closeDate:InputMessageText] :: InputMessageContent -> I32
-- | True, if the poll needs to be sent already closed; for bots only
[$sel:isClosed:InputMessageText] :: InputMessageContent -> Bool
-- | A forwarded message
InputMessageForwarded :: I53 -> I53 -> Bool -> Bool -> Bool -> InputMessageContent
-- | Identifier for the chat this forwarded message came from
[$sel:fromChatId:InputMessageText] :: InputMessageContent -> I53
-- | Identifier of the message to forward
[$sel:messageId:InputMessageText] :: InputMessageContent -> I53
-- | True, if a game message should be shared within a launched game;
-- applies only to game messages
[$sel:inGameShare:InputMessageText] :: InputMessageContent -> Bool
-- | True, if content of the message needs to be copied without a link to
-- the original message. Always true if the message is forwarded to a
-- secret chat
[$sel:sendCopy:InputMessageText] :: InputMessageContent -> Bool
-- | True, if media caption of the message copy needs to be removed.
-- Ignored if send_copy is false
[$sel:removeCaption:InputMessageText] :: InputMessageContent -> Bool
-- | Represents a filter for message search results
data SearchMessagesFilter
-- | Returns all found messages, no filter is applied
SearchMessagesFilterEmpty :: SearchMessagesFilter
-- | Returns only animation messages
SearchMessagesFilterAnimation :: SearchMessagesFilter
-- | Returns only audio messages
SearchMessagesFilterAudio :: SearchMessagesFilter
-- | Returns only document messages
SearchMessagesFilterDocument :: SearchMessagesFilter
-- | Returns only photo messages
SearchMessagesFilterPhoto :: SearchMessagesFilter
-- | Returns only video messages
SearchMessagesFilterVideo :: SearchMessagesFilter
-- | Returns only voice note messages
SearchMessagesFilterVoiceNote :: SearchMessagesFilter
-- | Returns only photo and video messages
SearchMessagesFilterPhotoAndVideo :: SearchMessagesFilter
-- | Returns only messages containing URLs
SearchMessagesFilterUrl :: SearchMessagesFilter
-- | Returns only messages containing chat photos
SearchMessagesFilterChatPhoto :: SearchMessagesFilter
-- | Returns only call messages
SearchMessagesFilterCall :: SearchMessagesFilter
-- | Returns only incoming call messages with missed/declined discard
-- reasons
SearchMessagesFilterMissedCall :: SearchMessagesFilter
-- | Returns only video note messages
SearchMessagesFilterVideoNote :: SearchMessagesFilter
-- | Returns only voice and video note messages
SearchMessagesFilterVoiceAndVideoNote :: SearchMessagesFilter
-- | Returns only messages with mentions of the current user, or messages
-- that are replies to their messages
SearchMessagesFilterMention :: SearchMessagesFilter
-- | Returns only messages with unread mentions of the current user, or
-- messages that are replies to their messages. When using this filter
-- the results can't be additionally filtered by a query or by the
-- sending user
SearchMessagesFilterUnreadMention :: SearchMessagesFilter
-- | Returns only failed to send messages. This filter can be used only if
-- the message database is used
SearchMessagesFilterFailedToSend :: SearchMessagesFilter
-- | Describes the different types of activity in a chat
data ChatAction
-- | The user is typing a message
ChatActionTyping :: ChatAction
-- | The user is recording a video
ChatActionRecordingVideo :: ChatAction
-- | The user is uploading a video
ChatActionUploadingVideo :: I32 -> ChatAction
-- | Upload progress, as a percentage
[$sel:progress:ChatActionTyping] :: ChatAction -> I32
-- | The user is recording a voice note
ChatActionRecordingVoiceNote :: ChatAction
-- | The user is uploading a voice note
ChatActionUploadingVoiceNote :: I32 -> ChatAction
-- | Upload progress, as a percentage
[$sel:progress:ChatActionTyping] :: ChatAction -> I32
-- | The user is uploading a photo
ChatActionUploadingPhoto :: I32 -> ChatAction
-- | Upload progress, as a percentage
[$sel:progress:ChatActionTyping] :: ChatAction -> I32
-- | The user is uploading a document
ChatActionUploadingDocument :: I32 -> ChatAction
-- | Upload progress, as a percentage
[$sel:progress:ChatActionTyping] :: ChatAction -> I32
-- | The user is picking a location or venue to send
ChatActionChoosingLocation :: ChatAction
-- | The user is picking a contact to send
ChatActionChoosingContact :: ChatAction
-- | The user has started to play a game
ChatActionStartPlayingGame :: ChatAction
-- | The user is recording a video note
ChatActionRecordingVideoNote :: ChatAction
-- | The user is uploading a video note
ChatActionUploadingVideoNote :: I32 -> ChatAction
-- | Upload progress, as a percentage
[$sel:progress:ChatActionTyping] :: ChatAction -> I32
-- | The user has cancelled the previous action
ChatActionCancel :: ChatAction
-- | Describes the last time the user was online
data UserStatus
-- | The user status was never changed
UserStatusEmpty :: UserStatus
-- | The user is online
UserStatusOnline :: I32 -> UserStatus
-- | Point in time (Unix timestamp) when the user's online status will
-- expire
[$sel:expires:UserStatusEmpty] :: UserStatus -> I32
-- | The user is offline
UserStatusOffline :: I32 -> UserStatus
-- | Point in time (Unix timestamp) when the user was last online
[$sel:wasOnline:UserStatusEmpty] :: UserStatus -> I32
-- | The user was online recently
UserStatusRecently :: UserStatus
-- | The user is offline, but was online last week
UserStatusLastWeek :: UserStatus
-- | The user is offline, but was online last month
UserStatusLastMonth :: UserStatus
data Stickers
-- | Represents a list of stickers
Stickers :: [Sticker] -> Stickers
-- | List of stickers
[$sel:stickers:Stickers] :: Stickers -> [Sticker]
data Emojis
-- | Represents a list of emoji
Emojis :: [T] -> Emojis
-- | List of emojis
[$sel:emojis:Emojis] :: Emojis -> [T]
data StickerSet
-- | Represents a sticker set
StickerSet :: I64 -> T -> T -> Maybe Thumbnail -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> [Sticker] -> [Emojis] -> StickerSet
-- | Identifier of the sticker set
[$sel:id:StickerSet] :: StickerSet -> I64
-- | Title of the sticker set
[$sel:title:StickerSet] :: StickerSet -> T
-- | Name of the sticker set
[$sel:name:StickerSet] :: StickerSet -> T
-- | Sticker set thumbnail in WEBP or TGS format with width and height 100;
-- may be null. The file can be downloaded only before the thumbnail is
-- changed
[$sel:thumbnail:StickerSet] :: StickerSet -> Maybe Thumbnail
-- | True, if the sticker set has been installed by the current user
[$sel:isInstalled:StickerSet] :: StickerSet -> Bool
-- | True, if the sticker set has been archived. A sticker set can't be
-- installed and archived simultaneously
[$sel:isArchived:StickerSet] :: StickerSet -> Bool
-- | True, if the sticker set is official
[$sel:isOfficial:StickerSet] :: StickerSet -> Bool
-- | True, is the stickers in the set are animated
[$sel:isAnimated:StickerSet] :: StickerSet -> Bool
-- | True, if the stickers in the set are masks
[$sel:isMasks:StickerSet] :: StickerSet -> Bool
-- | True for already viewed trending sticker sets
[$sel:isViewed:StickerSet] :: StickerSet -> Bool
-- | List of stickers in this set
[$sel:stickers:StickerSet] :: StickerSet -> [Sticker]
-- | A list of emoji corresponding to the stickers in the same order. The
-- list is only for informational purposes, because a sticker is always
-- sent with a fixed emoji from the corresponding Sticker object
[$sel:emojis:StickerSet] :: StickerSet -> [Emojis]
data StickerSetInfo
-- | Represents short information about a sticker set
StickerSetInfo :: I64 -> T -> T -> Maybe Thumbnail -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> I32 -> [Sticker] -> StickerSetInfo
-- | Identifier of the sticker set
[$sel:id:StickerSetInfo] :: StickerSetInfo -> I64
-- | Title of the sticker set
[$sel:title:StickerSetInfo] :: StickerSetInfo -> T
-- | Name of the sticker set
[$sel:name:StickerSetInfo] :: StickerSetInfo -> T
-- | Sticker set thumbnail in WEBP or TGS format with width and height 100;
-- may be null
[$sel:thumbnail:StickerSetInfo] :: StickerSetInfo -> Maybe Thumbnail
-- | True, if the sticker set has been installed by current user
[$sel:isInstalled:StickerSetInfo] :: StickerSetInfo -> Bool
-- | True, if the sticker set has been archived. A sticker set can't be
-- installed and archived simultaneously
[$sel:isArchived:StickerSetInfo] :: StickerSetInfo -> Bool
-- | True, if the sticker set is official
[$sel:isOfficial:StickerSetInfo] :: StickerSetInfo -> Bool
-- | True, is the stickers in the set are animated
[$sel:isAnimated:StickerSetInfo] :: StickerSetInfo -> Bool
-- | True, if the stickers in the set are masks
[$sel:isMasks:StickerSetInfo] :: StickerSetInfo -> Bool
-- | True for already viewed trending sticker sets
[$sel:isViewed:StickerSetInfo] :: StickerSetInfo -> Bool
-- | Total number of stickers in the set
[$sel:size:StickerSetInfo] :: StickerSetInfo -> I32
-- | Contains up to the first 5 stickers from the set, depending on the
-- context. If the client needs more stickers the full set should be
-- requested
[$sel:covers:StickerSetInfo] :: StickerSetInfo -> [Sticker]
data StickerSets
-- | Represents a list of sticker sets
StickerSets :: I32 -> [StickerSetInfo] -> StickerSets
-- | Approximate total number of sticker sets found
[$sel:totalCount:StickerSets] :: StickerSets -> I32
-- | List of sticker sets
[$sel:sets:StickerSets] :: StickerSets -> [StickerSetInfo]
-- | Describes the reason why a call was discarded
data CallDiscardReason
-- | The call wasn't discarded, or the reason is unknown
CallDiscardReasonEmpty :: CallDiscardReason
-- | The call was ended before the conversation started. It was cancelled
-- by the caller or missed by the other party
CallDiscardReasonMissed :: CallDiscardReason
-- | The call was ended before the conversation started. It was declined by
-- the other party
CallDiscardReasonDeclined :: CallDiscardReason
-- | The call was ended during the conversation because the users were
-- disconnected
CallDiscardReasonDisconnected :: CallDiscardReason
-- | The call was ended because one of the parties hung up
CallDiscardReasonHungUp :: CallDiscardReason
data CallProtocol
-- | Specifies the supported call protocols
CallProtocol :: Bool -> Bool -> I32 -> I32 -> [T] -> CallProtocol
-- | True, if UDP peer-to-peer connections are supported
[$sel:udpP2p:CallProtocol] :: CallProtocol -> Bool
-- | True, if connection through UDP reflectors is supported
[$sel:udpReflector:CallProtocol] :: CallProtocol -> Bool
-- | The minimum supported API layer; use 65
[$sel:minLayer:CallProtocol] :: CallProtocol -> I32
-- | The maximum supported API layer; use 65
[$sel:maxLayer:CallProtocol] :: CallProtocol -> I32
-- | List of supported libtgvoip versions
[$sel:libraryVersions:CallProtocol] :: CallProtocol -> [T]
data CallConnection
-- | Describes the address of UDP reflectors
CallConnection :: I64 -> T -> T -> I32 -> ByteString64 -> CallConnection
-- | Reflector identifier
[$sel:id:CallConnection] :: CallConnection -> I64
-- | IPv4 reflector address
[$sel:ip:CallConnection] :: CallConnection -> T
-- | IPv6 reflector address
[$sel:ipv6:CallConnection] :: CallConnection -> T
-- | Reflector port number
[$sel:port:CallConnection] :: CallConnection -> I32
-- | Connection peer tag
[$sel:peerTag:CallConnection] :: CallConnection -> ByteString64
data CallId
-- | Contains the call identifier
CallId :: I32 -> CallId
-- | Call identifier
[$sel:id:CallId] :: CallId -> I32
-- | Describes the current call state
data CallState
-- | The call is pending, waiting to be accepted by a user
CallStatePending :: Bool -> Bool -> CallState
-- | True, if the call has already been created by the server
[$sel:isCreated:CallStatePending] :: CallState -> Bool
-- | True, if the call has already been received by the other party
[$sel:isReceived:CallStatePending] :: CallState -> Bool
-- | The call has been answered and encryption keys are being exchanged
CallStateExchangingKeys :: CallState
-- | The call is ready to use
CallStateReady :: CallProtocol -> [CallConnection] -> T -> ByteString64 -> [T] -> Bool -> CallState
-- | Call protocols supported by the peer
[$sel:protocol:CallStatePending] :: CallState -> CallProtocol
-- | Available UDP reflectors
[$sel:connections:CallStatePending] :: CallState -> [CallConnection]
-- | A JSON-encoded call config
[$sel:config:CallStatePending] :: CallState -> T
-- | Call encryption key
[$sel:encryptionKey:CallStatePending] :: CallState -> ByteString64
-- | Encryption key emojis fingerprint
[$sel:emojis:CallStatePending] :: CallState -> [T]
-- | True, if peer-to-peer connection is allowed by users privacy settings
[$sel:allowP2p:CallStatePending] :: CallState -> Bool
-- | The call is hanging up after discardCall has been called
CallStateHangingUp :: CallState
-- | The call has ended successfully
CallStateDiscarded :: CallDiscardReason -> Bool -> Bool -> CallState
-- | The reason, why the call has ended
[$sel:reason:CallStatePending] :: CallState -> CallDiscardReason
-- | True, if the call rating should be sent to the server
[$sel:needRating:CallStatePending] :: CallState -> Bool
-- | True, if the call debug information should be sent to the server
[$sel:needDebugInformation:CallStatePending] :: CallState -> Bool
-- | The call has ended with an error
CallStateError :: Error -> CallState
-- | Error. An error with the code 4005000 will be returned if an outgoing
-- call is missed because of an expired timeout
[$sel:error:CallStatePending] :: CallState -> Error
-- | Describes the exact type of a problem with a call
data CallProblem
-- | The user heard their own voice
CallProblemEcho :: CallProblem
-- | The user heard background noise
CallProblemNoise :: CallProblem
-- | The other side kept disappearing
CallProblemInterruptions :: CallProblem
-- | The speech was distorted
CallProblemDistortedSpeech :: CallProblem
-- | The user couldn't hear the other side
CallProblemSilentLocal :: CallProblem
-- | The other side couldn't hear the user
CallProblemSilentRemote :: CallProblem
-- | The call ended unexpectedly
CallProblemDropped :: CallProblem
data Call
-- | Describes a call
Call :: I32 -> I32 -> Bool -> CallState -> Call
-- | Call identifier, not persistent
[$sel:id:Call] :: Call -> I32
-- | Peer user identifier
[$sel:userId:Call] :: Call -> I32
-- | True, if the call is outgoing
[$sel:isOutgoing:Call] :: Call -> Bool
-- | Call state
[$sel:state:Call] :: Call -> CallState
data PhoneNumberAuthenticationSettings
-- | Contains settings for the authentication of the user's phone number
PhoneNumberAuthenticationSettings :: Bool -> Bool -> Bool -> PhoneNumberAuthenticationSettings
-- | Pass true if the authentication code may be sent via flash call to the
-- specified phone number
[$sel:allowFlashCall:PhoneNumberAuthenticationSettings] :: PhoneNumberAuthenticationSettings -> Bool
-- | Pass true if the authenticated phone number is used on the current
-- device
[$sel:isCurrentPhoneNumber:PhoneNumberAuthenticationSettings] :: PhoneNumberAuthenticationSettings -> Bool
-- | For official applications only. True, if the app can use Android SMS
-- Retriever API (requires Google Play Services >= 10.2) to
-- automatically receive the authentication code from the SMS. See
-- https://developers.google.com/identity/sms-retriever/ for more
-- details
[$sel:allowSmsRetrieverApi:PhoneNumberAuthenticationSettings] :: PhoneNumberAuthenticationSettings -> Bool
data Animations
-- | Represents a list of animations
Animations :: [Animation] -> Animations
-- | List of animations
[$sel:animations:Animations] :: Animations -> [Animation]
data ImportedContacts
-- | Represents the result of an ImportContacts request
ImportedContacts :: [I32] -> [I32] -> ImportedContacts
-- | User identifiers of the imported contacts in the same order as they
-- were specified in the request; 0 if the contact is not yet a
-- registered user
[$sel:userIds:ImportedContacts] :: ImportedContacts -> [I32]
-- | The number of users that imported the corresponding contact; 0 for
-- already registered users or if unavailable
[$sel:importerCount:ImportedContacts] :: ImportedContacts -> [I32]
data HttpUrl
-- | Contains an HTTP URL
HttpUrl :: T -> HttpUrl
-- | The URL
[$sel:url:HttpUrl] :: HttpUrl -> T
-- | Represents a single result of an inline query; for bots only
data InputInlineQueryResult
-- | Represents a link to an animated GIF or an animated (i.e. without
-- sound) H.264/MPEG-4 AVC video
InputInlineQueryResultAnimation :: T -> T -> T -> T -> T -> T -> I32 -> I32 -> I32 -> ReplyMarkup -> InputMessageContent -> InputInlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Title of the query result
[$sel:title:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists
[$sel:thumbnailUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | MIME type of the video thumbnail. If non-empty, must be one of
-- "imagejpeg", "imagegif" and "video/mp4"
[$sel:thumbnailMimeType:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | The URL of the video file (file size must not exceed 1MB)
[$sel:videoUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | MIME type of the video file. Must be one of "imagegif" and
-- "videomp4"
[$sel:videoMimeType:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Duration of the video, in seconds
[$sel:videoDuration:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | Width of the video
[$sel:videoWidth:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | Height of the video
[$sel:videoHeight:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | The message reply markup. Must be of type replyMarkupInlineKeyboard or
-- null
[$sel:replyMarkup:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> ReplyMarkup
-- | The content of the message to be sent. Must be one of the following
-- types: InputMessageText, InputMessageAnimation, InputMessageLocation,
-- InputMessageVenue or InputMessageContact
[$sel:inputMessageContent:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> InputMessageContent
-- | Represents a link to an article or web page
InputInlineQueryResultArticle :: T -> T -> Bool -> T -> T -> T -> I32 -> I32 -> ReplyMarkup -> InputMessageContent -> InputInlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | URL of the result, if it exists
[$sel:url:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | True, if the URL must be not shown
[$sel:hideUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> Bool
-- | Title of the query result
[$sel:title:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Represents a link to an article or web page
[$sel:description:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists
[$sel:thumbnailUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Thumbnail width, if known
[$sel:thumbnailWidth:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | Thumbnail height, if known
[$sel:thumbnailHeight:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | The message reply markup. Must be of type replyMarkupInlineKeyboard or
-- null
[$sel:replyMarkup:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> ReplyMarkup
-- | The content of the message to be sent. Must be one of the following
-- types: InputMessageText, InputMessageAnimation, InputMessageLocation,
-- InputMessageVenue or InputMessageContact
[$sel:inputMessageContent:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> InputMessageContent
-- | Represents a link to an MP3 audio file
InputInlineQueryResultAudio :: T -> T -> T -> T -> I32 -> ReplyMarkup -> InputMessageContent -> InputInlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Title of the query result
[$sel:title:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Performer of the audio file
[$sel:performer:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | The URL of the audio file
[$sel:audioUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Audio file duration, in seconds
[$sel:audioDuration:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | The message reply markup. Must be of type replyMarkupInlineKeyboard or
-- null
[$sel:replyMarkup:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> ReplyMarkup
-- | The content of the message to be sent. Must be one of the following
-- types: InputMessageText, InputMessageAnimation, InputMessageLocation,
-- InputMessageVenue or InputMessageContact
[$sel:inputMessageContent:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> InputMessageContent
-- | Represents a user contact
InputInlineQueryResultContact :: T -> Contact -> T -> I32 -> I32 -> ReplyMarkup -> InputMessageContent -> InputInlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | User contact
[$sel:contact:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> Contact
-- | URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists
[$sel:thumbnailUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Thumbnail width, if known
[$sel:thumbnailWidth:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | Thumbnail height, if known
[$sel:thumbnailHeight:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | The message reply markup. Must be of type replyMarkupInlineKeyboard or
-- null
[$sel:replyMarkup:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> ReplyMarkup
-- | The content of the message to be sent. Must be one of the following
-- types: InputMessageText, InputMessageAnimation, InputMessageLocation,
-- InputMessageVenue or InputMessageContact
[$sel:inputMessageContent:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> InputMessageContent
-- | Represents a link to a file
InputInlineQueryResultDocument :: T -> T -> T -> T -> T -> T -> I32 -> I32 -> ReplyMarkup -> InputMessageContent -> InputInlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Title of the query result
[$sel:title:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Represents a link to an article or web page
[$sel:description:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | URL of the file
[$sel:documentUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | MIME type of the file content; only "applicationpdf" and
-- "applicationzip" are currently allowed
[$sel:mimeType:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists
[$sel:thumbnailUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Thumbnail width, if known
[$sel:thumbnailWidth:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | Thumbnail height, if known
[$sel:thumbnailHeight:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | The message reply markup. Must be of type replyMarkupInlineKeyboard or
-- null
[$sel:replyMarkup:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> ReplyMarkup
-- | The content of the message to be sent. Must be one of the following
-- types: InputMessageText, InputMessageAnimation, InputMessageLocation,
-- InputMessageVenue or InputMessageContact
[$sel:inputMessageContent:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> InputMessageContent
-- | Represents a game
InputInlineQueryResultGame :: T -> T -> ReplyMarkup -> InputInlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Short name of the game
[$sel:gameShortName:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | The message reply markup. Must be of type replyMarkupInlineKeyboard or
-- null
[$sel:replyMarkup:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> ReplyMarkup
-- | Represents a point on the map
InputInlineQueryResultLocation :: T -> Location -> I32 -> T -> T -> I32 -> I32 -> ReplyMarkup -> InputMessageContent -> InputInlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Location result
[$sel:location:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> Location
-- | Amount of time relative to the message sent time until the location
-- can be updated, in seconds
[$sel:livePeriod:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | Title of the query result
[$sel:title:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists
[$sel:thumbnailUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Thumbnail width, if known
[$sel:thumbnailWidth:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | Thumbnail height, if known
[$sel:thumbnailHeight:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | The message reply markup. Must be of type replyMarkupInlineKeyboard or
-- null
[$sel:replyMarkup:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> ReplyMarkup
-- | The content of the message to be sent. Must be one of the following
-- types: InputMessageText, InputMessageAnimation, InputMessageLocation,
-- InputMessageVenue or InputMessageContact
[$sel:inputMessageContent:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> InputMessageContent
-- | Represents link to a JPEG image
InputInlineQueryResultPhoto :: T -> T -> T -> T -> T -> I32 -> I32 -> ReplyMarkup -> InputMessageContent -> InputInlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Title of the query result
[$sel:title:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Represents a link to an article or web page
[$sel:description:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists
[$sel:thumbnailUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | The URL of the JPEG photo (photo size must not exceed 5MB)
[$sel:photoUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Width of the photo
[$sel:photoWidth:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | Height of the photo
[$sel:photoHeight:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | The message reply markup. Must be of type replyMarkupInlineKeyboard or
-- null
[$sel:replyMarkup:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> ReplyMarkup
-- | The content of the message to be sent. Must be one of the following
-- types: InputMessageText, InputMessageAnimation, InputMessageLocation,
-- InputMessageVenue or InputMessageContact
[$sel:inputMessageContent:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> InputMessageContent
-- | Represents a link to a WEBP or TGS sticker
InputInlineQueryResultSticker :: T -> T -> T -> I32 -> I32 -> ReplyMarkup -> InputMessageContent -> InputInlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists
[$sel:thumbnailUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | The URL of the WEBP or TGS sticker (sticker file size must not exceed
-- 5MB)
[$sel:stickerUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Width of the sticker
[$sel:stickerWidth:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | Height of the sticker
[$sel:stickerHeight:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | The message reply markup. Must be of type replyMarkupInlineKeyboard or
-- null
[$sel:replyMarkup:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> ReplyMarkup
-- | The content of the message to be sent. Must be one of the following
-- types: InputMessageText, InputMessageAnimation, InputMessageLocation,
-- InputMessageVenue or InputMessageContact
[$sel:inputMessageContent:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> InputMessageContent
-- | Represents information about a venue
InputInlineQueryResultVenue :: T -> Venue -> T -> I32 -> I32 -> ReplyMarkup -> InputMessageContent -> InputInlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Venue result
[$sel:venue:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> Venue
-- | URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists
[$sel:thumbnailUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Thumbnail width, if known
[$sel:thumbnailWidth:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | Thumbnail height, if known
[$sel:thumbnailHeight:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | The message reply markup. Must be of type replyMarkupInlineKeyboard or
-- null
[$sel:replyMarkup:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> ReplyMarkup
-- | The content of the message to be sent. Must be one of the following
-- types: InputMessageText, InputMessageAnimation, InputMessageLocation,
-- InputMessageVenue or InputMessageContact
[$sel:inputMessageContent:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> InputMessageContent
-- | Represents a link to a page containing an embedded video player or a
-- video file
InputInlineQueryResultVideo :: T -> T -> T -> T -> T -> T -> I32 -> I32 -> I32 -> ReplyMarkup -> InputMessageContent -> InputInlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Title of the query result
[$sel:title:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Represents a link to an article or web page
[$sel:description:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | URL of the result thumbnail (JPEG, GIF, or MPEG4), if it exists
[$sel:thumbnailUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | The URL of the video file (file size must not exceed 1MB)
[$sel:videoUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | MIME type of the file content; only "applicationpdf" and
-- "applicationzip" are currently allowed
[$sel:mimeType:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Width of the video
[$sel:videoWidth:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | Height of the video
[$sel:videoHeight:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | Duration of the video, in seconds
[$sel:videoDuration:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | The message reply markup. Must be of type replyMarkupInlineKeyboard or
-- null
[$sel:replyMarkup:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> ReplyMarkup
-- | The content of the message to be sent. Must be one of the following
-- types: InputMessageText, InputMessageAnimation, InputMessageLocation,
-- InputMessageVenue or InputMessageContact
[$sel:inputMessageContent:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> InputMessageContent
-- | Represents a link to an opus-encoded audio file within an OGG
-- container, single channel audio
InputInlineQueryResultVoiceNote :: T -> T -> T -> I32 -> ReplyMarkup -> InputMessageContent -> InputInlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Title of the query result
[$sel:title:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | The URL of the voice note file
[$sel:voiceNoteUrl:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> T
-- | Duration of the voice note, in seconds
[$sel:voiceNoteDuration:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> I32
-- | The message reply markup. Must be of type replyMarkupInlineKeyboard or
-- null
[$sel:replyMarkup:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> ReplyMarkup
-- | The content of the message to be sent. Must be one of the following
-- types: InputMessageText, InputMessageAnimation, InputMessageLocation,
-- InputMessageVenue or InputMessageContact
[$sel:inputMessageContent:InputInlineQueryResultAnimation] :: InputInlineQueryResult -> InputMessageContent
-- | Represents a single result of an inline query
data InlineQueryResult
-- | Represents a link to an article or web page
InlineQueryResultArticle :: T -> T -> Bool -> T -> T -> Maybe Thumbnail -> InlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | URL of the result, if it exists
[$sel:url:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | True, if the URL must be not shown
[$sel:hideUrl:InlineQueryResultArticle] :: InlineQueryResult -> Bool
-- | Title of the result
[$sel:title:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Represents a link to an article or web page
[$sel:description:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Result thumbnail in JPEG format; may be null
[$sel:thumbnail:InlineQueryResultArticle] :: InlineQueryResult -> Maybe Thumbnail
-- | Represents a user contact
InlineQueryResultContact :: T -> Contact -> Maybe Thumbnail -> InlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | A user contact
[$sel:contact:InlineQueryResultArticle] :: InlineQueryResult -> Contact
-- | Result thumbnail in JPEG format; may be null
[$sel:thumbnail:InlineQueryResultArticle] :: InlineQueryResult -> Maybe Thumbnail
-- | Represents a point on the map
InlineQueryResultLocation :: T -> Location -> T -> Maybe Thumbnail -> InlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Location result
[$sel:location:InlineQueryResultArticle] :: InlineQueryResult -> Location
-- | Title of the result
[$sel:title:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Result thumbnail in JPEG format; may be null
[$sel:thumbnail:InlineQueryResultArticle] :: InlineQueryResult -> Maybe Thumbnail
-- | Represents information about a venue
InlineQueryResultVenue :: T -> Venue -> Maybe Thumbnail -> InlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Venue result
[$sel:venue:InlineQueryResultArticle] :: InlineQueryResult -> Venue
-- | Result thumbnail in JPEG format; may be null
[$sel:thumbnail:InlineQueryResultArticle] :: InlineQueryResult -> Maybe Thumbnail
-- | Represents information about a game
InlineQueryResultGame :: T -> Game -> InlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Game result
[$sel:game:InlineQueryResultArticle] :: InlineQueryResult -> Game
-- | Represents an animation file
InlineQueryResultAnimation :: T -> Animation -> T -> InlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Animation file
[$sel:animation:InlineQueryResultArticle] :: InlineQueryResult -> Animation
-- | Title of the result
[$sel:title:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Represents an audio file
InlineQueryResultAudio :: T -> Audio -> InlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Audio file
[$sel:audio:InlineQueryResultArticle] :: InlineQueryResult -> Audio
-- | Represents a document
InlineQueryResultDocument :: T -> Document -> T -> T -> InlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Document
[$sel:document:InlineQueryResultArticle] :: InlineQueryResult -> Document
-- | Title of the result
[$sel:title:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Represents a link to an article or web page
[$sel:description:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Represents a photo
InlineQueryResultPhoto :: T -> Photo -> T -> T -> InlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Photo
[$sel:photo:InlineQueryResultArticle] :: InlineQueryResult -> Photo
-- | Title of the result
[$sel:title:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Represents a link to an article or web page
[$sel:description:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Represents a sticker
InlineQueryResultSticker :: T -> Sticker -> InlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Sticker
[$sel:sticker:InlineQueryResultArticle] :: InlineQueryResult -> Sticker
-- | Represents a video
InlineQueryResultVideo :: T -> Video -> T -> T -> InlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Video
[$sel:video:InlineQueryResultArticle] :: InlineQueryResult -> Video
-- | Title of the result
[$sel:title:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Represents a link to an article or web page
[$sel:description:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Represents a voice note
InlineQueryResultVoiceNote :: T -> VoiceNote -> T -> InlineQueryResult
-- | Unique identifier of the query result
[$sel:id:InlineQueryResultArticle] :: InlineQueryResult -> T
-- | Voice note
[$sel:voiceNote:InlineQueryResultArticle] :: InlineQueryResult -> VoiceNote
-- | Title of the result
[$sel:title:InlineQueryResultArticle] :: InlineQueryResult -> T
data InlineQueryResults
-- | Represents the results of the inline query. Use
-- sendInlineQueryResultMessage to send the result of the query
InlineQueryResults :: I64 -> T -> [InlineQueryResult] -> T -> T -> InlineQueryResults
-- | Unique identifier of the inline query
[$sel:inlineQueryId:InlineQueryResults] :: InlineQueryResults -> I64
-- | The offset for the next request. If empty, there are no more results
[$sel:nextOffset:InlineQueryResults] :: InlineQueryResults -> T
-- | Results of the query
[$sel:results:InlineQueryResults] :: InlineQueryResults -> [InlineQueryResult]
-- | If non-empty, this text should be shown on the button, which opens a
-- private chat with the bot and sends the bot a start message with the
-- switch_pm_parameter
[$sel:switchPmText:InlineQueryResults] :: InlineQueryResults -> T
-- | Parameter for the bot start message
[$sel:switchPmParameter:InlineQueryResults] :: InlineQueryResults -> T
-- | Represents a payload of a callback query
data CallbackQueryPayload
-- | The payload from a general callback button
CallbackQueryPayloadData :: ByteString64 -> CallbackQueryPayload
-- | Data that was attached to the callback button
[$sel:data_:CallbackQueryPayloadData] :: CallbackQueryPayload -> ByteString64
-- | The payload from a game callback button
CallbackQueryPayloadGame :: T -> CallbackQueryPayload
-- | A short name of the game that was attached to the callback button
[$sel:gameShortName:CallbackQueryPayloadData] :: CallbackQueryPayload -> T
data CallbackQueryAnswer
-- | Contains a bot's answer to a callback query
CallbackQueryAnswer :: T -> Bool -> T -> CallbackQueryAnswer
-- | Text of the answer
[$sel:text:CallbackQueryAnswer] :: CallbackQueryAnswer -> T
-- | True, if an alert should be shown to the user instead of a toast
-- notification
[$sel:showAlert:CallbackQueryAnswer] :: CallbackQueryAnswer -> Bool
-- | URL to be opened
[$sel:url:CallbackQueryAnswer] :: CallbackQueryAnswer -> T
data CustomRequestResult
-- | Contains the result of a custom request
CustomRequestResult :: T -> CustomRequestResult
-- | A JSON-serialized result
[$sel:result:CustomRequestResult] :: CustomRequestResult -> T
data GameHighScore
-- | Contains one row of the game high score table
GameHighScore :: I32 -> I32 -> I32 -> GameHighScore
-- | Position in the high score table
[$sel:position:GameHighScore] :: GameHighScore -> I32
-- | User identifier
[$sel:userId:GameHighScore] :: GameHighScore -> I32
-- | User score
[$sel:score:GameHighScore] :: GameHighScore -> I32
data GameHighScores
-- | Contains a list of game high scores
GameHighScores :: [GameHighScore] -> GameHighScores
-- | A list of game high scores
[$sel:scores:GameHighScores] :: GameHighScores -> [GameHighScore]
-- | Represents a chat event
data ChatEventAction
-- | A message was edited
ChatEventMessageEdited :: Message -> Message -> ChatEventAction
-- | The original message before the edit
[$sel:oldMessage:ChatEventMessageEdited] :: ChatEventAction -> Message
-- | The message after it was edited
[$sel:newMessage:ChatEventMessageEdited] :: ChatEventAction -> Message
-- | A message was deleted
ChatEventMessageDeleted :: Message -> ChatEventAction
-- | Deleted message
[$sel:message:ChatEventMessageEdited] :: ChatEventAction -> Message
-- | A poll in a message was stopped
ChatEventPollStopped :: Message -> ChatEventAction
-- | Deleted message
[$sel:message:ChatEventMessageEdited] :: ChatEventAction -> Message
-- | A message was pinned
ChatEventMessagePinned :: Message -> ChatEventAction
-- | Deleted message
[$sel:message:ChatEventMessageEdited] :: ChatEventAction -> Message
-- | A message was unpinned
ChatEventMessageUnpinned :: ChatEventAction
-- | A new member joined the chat
ChatEventMemberJoined :: ChatEventAction
-- | A member left the chat
ChatEventMemberLeft :: ChatEventAction
-- | A new chat member was invited
ChatEventMemberInvited :: I32 -> ChatMemberStatus -> ChatEventAction
-- | New member user identifier
[$sel:userId:ChatEventMessageEdited] :: ChatEventAction -> I32
-- | New member status
[$sel:status:ChatEventMessageEdited] :: ChatEventAction -> ChatMemberStatus
-- | A chat member has gained/lost administrator status, or the list of
-- their administrator privileges has changed
ChatEventMemberPromoted :: I32 -> ChatMemberStatus -> ChatMemberStatus -> ChatEventAction
-- | New member user identifier
[$sel:userId:ChatEventMessageEdited] :: ChatEventAction -> I32
-- | Previous status of the chat member
[$sel:oldStatus:ChatEventMessageEdited] :: ChatEventAction -> ChatMemberStatus
-- | New status of the chat member
[$sel:newStatus:ChatEventMessageEdited] :: ChatEventAction -> ChatMemberStatus
-- | A chat member was restrictedunrestricted or bannedunbanned, or
-- the list of their restrictions has changed
ChatEventMemberRestricted :: I32 -> ChatMemberStatus -> ChatMemberStatus -> ChatEventAction
-- | New member user identifier
[$sel:userId:ChatEventMessageEdited] :: ChatEventAction -> I32
-- | Previous status of the chat member
[$sel:oldStatus:ChatEventMessageEdited] :: ChatEventAction -> ChatMemberStatus
-- | New status of the chat member
[$sel:newStatus:ChatEventMessageEdited] :: ChatEventAction -> ChatMemberStatus
-- | The chat title was changed
ChatEventTitleChanged :: T -> T -> ChatEventAction
-- | Previous chat title
[$sel:oldTitle:ChatEventMessageEdited] :: ChatEventAction -> T
-- | New chat title
[$sel:newTitle:ChatEventMessageEdited] :: ChatEventAction -> T
-- | The chat permissions was changed
ChatEventPermissionsChanged :: ChatPermissions -> ChatPermissions -> ChatEventAction
-- | Previous chat permissions
[$sel:oldPermissions:ChatEventMessageEdited] :: ChatEventAction -> ChatPermissions
-- | New chat permissions
[$sel:newPermissions:ChatEventMessageEdited] :: ChatEventAction -> ChatPermissions
-- | The chat description was changed
ChatEventDescriptionChanged :: T -> T -> ChatEventAction
-- | Previous chat description
[$sel:oldDescription:ChatEventMessageEdited] :: ChatEventAction -> T
-- | New chat description
[$sel:newDescription:ChatEventMessageEdited] :: ChatEventAction -> T
-- | The chat username was changed
ChatEventUsernameChanged :: T -> T -> ChatEventAction
-- | Previous chat username
[$sel:oldUsername:ChatEventMessageEdited] :: ChatEventAction -> T
-- | New chat username
[$sel:newUsername:ChatEventMessageEdited] :: ChatEventAction -> T
-- | The chat photo was changed
ChatEventPhotoChanged :: Maybe Photo -> Maybe Photo -> ChatEventAction
-- | Previous chat photo value; may be null
[$sel:oldPhoto:ChatEventMessageEdited] :: ChatEventAction -> Maybe Photo
-- | New chat photo value; may be null
[$sel:newPhoto:ChatEventMessageEdited] :: ChatEventAction -> Maybe Photo
-- | The can_invite_users permission of a supergroup chat was toggled
ChatEventInvitesToggled :: Bool -> ChatEventAction
-- | New value of can_invite_users permission
[$sel:canInviteUsers:ChatEventMessageEdited] :: ChatEventAction -> Bool
-- | The linked chat of a supergroup was changed
ChatEventLinkedChatChanged :: I53 -> I53 -> ChatEventAction
-- | Previous supergroup linked chat identifier
[$sel:oldLinkedChatId:ChatEventMessageEdited] :: ChatEventAction -> I53
-- | New supergroup linked chat identifier
[$sel:newLinkedChatId:ChatEventMessageEdited] :: ChatEventAction -> I53
-- | The slow_mode_delay setting of a supergroup was changed
ChatEventSlowModeDelayChanged :: I32 -> I32 -> ChatEventAction
-- | Previous value of slow_mode_delay
[$sel:oldSlowModeDelay:ChatEventMessageEdited] :: ChatEventAction -> I32
-- | New value of slow_mode_delay
[$sel:newSlowModeDelay:ChatEventMessageEdited] :: ChatEventAction -> I32
-- | The sign_messages setting of a channel was toggled
ChatEventSignMessagesToggled :: Bool -> ChatEventAction
-- | New value of sign_messages
[$sel:signMessages:ChatEventMessageEdited] :: ChatEventAction -> Bool
-- | The supergroup sticker set was changed
ChatEventStickerSetChanged :: I64 -> I64 -> ChatEventAction
-- | Previous identifier of the chat sticker set; 0 if none
[$sel:oldStickerSetId:ChatEventMessageEdited] :: ChatEventAction -> I64
-- | New identifier of the chat sticker set; 0 if none
[$sel:newStickerSetId:ChatEventMessageEdited] :: ChatEventAction -> I64
-- | The supergroup location was changed
ChatEventLocationChanged :: Maybe ChatLocation -> Maybe ChatLocation -> ChatEventAction
-- | Previous location; may be null
[$sel:oldLocation:ChatEventMessageEdited] :: ChatEventAction -> Maybe ChatLocation
-- | New location; may be null
[$sel:newLocation:ChatEventMessageEdited] :: ChatEventAction -> Maybe ChatLocation
-- | The is_all_history_available setting of a supergroup was toggled
ChatEventIsAllHistoryAvailableToggled :: Bool -> ChatEventAction
-- | New value of is_all_history_available
[$sel:isAllHistoryAvailable:ChatEventMessageEdited] :: ChatEventAction -> Bool
data ChatEvent
-- | Represents a chat event
ChatEvent :: I64 -> I32 -> I32 -> ChatEventAction -> ChatEvent
-- | Chat event identifier
[$sel:id:ChatEvent] :: ChatEvent -> I64
-- | Point in time (Unix timestamp) when the event happened
[$sel:date:ChatEvent] :: ChatEvent -> I32
-- | Identifier of the user who performed the action that triggered the
-- event
[$sel:userId:ChatEvent] :: ChatEvent -> I32
-- | Action performed by the user
[$sel:action:ChatEvent] :: ChatEvent -> ChatEventAction
data ChatEvents
-- | Contains a list of chat events
ChatEvents :: [ChatEvent] -> ChatEvents
-- | List of events
[$sel:events:ChatEvents] :: ChatEvents -> [ChatEvent]
data ChatEventLogFilters
-- | Represents a set of filters used to obtain a chat event log
ChatEventLogFilters :: Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> ChatEventLogFilters
-- | True, if message edits should be returned
[$sel:messageEdits:ChatEventLogFilters] :: ChatEventLogFilters -> Bool
-- | True, if message deletions should be returned
[$sel:messageDeletions:ChatEventLogFilters] :: ChatEventLogFilters -> Bool
-- | True, if pin/unpin events should be returned
[$sel:messagePins:ChatEventLogFilters] :: ChatEventLogFilters -> Bool
-- | True, if members joining events should be returned
[$sel:memberJoins:ChatEventLogFilters] :: ChatEventLogFilters -> Bool
-- | True, if members leaving events should be returned
[$sel:memberLeaves:ChatEventLogFilters] :: ChatEventLogFilters -> Bool
-- | True, if invited member events should be returned
[$sel:memberInvites:ChatEventLogFilters] :: ChatEventLogFilters -> Bool
-- | True, if member promotion/demotion events should be returned
[$sel:memberPromotions:ChatEventLogFilters] :: ChatEventLogFilters -> Bool
-- | True, if member restrictedunrestrictedbanned/unbanned events
-- should be returned
[$sel:memberRestrictions:ChatEventLogFilters] :: ChatEventLogFilters -> Bool
-- | True, if changes in chat information should be returned
[$sel:infoChanges:ChatEventLogFilters] :: ChatEventLogFilters -> Bool
-- | True, if changes in chat settings should be returned
[$sel:settingChanges:ChatEventLogFilters] :: ChatEventLogFilters -> Bool
-- | Represents the value of a string in a language pack
data LanguagePackStringValue
-- | An ordinary language pack string
LanguagePackStringValueOrdinary :: T -> LanguagePackStringValue
-- | String value
[$sel:value:LanguagePackStringValueOrdinary] :: LanguagePackStringValue -> T
-- | A language pack string which has different forms based on the number
-- of some object it mentions. See
-- https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html
-- for more info
LanguagePackStringValuePluralized :: T -> T -> T -> T -> T -> T -> LanguagePackStringValue
-- | Value for zero objects
[$sel:zeroValue:LanguagePackStringValueOrdinary] :: LanguagePackStringValue -> T
-- | Value for one object
[$sel:oneValue:LanguagePackStringValueOrdinary] :: LanguagePackStringValue -> T
-- | Value for two objects
[$sel:twoValue:LanguagePackStringValueOrdinary] :: LanguagePackStringValue -> T
-- | Value for few objects
[$sel:fewValue:LanguagePackStringValueOrdinary] :: LanguagePackStringValue -> T
-- | Value for many objects
[$sel:manyValue:LanguagePackStringValueOrdinary] :: LanguagePackStringValue -> T
-- | Default value
[$sel:otherValue:LanguagePackStringValueOrdinary] :: LanguagePackStringValue -> T
-- | A deleted language pack string, the value should be taken from the
-- built-in english language pack
LanguagePackStringValueDeleted :: LanguagePackStringValue
data LanguagePackString
-- | Represents one language pack string
LanguagePackString :: T -> LanguagePackStringValue -> LanguagePackString
-- | String key
[$sel:key:LanguagePackString] :: LanguagePackString -> T
-- | String value
[$sel:value:LanguagePackString] :: LanguagePackString -> LanguagePackStringValue
data LanguagePackStrings
-- | Contains a list of language pack strings
LanguagePackStrings :: [LanguagePackString] -> LanguagePackStrings
-- | A list of language pack strings
[$sel:strings:LanguagePackStrings] :: LanguagePackStrings -> [LanguagePackString]
data LanguagePackInfo
-- | Contains information about a language pack
LanguagePackInfo :: T -> T -> T -> T -> T -> Bool -> Bool -> Bool -> Bool -> I32 -> I32 -> I32 -> T -> LanguagePackInfo
-- | Unique language pack identifier
[$sel:id:LanguagePackInfo] :: LanguagePackInfo -> T
-- | Identifier of a base language pack; may be empty. If a string is
-- missed in the language pack, then it should be fetched from base
-- language pack. Unsupported in custom language packs
[$sel:baseLanguagePackId:LanguagePackInfo] :: LanguagePackInfo -> T
-- | Language name
[$sel:name:LanguagePackInfo] :: LanguagePackInfo -> T
-- | Name of the language in that language
[$sel:nativeName:LanguagePackInfo] :: LanguagePackInfo -> T
-- | A language code to be used to apply plural forms. See
-- https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html
-- for more info
[$sel:pluralCode:LanguagePackInfo] :: LanguagePackInfo -> T
-- | True, if the language pack is official
[$sel:isOfficial:LanguagePackInfo] :: LanguagePackInfo -> Bool
-- | True, if the language pack strings are RTL
[$sel:isRtl:LanguagePackInfo] :: LanguagePackInfo -> Bool
-- | True, if the language pack is a beta language pack
[$sel:isBeta:LanguagePackInfo] :: LanguagePackInfo -> Bool
-- | True, if the language pack is installed by the current user
[$sel:isInstalled:LanguagePackInfo] :: LanguagePackInfo -> Bool
-- | Total number of non-deleted strings from the language pack
[$sel:totalStringCount:LanguagePackInfo] :: LanguagePackInfo -> I32
-- | Total number of translated strings from the language pack
[$sel:translatedStringCount:LanguagePackInfo] :: LanguagePackInfo -> I32
-- | Total number of non-deleted strings from the language pack available
-- locally
[$sel:localStringCount:LanguagePackInfo] :: LanguagePackInfo -> I32
-- | Link to language translation interface; empty for custom local
-- language packs
[$sel:translationUrl:LanguagePackInfo] :: LanguagePackInfo -> T
data LocalizationTargetInfo
-- | Contains information about the current localization target
LocalizationTargetInfo :: [LanguagePackInfo] -> LocalizationTargetInfo
-- | List of available language packs for this application
[$sel:languagePacks:LocalizationTargetInfo] :: LocalizationTargetInfo -> [LanguagePackInfo]
-- | Represents a data needed to subscribe for push notifications through
-- registerDevice method. To use specific push notification service, you
-- must specify the correct application platform and upload valid server
-- authentication data at https://my.telegram.org
data DeviceToken
-- | A token for Firebase Cloud Messaging
DeviceTokenFirebaseCloudMessaging :: T -> Bool -> DeviceToken
-- | Device registration token; may be empty to de-register a device
[$sel:token:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
-- | True, if push notifications should be additionally encrypted
[$sel:encrypt:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> Bool
-- | A token for Apple Push Notification service
DeviceTokenApplePush :: T -> Bool -> DeviceToken
-- | Device token; may be empty to de-register a device
[$sel:deviceToken:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
-- | True, if App Sandbox is enabled
[$sel:isAppSandbox:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> Bool
-- | A token for Apple Push Notification service VoIP notifications
DeviceTokenApplePushVoIP :: T -> Bool -> Bool -> DeviceToken
-- | Device token; may be empty to de-register a device
[$sel:deviceToken:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
-- | True, if App Sandbox is enabled
[$sel:isAppSandbox:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> Bool
-- | True, if push notifications should be additionally encrypted
[$sel:encrypt:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> Bool
-- | A token for Windows Push Notification Services
DeviceTokenWindowsPush :: T -> DeviceToken
-- | The access token that will be used to send notifications; may be empty
-- to de-register a device
[$sel:accessToken:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
-- | A token for Microsoft Push Notification Service
DeviceTokenMicrosoftPush :: T -> DeviceToken
-- | Push notification channel URI; may be empty to de-register a device
[$sel:channelUri:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
-- | A token for Microsoft Push Notification Service VoIP channel
DeviceTokenMicrosoftPushVoIP :: T -> DeviceToken
-- | Push notification channel URI; may be empty to de-register a device
[$sel:channelUri:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
-- | A token for web Push API
DeviceTokenWebPush :: T -> T -> T -> DeviceToken
-- | Absolute URL exposed by the push service where the application server
-- can send push messages; may be empty to de-register a device
[$sel:endpoint:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
-- | Base64url-encoded P-256 elliptic curve Diffie-Hellman public key
[$sel:p256dhBase64url:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
-- | Base64url-encoded authentication secret
[$sel:authBase64url:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
-- | A token for Simple Push API for Firefox OS
DeviceTokenSimplePush :: T -> DeviceToken
-- | Absolute URL exposed by the push service where the application server
-- can send push messages; may be empty to de-register a device
[$sel:endpoint:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
-- | A token for Ubuntu Push Client service
DeviceTokenUbuntuPush :: T -> DeviceToken
-- | Device registration token; may be empty to de-register a device
[$sel:token:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
-- | A token for BlackBerry Push Service
DeviceTokenBlackBerryPush :: T -> DeviceToken
-- | Device registration token; may be empty to de-register a device
[$sel:token:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
-- | A token for Tizen Push Service
DeviceTokenTizenPush :: T -> DeviceToken
-- | Push service registration identifier; may be empty to de-register a
-- device
[$sel:regId:DeviceTokenFirebaseCloudMessaging] :: DeviceToken -> T
data PushReceiverId
-- | Contains a globally unique push receiver identifier, which can be used
-- to identify which account has received a push notification
PushReceiverId :: I64 -> PushReceiverId
-- | The globally unique identifier of push notification subscription
[$sel:id:PushReceiverId] :: PushReceiverId -> I64
-- | Describes a fill of a background
data BackgroundFill
-- | Describes a solid fill of a background
BackgroundFillSolid :: I32 -> BackgroundFill
-- | A color of the background in the RGB24 format
[$sel:color:BackgroundFillSolid] :: BackgroundFill -> I32
-- | Describes a gradient fill of a background
BackgroundFillGradient :: I32 -> I32 -> I32 -> BackgroundFill
-- | A top color of the background in the RGB24 format
[$sel:topColor:BackgroundFillSolid] :: BackgroundFill -> I32
-- | A bottom color of the background in the RGB24 format
[$sel:bottomColor:BackgroundFillSolid] :: BackgroundFill -> I32
-- | Clockwise rotation angle of the gradient, in degrees; 0-359. Should be
-- always divisible by 45
[$sel:rotationAngle:BackgroundFillSolid] :: BackgroundFill -> I32
-- | Describes the type of a background
data BackgroundType
-- | A wallpaper in JPEG format
BackgroundTypeWallpaper :: Bool -> Bool -> BackgroundType
-- | True, if the wallpaper must be downscaled to fit in 450x450 square and
-- then box-blurred with radius 12
[$sel:isBlurred:BackgroundTypeWallpaper] :: BackgroundType -> Bool
-- | True, if the background needs to be slightly moved when device is
-- tilted
[$sel:isMoving:BackgroundTypeWallpaper] :: BackgroundType -> Bool
-- | A PNG or TGV (gzipped subset of SVG with MIME type
-- "application/x-tgwallpattern") pattern to be combined with the
-- background fill chosen by the user
BackgroundTypePattern :: BackgroundFill -> I32 -> Bool -> BackgroundType
-- | Description of the background fill
[$sel:fill:BackgroundTypeWallpaper] :: BackgroundType -> BackgroundFill
-- | Intensity of the pattern when it is shown above the filled background,
-- 0-100
[$sel:intensity:BackgroundTypeWallpaper] :: BackgroundType -> I32
-- | True, if the background needs to be slightly moved when device is
-- tilted
[$sel:isMoving:BackgroundTypeWallpaper] :: BackgroundType -> Bool
-- | A filled background
BackgroundTypeFill :: BackgroundFill -> BackgroundType
-- | Description of the background fill
[$sel:fill:BackgroundTypeWallpaper] :: BackgroundType -> BackgroundFill
data Background
-- | Describes a chat background
Background :: I64 -> Bool -> Bool -> T -> Maybe Document -> BackgroundType -> Background
-- | Unique background identifier
[$sel:id:Background] :: Background -> I64
-- | True, if this is one of default backgrounds
[$sel:isDefault:Background] :: Background -> Bool
-- | True, if the background is dark and is recommended to be used with
-- dark theme
[$sel:isDark:Background] :: Background -> Bool
-- | Unique background name
[$sel:name:Background] :: Background -> T
-- | Document with the background; may be null. Null only for filled
-- backgrounds
[$sel:document:Background] :: Background -> Maybe Document
-- | Type of the background
[$sel:type_:Background] :: Background -> BackgroundType
data Backgrounds
-- | Contains a list of backgrounds
Backgrounds :: [Background] -> Backgrounds
-- | A list of backgrounds
[$sel:backgrounds:Backgrounds] :: Backgrounds -> [Background]
-- | Contains information about background to set
data InputBackground
-- | A background from a local file
InputBackgroundLocal :: InputFile -> InputBackground
-- | Background file to use. Only inputFileLocal and inputFileGenerated are
-- supported. The file must be in JPEG format for wallpapers and in PNG
-- format for patterns
[$sel:background:InputBackgroundLocal] :: InputBackground -> InputFile
-- | A background from the server
InputBackgroundRemote :: I64 -> InputBackground
-- | The background identifier
[$sel:backgroundId:InputBackgroundLocal] :: InputBackground -> I64
data Hashtags
-- | Contains a list of hashtags
Hashtags :: [T] -> Hashtags
-- | A list of hashtags
[$sel:hashtags:Hashtags] :: Hashtags -> [T]
-- | Represents result of checking whether the current session can be used
-- to transfer a chat ownership to another user
data CanTransferOwnershipResult
-- | The session can be used
CanTransferOwnershipResultOk :: CanTransferOwnershipResult
-- | The 2-step verification needs to be enabled first
CanTransferOwnershipResultPasswordNeeded :: CanTransferOwnershipResult
-- | The 2-step verification was enabled recently, user needs to wait
CanTransferOwnershipResultPasswordTooFresh :: I32 -> CanTransferOwnershipResult
-- | Time left before the session can be used to transfer ownership of a
-- chat, in seconds
[$sel:retryAfter:CanTransferOwnershipResultOk] :: CanTransferOwnershipResult -> I32
-- | The session was created recently, user needs to wait
CanTransferOwnershipResultSessionTooFresh :: I32 -> CanTransferOwnershipResult
-- | Time left before the session can be used to transfer ownership of a
-- chat, in seconds
[$sel:retryAfter:CanTransferOwnershipResultOk] :: CanTransferOwnershipResult -> I32
-- | Represents result of checking whether a username can be set for a chat
data CheckChatUsernameResult
-- | The username can be set
CheckChatUsernameResultOk :: CheckChatUsernameResult
-- | The username is invalid
CheckChatUsernameResultUsernameInvalid :: CheckChatUsernameResult
-- | The username is occupied
CheckChatUsernameResultUsernameOccupied :: CheckChatUsernameResult
-- | The user has too much chats with username, one of them should be made
-- private first
CheckChatUsernameResultPublicChatsTooMuch :: CheckChatUsernameResult
-- | The user can't be a member of a public supergroup
CheckChatUsernameResultPublicGroupsUnavailable :: CheckChatUsernameResult
-- | Contains content of a push message notification
data PushMessageContent
-- | A general message with hidden content
PushMessageContentHidden :: Bool -> PushMessageContent
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | An animation message (GIF-style).
PushMessageContentAnimation :: Maybe Animation -> T -> Bool -> PushMessageContent
-- | Message content; may be null
[$sel:animation:PushMessageContentHidden] :: PushMessageContent -> Maybe Animation
-- | Animation caption
[$sel:caption:PushMessageContentHidden] :: PushMessageContent -> T
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | An audio message
PushMessageContentAudio :: Maybe Audio -> Bool -> PushMessageContent
-- | Message content; may be null
[$sel:audio:PushMessageContentHidden] :: PushMessageContent -> Maybe Audio
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A message with a user contact
PushMessageContentContact :: T -> Bool -> PushMessageContent
-- | Contact's name
[$sel:name:PushMessageContentHidden] :: PushMessageContent -> T
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A contact has registered with Telegram
PushMessageContentContactRegistered :: PushMessageContent
-- | A document message (a general file)
PushMessageContentDocument :: Maybe Document -> Bool -> PushMessageContent
-- | Message content; may be null
[$sel:document:PushMessageContentHidden] :: PushMessageContent -> Maybe Document
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A message with a game
PushMessageContentGame :: T -> Bool -> PushMessageContent
-- | Game title, empty for pinned game message
[$sel:title:PushMessageContentHidden] :: PushMessageContent -> T
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A new high score was achieved in a game
PushMessageContentGameScore :: T -> I32 -> Bool -> PushMessageContent
-- | Game title, empty for pinned game message
[$sel:title:PushMessageContentHidden] :: PushMessageContent -> T
-- | New score, 0 for pinned message
[$sel:score:PushMessageContentHidden] :: PushMessageContent -> I32
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A message with an invoice from a bot
PushMessageContentInvoice :: T -> Bool -> PushMessageContent
-- | Product price
[$sel:price:PushMessageContentHidden] :: PushMessageContent -> T
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A message with a location
PushMessageContentLocation :: Bool -> Bool -> PushMessageContent
-- | True, if the location is live
[$sel:isLive:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A photo message
PushMessageContentPhoto :: Maybe Photo -> T -> Bool -> Bool -> PushMessageContent
-- | Message content; may be null
[$sel:photo:PushMessageContentHidden] :: PushMessageContent -> Maybe Photo
-- | Animation caption
[$sel:caption:PushMessageContentHidden] :: PushMessageContent -> T
-- | True, if the photo is secret
[$sel:isSecret:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A message with a poll
PushMessageContentPoll :: T -> Bool -> Bool -> PushMessageContent
-- | Poll question
[$sel:question:PushMessageContentHidden] :: PushMessageContent -> T
-- | True, if the poll is regular and not in quiz mode
[$sel:isRegular:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A screenshot of a message in the chat has been taken
PushMessageContentScreenshotTaken :: PushMessageContent
-- | A message with a sticker
PushMessageContentSticker :: Maybe Sticker -> T -> Bool -> PushMessageContent
-- | Message content; may be null
[$sel:sticker:PushMessageContentHidden] :: PushMessageContent -> Maybe Sticker
-- | Emoji corresponding to the sticker; may be empty
[$sel:emoji:PushMessageContentHidden] :: PushMessageContent -> T
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A text message
PushMessageContentText :: T -> Bool -> PushMessageContent
-- | Message text
[$sel:text:PushMessageContentHidden] :: PushMessageContent -> T
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A video message
PushMessageContentVideo :: Maybe Video -> T -> Bool -> Bool -> PushMessageContent
-- | Message content; may be null
[$sel:video:PushMessageContentHidden] :: PushMessageContent -> Maybe Video
-- | Animation caption
[$sel:caption:PushMessageContentHidden] :: PushMessageContent -> T
-- | True, if the photo is secret
[$sel:isSecret:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A video note message
PushMessageContentVideoNote :: Maybe VideoNote -> Bool -> PushMessageContent
-- | Message content; may be null
[$sel:videoNote:PushMessageContentHidden] :: PushMessageContent -> Maybe VideoNote
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A voice note message
PushMessageContentVoiceNote :: Maybe VoiceNote -> Bool -> PushMessageContent
-- | Message content; may be null
[$sel:voiceNote:PushMessageContentHidden] :: PushMessageContent -> Maybe VoiceNote
-- | True, if the message is a pinned message with the specified content
[$sel:isPinned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A newly created basic group
PushMessageContentBasicGroupChatCreate :: PushMessageContent
-- | New chat members were invited to a group
PushMessageContentChatAddMembers :: T -> Bool -> Bool -> PushMessageContent
-- | Name of the added member
[$sel:memberName:PushMessageContentHidden] :: PushMessageContent -> T
-- | True, if the current user was added to the group
[$sel:isCurrentUser:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | True, if the user has returned to the group themself
[$sel:isReturned:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A chat photo was edited
PushMessageContentChatChangePhoto :: PushMessageContent
-- | A chat title was edited
PushMessageContentChatChangeTitle :: T -> PushMessageContent
-- | Game title, empty for pinned game message
[$sel:title:PushMessageContentHidden] :: PushMessageContent -> T
-- | A chat member was deleted
PushMessageContentChatDeleteMember :: T -> Bool -> Bool -> PushMessageContent
-- | Name of the added member
[$sel:memberName:PushMessageContentHidden] :: PushMessageContent -> T
-- | True, if the current user was added to the group
[$sel:isCurrentUser:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | True, if the user has left the group themself
[$sel:isLeft:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | A new member joined the chat by invite link
PushMessageContentChatJoinByLink :: PushMessageContent
-- | A forwarded messages
PushMessageContentMessageForwards :: I32 -> PushMessageContent
-- | Number of forwarded messages
[$sel:totalCount:PushMessageContentHidden] :: PushMessageContent -> I32
-- | A media album
PushMessageContentMediaAlbum :: I32 -> Bool -> Bool -> PushMessageContent
-- | Number of forwarded messages
[$sel:totalCount:PushMessageContentHidden] :: PushMessageContent -> I32
-- | True, if the album has at least one photo
[$sel:hasPhotos:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | True, if the album has at least one video
[$sel:hasVideos:PushMessageContentHidden] :: PushMessageContent -> Bool
-- | Contains detailed information about a notification
data NotificationType
-- | New message was received
NotificationTypeNewMessage :: Message -> NotificationType
-- | The message
[$sel:message:NotificationTypeNewMessage] :: NotificationType -> Message
-- | New secret chat was created
NotificationTypeNewSecretChat :: NotificationType
-- | New call was received
NotificationTypeNewCall :: I32 -> NotificationType
-- | Call identifier
[$sel:callId:NotificationTypeNewMessage] :: NotificationType -> I32
-- | New message was received through a push notification
NotificationTypeNewPushMessage :: I53 -> I32 -> T -> Bool -> PushMessageContent -> NotificationType
-- | The message identifier. The message will not be available in the chat
-- history, but the ID can be used in viewMessages and as
-- reply_to_message_id
[$sel:messageId:NotificationTypeNewMessage] :: NotificationType -> I53
-- | Sender of the message; 0 if unknown. Corresponding user may be
-- inaccessible
[$sel:senderUserId:NotificationTypeNewMessage] :: NotificationType -> I32
-- | Name of the sender; can be different from the name of the sender user
[$sel:senderName:NotificationTypeNewMessage] :: NotificationType -> T
-- | True, if the message is outgoing
[$sel:isOutgoing:NotificationTypeNewMessage] :: NotificationType -> Bool
-- | Push message content
[$sel:content:NotificationTypeNewMessage] :: NotificationType -> PushMessageContent
-- | Describes the type of notifications in a notification group
data NotificationGroupType
-- | A group containing notifications of type notificationTypeNewMessage
-- and notificationTypeNewPushMessage with ordinary unread messages
NotificationGroupTypeMessages :: NotificationGroupType
-- | A group containing notifications of type notificationTypeNewMessage
-- and notificationTypeNewPushMessage with unread mentions of the current
-- user, replies to their messages, or a pinned message
NotificationGroupTypeMentions :: NotificationGroupType
-- | A group containing a notification of type
-- notificationTypeNewSecretChat
NotificationGroupTypeSecretChat :: NotificationGroupType
-- | A group containing notifications of type notificationTypeNewCall
NotificationGroupTypeCalls :: NotificationGroupType
data Notification
-- | Contains information about a notification
Notification :: I32 -> I32 -> Bool -> NotificationType -> Notification
-- | Unique persistent identifier of this notification
[$sel:id:Notification] :: Notification -> I32
-- | Notification date
[$sel:date:Notification] :: Notification -> I32
-- | True, if the notification was initially silent
[$sel:isSilent:Notification] :: Notification -> Bool
-- | Notification type
[$sel:type_:Notification] :: Notification -> NotificationType
data NotificationGroup
-- | Describes a group of notifications
NotificationGroup :: I32 -> NotificationGroupType -> I53 -> I32 -> [Notification] -> NotificationGroup
-- | Unique persistent auto-incremented from 1 identifier of the
-- notification group
[$sel:id:NotificationGroup] :: NotificationGroup -> I32
-- | Type of the group
[$sel:type_:NotificationGroup] :: NotificationGroup -> NotificationGroupType
-- | Identifier of a chat to which all notifications in the group belong
[$sel:chatId:NotificationGroup] :: NotificationGroup -> I53
-- | Total number of active notifications in the group
[$sel:totalCount:NotificationGroup] :: NotificationGroup -> I32
-- | The list of active notifications
[$sel:notifications:NotificationGroup] :: NotificationGroup -> [Notification]
-- | Represents the value of an option
data OptionValue
-- | Represents a boolean option
OptionValueBoolean :: Bool -> OptionValue
-- | The value of the option
[$sel:value_3:OptionValueBoolean] :: OptionValue -> Bool
-- | Represents an unknown option or an option which has a default value
OptionValueEmpty :: OptionValue
-- | Represents an integer option
OptionValueInteger :: I32 -> OptionValue
-- | The value of the option
[$sel:value_2:OptionValueBoolean] :: OptionValue -> I32
-- | Represents a string option
OptionValueString :: T -> OptionValue
-- | The value of the option
[$sel:value:OptionValueBoolean] :: OptionValue -> T
data JsonObjectMember
-- | Represents one member of a JSON object
JsonObjectMember :: T -> JsonValue -> JsonObjectMember
-- | Member's key
[$sel:key:JsonObjectMember] :: JsonObjectMember -> T
-- | Member's value
[$sel:value:JsonObjectMember] :: JsonObjectMember -> JsonValue
-- | Represents a JSON value
data JsonValue
-- | Represents a null JSON value
JsonValueNull :: JsonValue
-- | Represents a boolean JSON value
JsonValueBoolean :: Bool -> JsonValue
-- | The value
[$sel:value_3:JsonValueNull] :: JsonValue -> Bool
-- | Represents a numeric JSON value
JsonValueNumber :: Double -> JsonValue
-- | The value
[$sel:value_2:JsonValueNull] :: JsonValue -> Double
-- | Represents a string JSON value
JsonValueString :: T -> JsonValue
-- | The value
[$sel:value:JsonValueNull] :: JsonValue -> T
-- | Represents a JSON array
JsonValueArray :: [JsonValue] -> JsonValue
-- | The list of array elements
[$sel:values:JsonValueNull] :: JsonValue -> [JsonValue]
-- | Represents a JSON object
JsonValueObject :: [JsonObjectMember] -> JsonValue
-- | The list of object members
[$sel:members:JsonValueNull] :: JsonValue -> [JsonObjectMember]
-- | Represents a single rule for managing privacy settings
data UserPrivacySettingRule
-- | A rule to allow all users to do something
UserPrivacySettingRuleAllowAll :: UserPrivacySettingRule
-- | A rule to allow all of a user's contacts to do something
UserPrivacySettingRuleAllowContacts :: UserPrivacySettingRule
-- | A rule to allow certain specified users to do something
UserPrivacySettingRuleAllowUsers :: [I32] -> UserPrivacySettingRule
-- | The user identifiers, total number of users in all rules must not
-- exceed 1000
[$sel:userIds:UserPrivacySettingRuleAllowAll] :: UserPrivacySettingRule -> [I32]
-- | A rule to allow all members of certain specified basic groups and
-- supergroups to doing something
UserPrivacySettingRuleAllowChatMembers :: [I53] -> UserPrivacySettingRule
-- | The chat identifiers, total number of chats in all rules must not
-- exceed 20
[$sel:chatIds:UserPrivacySettingRuleAllowAll] :: UserPrivacySettingRule -> [I53]
-- | A rule to restrict all users from doing something
UserPrivacySettingRuleRestrictAll :: UserPrivacySettingRule
-- | A rule to restrict all contacts of a user from doing something
UserPrivacySettingRuleRestrictContacts :: UserPrivacySettingRule
-- | A rule to restrict all specified users from doing something
UserPrivacySettingRuleRestrictUsers :: [I32] -> UserPrivacySettingRule
-- | The user identifiers, total number of users in all rules must not
-- exceed 1000
[$sel:userIds:UserPrivacySettingRuleAllowAll] :: UserPrivacySettingRule -> [I32]
-- | A rule to restrict all members of specified basic groups and
-- supergroups from doing something
UserPrivacySettingRuleRestrictChatMembers :: [I53] -> UserPrivacySettingRule
-- | The chat identifiers, total number of chats in all rules must not
-- exceed 20
[$sel:chatIds:UserPrivacySettingRuleAllowAll] :: UserPrivacySettingRule -> [I53]
data UserPrivacySettingRules
-- | A list of privacy rules. Rules are matched in the specified order. The
-- first matched rule defines the privacy setting for a given user. If no
-- rule matches, the action is not allowed
UserPrivacySettingRules :: [UserPrivacySettingRule] -> UserPrivacySettingRules
-- | A list of rules
[$sel:rules:UserPrivacySettingRules] :: UserPrivacySettingRules -> [UserPrivacySettingRule]
-- | Describes available user privacy settings
data UserPrivacySetting
-- | A privacy setting for managing whether the user's online status is
-- visible
UserPrivacySettingShowStatus :: UserPrivacySetting
-- | A privacy setting for managing whether the user's profile photo is
-- visible
UserPrivacySettingShowProfilePhoto :: UserPrivacySetting
-- | A privacy setting for managing whether a link to the user's account is
-- included in forwarded messages
UserPrivacySettingShowLinkInForwardedMessages :: UserPrivacySetting
-- | A privacy setting for managing whether the user's phone number is
-- visible
UserPrivacySettingShowPhoneNumber :: UserPrivacySetting
-- | A privacy setting for managing whether the user can be invited to
-- chats
UserPrivacySettingAllowChatInvites :: UserPrivacySetting
-- | A privacy setting for managing whether the user can be called
UserPrivacySettingAllowCalls :: UserPrivacySetting
-- | A privacy setting for managing whether peer-to-peer connections can be
-- used for calls
UserPrivacySettingAllowPeerToPeerCalls :: UserPrivacySetting
-- | A privacy setting for managing whether the user can be found by their
-- phone number. Checked only if the phone number is not known to the
-- other user. Can be set only to "Allow contacts" or "Allow all"
UserPrivacySettingAllowFindingByPhoneNumber :: UserPrivacySetting
data AccountTtl
-- | Contains information about the period of inactivity after which the
-- current user's account will automatically be deleted
AccountTtl :: I32 -> AccountTtl
-- | Number of days of inactivity before the account will be flagged for
-- deletion; should range from 30-366 days
[$sel:days:AccountTtl] :: AccountTtl -> I32
data Session
-- | Contains information about one session in a Telegram application used
-- by the current user. Sessions should be shown to the user in the
-- returned order
Session :: I64 -> Bool -> Bool -> I32 -> T -> T -> Bool -> T -> T -> T -> I32 -> I32 -> T -> T -> T -> Session
-- | Session identifier
[$sel:id:Session] :: Session -> I64
-- | True, if this session is the current session
[$sel:isCurrent:Session] :: Session -> Bool
-- | True, if a password is needed to complete authorization of the session
[$sel:isPasswordPending:Session] :: Session -> Bool
-- | Telegram API identifier, as provided by the application
[$sel:apiId:Session] :: Session -> I32
-- | Name of the application, as provided by the application
[$sel:applicationName:Session] :: Session -> T
-- | The version of the application, as provided by the application
[$sel:applicationVersion:Session] :: Session -> T
-- | True, if the application is an official application or uses the api_id
-- of an official application
[$sel:isOfficialApplication:Session] :: Session -> Bool
-- | Model of the device the application has been run or is running on, as
-- provided by the application
[$sel:deviceModel:Session] :: Session -> T
-- | Operating system the application has been run or is running on, as
-- provided by the application
[$sel:platform:Session] :: Session -> T
-- | Version of the operating system the application has been run or is
-- running on, as provided by the application
[$sel:systemVersion:Session] :: Session -> T
-- | Point in time (Unix timestamp) when the user has logged in
[$sel:logInDate:Session] :: Session -> I32
-- | Point in time (Unix timestamp) when the session was last used
[$sel:lastActiveDate:Session] :: Session -> I32
-- | IP address from which the session was created, in human-readable
-- format
[$sel:ip:Session] :: Session -> T
-- | A two-letter country code for the country from which the session was
-- created, based on the IP address
[$sel:country:Session] :: Session -> T
-- | Region code from which the session was created, based on the IP
-- address
[$sel:region:Session] :: Session -> T
data Sessions
-- | Contains a list of sessions
Sessions :: [Session] -> Sessions
-- | List of sessions
[$sel:sessions:Sessions] :: Sessions -> [Session]
data ConnectedWebsite
-- | Contains information about one website the current user is logged in
-- with Telegram
ConnectedWebsite :: I64 -> T -> I32 -> T -> T -> I32 -> I32 -> T -> T -> ConnectedWebsite
-- | Website identifier
[$sel:id:ConnectedWebsite] :: ConnectedWebsite -> I64
-- | The domain name of the website
[$sel:domainName:ConnectedWebsite] :: ConnectedWebsite -> T
-- | User identifier of a bot linked with the website
[$sel:botUserId:ConnectedWebsite] :: ConnectedWebsite -> I32
-- | The version of a browser used to log in
[$sel:browser:ConnectedWebsite] :: ConnectedWebsite -> T
-- | Operating system the browser is running on
[$sel:platform:ConnectedWebsite] :: ConnectedWebsite -> T
-- | Point in time (Unix timestamp) when the user was logged in
[$sel:logInDate:ConnectedWebsite] :: ConnectedWebsite -> I32
-- | Point in time (Unix timestamp) when obtained authorization was last
-- used
[$sel:lastActiveDate:ConnectedWebsite] :: ConnectedWebsite -> I32
-- | IP address from which the user was logged in, in human-readable format
[$sel:ip:ConnectedWebsite] :: ConnectedWebsite -> T
-- | Human-readable description of a country and a region, from which the
-- user was logged in, based on the IP address
[$sel:location:ConnectedWebsite] :: ConnectedWebsite -> T
data ConnectedWebsites
-- | Contains a list of websites the current user is logged in with
-- Telegram
ConnectedWebsites :: [ConnectedWebsite] -> ConnectedWebsites
-- | List of connected websites
[$sel:websites:ConnectedWebsites] :: ConnectedWebsites -> [ConnectedWebsite]
-- | Describes the reason why a chat is reported
data ChatReportReason
-- | The chat contains spam messages
ChatReportReasonSpam :: ChatReportReason
-- | The chat promotes violence
ChatReportReasonViolence :: ChatReportReason
-- | The chat contains pornographic messages
ChatReportReasonPornography :: ChatReportReason
-- | The chat has child abuse related content
ChatReportReasonChildAbuse :: ChatReportReason
-- | The chat contains copyrighted content
ChatReportReasonCopyright :: ChatReportReason
-- | The location-based chat is unrelated to its stated location
ChatReportReasonUnrelatedLocation :: ChatReportReason
-- | A custom reason provided by the user
ChatReportReasonCustom :: T -> ChatReportReason
-- | Report text
[$sel:text:ChatReportReasonSpam] :: ChatReportReason -> T
data PublicMessageLink
-- | Contains a public HTTPS link to a message in a supergroup or channel
-- with a username
PublicMessageLink :: T -> T -> PublicMessageLink
-- | Message link
[$sel:link:PublicMessageLink] :: PublicMessageLink -> T
-- | HTML-code for embedding the message
[$sel:html:PublicMessageLink] :: PublicMessageLink -> T
data MessageLinkInfo
-- | Contains information about a link to a message in a chat
MessageLinkInfo :: Bool -> I53 -> Maybe Message -> Bool -> MessageLinkInfo
-- | True, if the link is a public link for a message in a chat
[$sel:isPublic:MessageLinkInfo] :: MessageLinkInfo -> Bool
-- | If found, identifier of the chat to which the message belongs, 0
-- otherwise
[$sel:chatId:MessageLinkInfo] :: MessageLinkInfo -> I53
-- | If found, the linked message; may be null
[$sel:message:MessageLinkInfo] :: MessageLinkInfo -> Maybe Message
-- | True, if the whole media album to which the message belongs is linked
[$sel:forAlbum:MessageLinkInfo] :: MessageLinkInfo -> Bool
data FilePart
-- | Contains a part of a file
FilePart :: ByteString64 -> FilePart
-- | File bytes
[$sel:data_:FilePart] :: FilePart -> ByteString64
-- | Represents the type of a file
data FileType
-- | The data is not a file
FileTypeNone :: FileType
-- | The file is an animation
FileTypeAnimation :: FileType
-- | The file is an audio file
FileTypeAudio :: FileType
-- | The file is a document
FileTypeDocument :: FileType
-- | The file is a photo
FileTypePhoto :: FileType
-- | The file is a profile photo
FileTypeProfilePhoto :: FileType
-- | The file was sent to a secret chat (the file type is not known to the
-- server)
FileTypeSecret :: FileType
-- | The file is a thumbnail of a file from a secret chat
FileTypeSecretThumbnail :: FileType
-- | The file is a file from Secure storage used for storing Telegram
-- Passport files
FileTypeSecure :: FileType
-- | The file is a sticker
FileTypeSticker :: FileType
-- | The file is a thumbnail of another file
FileTypeThumbnail :: FileType
-- | The file type is not yet known
FileTypeUnknown :: FileType
-- | The file is a video
FileTypeVideo :: FileType
-- | The file is a video note
FileTypeVideoNote :: FileType
-- | The file is a voice note
FileTypeVoiceNote :: FileType
-- | The file is a wallpaper or a background pattern
FileTypeWallpaper :: FileType
data StorageStatisticsByFileType
-- | Contains the storage usage statistics for a specific file type
StorageStatisticsByFileType :: FileType -> I53 -> I32 -> StorageStatisticsByFileType
-- | File type
[$sel:fileType:StorageStatisticsByFileType] :: StorageStatisticsByFileType -> FileType
-- | Total size of the files
[$sel:size:StorageStatisticsByFileType] :: StorageStatisticsByFileType -> I53
-- | Total number of files
[$sel:count:StorageStatisticsByFileType] :: StorageStatisticsByFileType -> I32
data StorageStatisticsByChat
-- | Contains the storage usage statistics for a specific chat
StorageStatisticsByChat :: I53 -> I53 -> I32 -> [StorageStatisticsByFileType] -> StorageStatisticsByChat
-- | Chat identifier; 0 if none
[$sel:chatId:StorageStatisticsByChat] :: StorageStatisticsByChat -> I53
-- | Total size of the files in the chat
[$sel:size:StorageStatisticsByChat] :: StorageStatisticsByChat -> I53
-- | Total number of files in the chat
[$sel:count:StorageStatisticsByChat] :: StorageStatisticsByChat -> I32
-- | Statistics split by file types
[$sel:byFileType:StorageStatisticsByChat] :: StorageStatisticsByChat -> [StorageStatisticsByFileType]
data StorageStatistics
-- | Contains the exact storage usage statistics split by chats and file
-- type
StorageStatistics :: I53 -> I32 -> [StorageStatisticsByChat] -> StorageStatistics
-- | Total size of files
[$sel:size:StorageStatistics] :: StorageStatistics -> I53
-- | Total number of files
[$sel:count:StorageStatistics] :: StorageStatistics -> I32
-- | Statistics split by chats
[$sel:byChat:StorageStatistics] :: StorageStatistics -> [StorageStatisticsByChat]
data StorageStatisticsFast
-- | Contains approximate storage usage statistics, excluding files of
-- unknown file type
StorageStatisticsFast :: I53 -> I32 -> I53 -> I53 -> I53 -> StorageStatisticsFast
-- | Approximate total size of files
[$sel:filesSize:StorageStatisticsFast] :: StorageStatisticsFast -> I53
-- | Approximate number of files
[$sel:fileCount:StorageStatisticsFast] :: StorageStatisticsFast -> I32
-- | Size of the database
[$sel:databaseSize:StorageStatisticsFast] :: StorageStatisticsFast -> I53
-- | Size of the language pack database
[$sel:languagePackDatabaseSize:StorageStatisticsFast] :: StorageStatisticsFast -> I53
-- | Size of the TDLib internal log
[$sel:logSize:StorageStatisticsFast] :: StorageStatisticsFast -> I53
data DatabaseStatistics
-- | Contains database statistics
DatabaseStatistics :: T -> DatabaseStatistics
-- | Database statistics in an unspecified human-readable format
[$sel:statistics:DatabaseStatistics] :: DatabaseStatistics -> T
-- | Represents the type of a network
data NetworkType
-- | The network is not available
NetworkTypeNone :: NetworkType
-- | A mobile network
NetworkTypeMobile :: NetworkType
-- | A mobile roaming network
NetworkTypeMobileRoaming :: NetworkType
-- | A Wi-Fi network
NetworkTypeWiFi :: NetworkType
-- | A different network type (e.g., Ethernet network)
NetworkTypeOther :: NetworkType
-- | Contains statistics about network usage
data NetworkStatisticsEntry
-- | Contains information about the total amount of data that was used to
-- send and receive files
NetworkStatisticsEntryFile :: FileType -> NetworkType -> I53 -> I53 -> NetworkStatisticsEntry
-- | Type of the file the data is part of
[$sel:fileType:NetworkStatisticsEntryFile] :: NetworkStatisticsEntry -> FileType
-- | Type of the network the data was sent through. Call setNetworkType to
-- maintain the actual network type
[$sel:networkType:NetworkStatisticsEntryFile] :: NetworkStatisticsEntry -> NetworkType
-- | Total number of bytes sent
[$sel:sentBytes:NetworkStatisticsEntryFile] :: NetworkStatisticsEntry -> I53
-- | Total number of bytes received
[$sel:receivedBytes:NetworkStatisticsEntryFile] :: NetworkStatisticsEntry -> I53
-- | Contains information about the total amount of data that was used for
-- calls
NetworkStatisticsEntryCall :: NetworkType -> I53 -> I53 -> Double -> NetworkStatisticsEntry
-- | Type of the network the data was sent through. Call setNetworkType to
-- maintain the actual network type
[$sel:networkType:NetworkStatisticsEntryFile] :: NetworkStatisticsEntry -> NetworkType
-- | Total number of bytes sent
[$sel:sentBytes:NetworkStatisticsEntryFile] :: NetworkStatisticsEntry -> I53
-- | Total number of bytes received
[$sel:receivedBytes:NetworkStatisticsEntryFile] :: NetworkStatisticsEntry -> I53
-- | Total call duration, in seconds
[$sel:duration:NetworkStatisticsEntryFile] :: NetworkStatisticsEntry -> Double
data NetworkStatistics
-- | A full list of available network statistic entries
NetworkStatistics :: I32 -> [NetworkStatisticsEntry] -> NetworkStatistics
-- | Point in time (Unix timestamp) when the app began collecting
-- statistics
[$sel:sinceDate:NetworkStatistics] :: NetworkStatistics -> I32
-- | Network statistics entries
[$sel:entries:NetworkStatistics] :: NetworkStatistics -> [NetworkStatisticsEntry]
data AutoDownloadSettings
-- | Contains auto-download settings
AutoDownloadSettings :: Bool -> I32 -> I32 -> I32 -> I32 -> Bool -> Bool -> Bool -> AutoDownloadSettings
-- | True, if the auto-download is enabled
[$sel:isAutoDownloadEnabled:AutoDownloadSettings] :: AutoDownloadSettings -> Bool
-- | The maximum size of a photo file to be auto-downloaded
[$sel:maxPhotoFileSize:AutoDownloadSettings] :: AutoDownloadSettings -> I32
-- | The maximum size of a video file to be auto-downloaded
[$sel:maxVideoFileSize:AutoDownloadSettings] :: AutoDownloadSettings -> I32
-- | The maximum size of other file types to be auto-downloaded
[$sel:maxOtherFileSize:AutoDownloadSettings] :: AutoDownloadSettings -> I32
-- | The maximum suggested bitrate for uploaded videos
[$sel:videoUploadBitrate:AutoDownloadSettings] :: AutoDownloadSettings -> I32
-- | True, if the beginning of videos needs to be preloaded for instant
-- playback
[$sel:preloadLargeVideos:AutoDownloadSettings] :: AutoDownloadSettings -> Bool
-- | True, if the next audio track needs to be preloaded while the user is
-- listening to an audio file
[$sel:preloadNextAudio:AutoDownloadSettings] :: AutoDownloadSettings -> Bool
-- | True, if "use less data for calls" option needs to be enabled
[$sel:useLessDataForCalls:AutoDownloadSettings] :: AutoDownloadSettings -> Bool
data AutoDownloadSettingsPresets
-- | Contains auto-download settings presets for the user
AutoDownloadSettingsPresets :: AutoDownloadSettings -> AutoDownloadSettings -> AutoDownloadSettings -> AutoDownloadSettingsPresets
-- | Preset with lowest settings; supposed to be used by default when
-- roaming
[$sel:low:AutoDownloadSettingsPresets] :: AutoDownloadSettingsPresets -> AutoDownloadSettings
-- | Preset with medium settings; supposed to be used by default when using
-- mobile data
[$sel:medium:AutoDownloadSettingsPresets] :: AutoDownloadSettingsPresets -> AutoDownloadSettings
-- | Preset with highest settings; supposed to be used by default when
-- connected on Wi-Fi
[$sel:high:AutoDownloadSettingsPresets] :: AutoDownloadSettingsPresets -> AutoDownloadSettings
-- | Describes the current state of the connection to Telegram servers
data ConnectionState
-- | Currently waiting for the network to become available. Use
-- setNetworkType to change the available network type
ConnectionStateWaitingForNetwork :: ConnectionState
-- | Currently establishing a connection with a proxy server
ConnectionStateConnectingToProxy :: ConnectionState
-- | Currently establishing a connection to the Telegram servers
ConnectionStateConnecting :: ConnectionState
-- | Downloading data received while the client was offline
ConnectionStateUpdating :: ConnectionState
-- | There is a working connection to the Telegram servers
ConnectionStateReady :: ConnectionState
-- | Represents the categories of chats for which a list of frequently used
-- chats can be retrieved
data TopChatCategory
-- | A category containing frequently used private chats with non-bot users
TopChatCategoryUsers :: TopChatCategory
-- | A category containing frequently used private chats with bot users
TopChatCategoryBots :: TopChatCategory
-- | A category containing frequently used basic groups and supergroups
TopChatCategoryGroups :: TopChatCategory
-- | A category containing frequently used channels
TopChatCategoryChannels :: TopChatCategory
-- | A category containing frequently used chats with inline bots sorted by
-- their usage in inline mode
TopChatCategoryInlineBots :: TopChatCategory
-- | A category containing frequently used chats used for calls
TopChatCategoryCalls :: TopChatCategory
-- | A category containing frequently used chats used to forward messages
TopChatCategoryForwardChats :: TopChatCategory
-- | Describes the type of a URL linking to an internal Telegram entity
data TMeUrlType
-- | A URL linking to a user
TMeUrlTypeUser :: I32 -> TMeUrlType
-- | Identifier of the user
[$sel:userId:TMeUrlTypeUser] :: TMeUrlType -> I32
-- | A URL linking to a public supergroup or channel
TMeUrlTypeSupergroup :: I53 -> TMeUrlType
-- | Identifier of the supergroup or channel
[$sel:supergroupId:TMeUrlTypeUser] :: TMeUrlType -> I53
-- | A chat invite link
TMeUrlTypeChatInvite :: ChatInviteLinkInfo -> TMeUrlType
-- | Chat invite link info
[$sel:info:TMeUrlTypeUser] :: TMeUrlType -> ChatInviteLinkInfo
-- | A URL linking to a sticker set
TMeUrlTypeStickerSet :: I64 -> TMeUrlType
-- | Identifier of the sticker set
[$sel:stickerSetId:TMeUrlTypeUser] :: TMeUrlType -> I64
data TMeUrl
-- | Represents a URL linking to an internal Telegram entity
TMeUrl :: T -> TMeUrlType -> TMeUrl
-- | URL
[$sel:url:TMeUrl] :: TMeUrl -> T
-- | Type of the URL
[$sel:type_:TMeUrl] :: TMeUrl -> TMeUrlType
data TMeUrls
-- | Contains a list of t.me URLs
TMeUrls :: [TMeUrl] -> TMeUrls
-- | List of URLs
[$sel:urls:TMeUrls] :: TMeUrls -> [TMeUrl]
data Count
-- | Contains a counter
Count :: I32 -> Count
-- | Count
[$sel:count:Count] :: Count -> I32
data Text
-- | Contains some text
Text :: T -> Text
-- | Text
[$sel:text:Text] :: Text -> T
data Seconds
-- | Contains a value representing a number of seconds
Seconds :: Double -> Seconds
-- | Number of seconds
[$sel:seconds:Seconds] :: Seconds -> Double
data DeepLinkInfo
-- | Contains information about a tg:// deep link
DeepLinkInfo :: FormattedText -> Bool -> DeepLinkInfo
-- | Text to be shown to the user
[$sel:text:DeepLinkInfo] :: DeepLinkInfo -> FormattedText
-- | True, if user should be asked to update the application
[$sel:needUpdateApplication:DeepLinkInfo] :: DeepLinkInfo -> Bool
-- | Describes the way the text should be parsed for TextEntities
data TextParseMode
-- | The text uses Markdown-style formatting
TextParseModeMarkdown :: I32 -> TextParseMode
-- | Version of the parser: 0 or 1 - Telegram Bot API Markdown parse
-- mode, 2 - Telegram Bot API MarkdownV2 parse mode
[$sel:version:TextParseModeMarkdown] :: TextParseMode -> I32
-- | The text uses HTML-style formatting. The same as Telegram Bot API
-- HTML parse mode
TextParseModeHTML :: TextParseMode
-- | Describes the type of a proxy server
data ProxyType
-- | A SOCKS5 proxy server
ProxyTypeSocks5 :: T -> T -> ProxyType
-- | Username for logging in; may be empty
[$sel:username:ProxyTypeSocks5] :: ProxyType -> T
-- | Password for logging in; may be empty
[$sel:password:ProxyTypeSocks5] :: ProxyType -> T
-- | A HTTP transparent proxy server
ProxyTypeHttp :: T -> T -> Bool -> ProxyType
-- | Username for logging in; may be empty
[$sel:username:ProxyTypeSocks5] :: ProxyType -> T
-- | Password for logging in; may be empty
[$sel:password:ProxyTypeSocks5] :: ProxyType -> T
-- | Pass true if the proxy supports only HTTP requests and doesn't support
-- transparent TCP connections via HTTP CONNECT method
[$sel:httpOnly:ProxyTypeSocks5] :: ProxyType -> Bool
-- | An MTProto proxy server
ProxyTypeMtproto :: T -> ProxyType
-- | The proxy's secret in hexadecimal encoding
[$sel:secret:ProxyTypeSocks5] :: ProxyType -> T
data Proxy
-- | Contains information about a proxy server
Proxy :: I32 -> T -> I32 -> I32 -> Bool -> ProxyType -> Proxy
-- | Unique identifier of the proxy
[$sel:id:Proxy] :: Proxy -> I32
-- | Proxy server IP address
[$sel:server:Proxy] :: Proxy -> T
-- | Proxy server port
[$sel:port:Proxy] :: Proxy -> I32
-- | Point in time (Unix timestamp) when the proxy was last used; 0 if
-- never
[$sel:lastUsedDate:Proxy] :: Proxy -> I32
-- | True, if the proxy is enabled now
[$sel:isEnabled:Proxy] :: Proxy -> Bool
-- | Type of the proxy
[$sel:type_:Proxy] :: Proxy -> ProxyType
data Proxies
-- | Represents a list of proxy servers
Proxies :: [Proxy] -> Proxies
-- | List of proxy servers
[$sel:proxies:Proxies] :: Proxies -> [Proxy]
-- | Describes a sticker that needs to be added to a sticker set
data InputSticker
-- | A static sticker in PNG format, which will be converted to WEBP
-- server-side
InputStickerStatic :: InputFile -> T -> Maybe MaskPosition -> InputSticker
-- | PNG image with the sticker; must be up to 512 KB in size and fit in a
-- 512x512 square
[$sel:sticker:InputStickerStatic] :: InputSticker -> InputFile
-- | Emojis corresponding to the sticker
[$sel:emojis:InputStickerStatic] :: InputSticker -> T
-- | For masks, position where the mask should be placed; may be null
[$sel:maskPosition:InputStickerStatic] :: InputSticker -> Maybe MaskPosition
-- | An animated sticker in TGS format
InputStickerAnimated :: InputFile -> T -> InputSticker
-- | PNG image with the sticker; must be up to 512 KB in size and fit in a
-- 512x512 square
[$sel:sticker:InputStickerStatic] :: InputSticker -> InputFile
-- | Emojis corresponding to the sticker
[$sel:emojis:InputStickerStatic] :: InputSticker -> T
data DateRange
-- | Represents a date range
DateRange :: I32 -> I32 -> DateRange
-- | Point in time (Unix timestamp) at which the date range begins
[$sel:startDate:DateRange] :: DateRange -> I32
-- | Point in time (Unix timestamp) at which the date range ends
[$sel:endDate:DateRange] :: DateRange -> I32
data StatisticsValue
-- | A statistics value
StatisticsValue :: Double -> Double -> Double -> StatisticsValue
-- | The value
[$sel:value:StatisticsValue] :: StatisticsValue -> Double
-- | The value for the previous day
[$sel:previousValue:StatisticsValue] :: StatisticsValue -> Double
-- | The growth rate of the value, as a percentage
[$sel:growthRatePercentage:StatisticsValue] :: StatisticsValue -> Double
-- | Describes a statistics graph
data StatisticsGraph
-- | A graph data
StatisticsGraphData :: T -> T -> StatisticsGraph
-- | Graph data in JSON format
[$sel:jsonData:StatisticsGraphData] :: StatisticsGraph -> T
-- | If non-empty, a token which can be used to receive a zoomed in graph
[$sel:zoomToken:StatisticsGraphData] :: StatisticsGraph -> T
-- | The graph data to be asynchronously loaded through
-- getChatStatisticsGraph
StatisticsGraphAsync :: T -> StatisticsGraph
-- | The token to use for data loading
[$sel:token:StatisticsGraphData] :: StatisticsGraph -> T
-- | An error message to be shown to the user instead of the graph
StatisticsGraphError :: T -> StatisticsGraph
-- | The error message
[$sel:errorMessage:StatisticsGraphData] :: StatisticsGraph -> T
data ChatStatisticsMessageInteractionCounters
-- | Contains statistics about interactions with a message
ChatStatisticsMessageInteractionCounters :: I53 -> I32 -> I32 -> ChatStatisticsMessageInteractionCounters
-- | Message identifier
[$sel:messageId:ChatStatisticsMessageInteractionCounters] :: ChatStatisticsMessageInteractionCounters -> I53
-- | Number of times the message was viewed
[$sel:viewCount:ChatStatisticsMessageInteractionCounters] :: ChatStatisticsMessageInteractionCounters -> I32
-- | Number of times the message was forwarded
[$sel:forwardCount:ChatStatisticsMessageInteractionCounters] :: ChatStatisticsMessageInteractionCounters -> I32
data ChatStatistics
-- | A detailed statistics about a chat
ChatStatistics :: DateRange -> StatisticsValue -> StatisticsValue -> StatisticsValue -> Double -> StatisticsGraph -> StatisticsGraph -> StatisticsGraph -> StatisticsGraph -> StatisticsGraph -> StatisticsGraph -> StatisticsGraph -> StatisticsGraph -> StatisticsGraph -> [ChatStatisticsMessageInteractionCounters] -> ChatStatistics
-- | A period to which the statistics applies
[$sel:period:ChatStatistics] :: ChatStatistics -> DateRange
-- | Number of members in the chat
[$sel:memberCount:ChatStatistics] :: ChatStatistics -> StatisticsValue
-- | Mean number of times the recently sent messages was viewed
[$sel:meanViewCount:ChatStatistics] :: ChatStatistics -> StatisticsValue
-- | Mean number of times the recently sent messages was shared
[$sel:meanShareCount:ChatStatistics] :: ChatStatistics -> StatisticsValue
-- | A percentage of users with enabled notifications for the chat
[$sel:enabledNotificationsPercentage:ChatStatistics] :: ChatStatistics -> Double
-- | A graph containing number of members in the chat
[$sel:memberCountGraph:ChatStatistics] :: ChatStatistics -> StatisticsGraph
-- | A graph containing number of members joined and left the chat
[$sel:joinGraph:ChatStatistics] :: ChatStatistics -> StatisticsGraph
-- | A graph containing number of members muted and unmuted the chat
[$sel:muteGraph:ChatStatistics] :: ChatStatistics -> StatisticsGraph
-- | A graph containing number of message views in a given hour in the last
-- two weeks
[$sel:viewCountByHourGraph:ChatStatistics] :: ChatStatistics -> StatisticsGraph
-- | A graph containing number of message views per source
[$sel:viewCountBySourceGraph:ChatStatistics] :: ChatStatistics -> StatisticsGraph
-- | A graph containing number of new member joins per source
[$sel:joinBySourceGraph:ChatStatistics] :: ChatStatistics -> StatisticsGraph
-- | A graph containing number of users viewed chat messages per language
[$sel:languageGraph:ChatStatistics] :: ChatStatistics -> StatisticsGraph
-- | A graph containing number of chat message views and shares
[$sel:messageInteractionGraph:ChatStatistics] :: ChatStatistics -> StatisticsGraph
-- | A graph containing number of views of associated with the chat instant
-- views
[$sel:instantViewInteractionGraph:ChatStatistics] :: ChatStatistics -> StatisticsGraph
-- | Detailed statistics about number of views and shares of recently sent
-- messages
[$sel:recentMessageInteractions:ChatStatistics] :: ChatStatistics -> [ChatStatisticsMessageInteractionCounters]
-- | Contains notifications about data changes
data Update
-- | The user authorization state has changed
UpdateAuthorizationState :: AuthorizationState -> Update
-- | New authorization state
[$sel:authorizationState:UpdateAuthorizationState] :: Update -> AuthorizationState
-- | A new message was received; can also be an outgoing message
UpdateNewMessage :: Message -> Update
-- | The new message
[$sel:message:UpdateAuthorizationState] :: Update -> Message
-- | A request to send a message has reached the Telegram server. This
-- doesn't mean that the message will be sent successfully or even that
-- the send message request will be processed. This update will be sent
-- only if the option "use_quick_ack" is set to true. This update may be
-- sent multiple times for the same message
UpdateMessageSendAcknowledged :: I53 -> I53 -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | A temporary message identifier
[$sel:messageId:UpdateAuthorizationState] :: Update -> I53
-- | A message has been successfully sent
UpdateMessageSendSucceeded :: Message -> I53 -> Update
-- | The new message
[$sel:message:UpdateAuthorizationState] :: Update -> Message
-- | The previous temporary message identifier
[$sel:oldMessageId:UpdateAuthorizationState] :: Update -> I53
-- | A message failed to send. Be aware that some messages being sent can
-- be irrecoverably deleted, in which case updateDeleteMessages will be
-- received instead of this update
UpdateMessageSendFailed :: Message -> I53 -> I32 -> T -> Update
-- | The new message
[$sel:message:UpdateAuthorizationState] :: Update -> Message
-- | The previous temporary message identifier
[$sel:oldMessageId:UpdateAuthorizationState] :: Update -> I53
-- | An error code
[$sel:errorCode:UpdateAuthorizationState] :: Update -> I32
-- | Error message
[$sel:errorMessage:UpdateAuthorizationState] :: Update -> T
-- | The message content has changed
UpdateMessageContent :: I53 -> I53 -> MessageContent -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | A temporary message identifier
[$sel:messageId:UpdateAuthorizationState] :: Update -> I53
-- | New message content
[$sel:newContent:UpdateAuthorizationState] :: Update -> MessageContent
-- | A message was edited. Changes in the message content will come in a
-- separate updateMessageContent
UpdateMessageEdited :: I53 -> I53 -> I32 -> Maybe ReplyMarkup -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | A temporary message identifier
[$sel:messageId:UpdateAuthorizationState] :: Update -> I53
-- | Point in time (Unix timestamp) when the message was edited
[$sel:editDate:UpdateAuthorizationState] :: Update -> I32
-- | New message reply markup; may be null
[$sel:replyMarkup:UpdateAuthorizationState] :: Update -> Maybe ReplyMarkup
-- | The view count of the message has changed
UpdateMessageViews :: I53 -> I53 -> I32 -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | A temporary message identifier
[$sel:messageId:UpdateAuthorizationState] :: Update -> I53
-- | New value of the view count
[$sel:views:UpdateAuthorizationState] :: Update -> I32
-- | The message content was opened. Updates voice note messages to
-- "listened", video note messages to "viewed" and starts the TTL timer
-- for self-destructing messages
UpdateMessageContentOpened :: I53 -> I53 -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | A temporary message identifier
[$sel:messageId:UpdateAuthorizationState] :: Update -> I53
-- | A message with an unread mention was read
UpdateMessageMentionRead :: I53 -> I53 -> I32 -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | A temporary message identifier
[$sel:messageId:UpdateAuthorizationState] :: Update -> I53
-- | The new number of unread mention messages left in the chat
[$sel:unreadMentionCount:UpdateAuthorizationState] :: Update -> I32
-- | A message with a live location was viewed. When the update is
-- received, the client is supposed to update the live location
UpdateMessageLiveLocationViewed :: I53 -> I53 -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | A temporary message identifier
[$sel:messageId:UpdateAuthorizationState] :: Update -> I53
-- | A new chat has been loaded/created. This update is guaranteed to come
-- before the chat identifier is returned to the client. The chat field
-- changes will be reported through separate updates
UpdateNewChat :: Chat -> Update
-- | The chat
[$sel:chat:UpdateAuthorizationState] :: Update -> Chat
-- | The title of a chat was changed
UpdateChatTitle :: I53 -> T -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | The new chat title
[$sel:title:UpdateAuthorizationState] :: Update -> T
-- | A chat photo was changed
UpdateChatPhoto :: I53 -> Maybe ChatPhoto -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | The new chat photo; may be null
[$sel:photo:UpdateAuthorizationState] :: Update -> Maybe ChatPhoto
-- | Chat permissions was changed
UpdateChatPermissions :: I53 -> ChatPermissions -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | The new chat permissions
[$sel:permissions:UpdateAuthorizationState] :: Update -> ChatPermissions
-- | The last message of a chat was changed. If last_message is null, then
-- the last message in the chat became unknown. Some new unknown messages
-- might be added to the chat in this case
UpdateChatLastMessage :: I53 -> Maybe Message -> [ChatPosition] -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | The new last message in the chat; may be null
[$sel:lastMessage:UpdateAuthorizationState] :: Update -> Maybe Message
-- | The new chat positions in the chat lists
[$sel:positions:UpdateAuthorizationState] :: Update -> [ChatPosition]
-- | The position of a chat in a chat list has changed. Instead of this
-- update updateChatLastMessage or updateChatDraftMessage might be sent
UpdateChatPosition :: I53 -> ChatPosition -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | New chat position. If new order is 0, then the chat needs to be
-- removed from the list
[$sel:position:UpdateAuthorizationState] :: Update -> ChatPosition
-- | A chat was marked as unread or was read
UpdateChatIsMarkedAsUnread :: I53 -> Bool -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | New value of is_marked_as_unread
[$sel:isMarkedAsUnread:UpdateAuthorizationState] :: Update -> Bool
-- | A chat's has_scheduled_messages field has changed
UpdateChatHasScheduledMessages :: I53 -> Bool -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | New value of has_scheduled_messages
[$sel:hasScheduledMessages:UpdateAuthorizationState] :: Update -> Bool
-- | The value of the default disable_notification parameter, used when a
-- message is sent to the chat, was changed
UpdateChatDefaultDisableNotification :: I53 -> Bool -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | The new default_disable_notification value
[$sel:defaultDisableNotification:UpdateAuthorizationState] :: Update -> Bool
-- | Incoming messages were read or number of unread messages has been
-- changed
UpdateChatReadInbox :: I53 -> I53 -> I32 -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | Identifier of the last read incoming message
[$sel:lastReadInboxMessageId:UpdateAuthorizationState] :: Update -> I53
-- | The number of unread messages left in the chat
[$sel:unreadCount:UpdateAuthorizationState] :: Update -> I32
-- | Outgoing messages were read
UpdateChatReadOutbox :: I53 -> I53 -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | Identifier of last read outgoing message
[$sel:lastReadOutboxMessageId:UpdateAuthorizationState] :: Update -> I53
-- | The chat unread_mention_count has changed
UpdateChatUnreadMentionCount :: I53 -> I32 -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | The new number of unread mention messages left in the chat
[$sel:unreadMentionCount:UpdateAuthorizationState] :: Update -> I32
-- | Notification settings for a chat were changed
UpdateChatNotificationSettings :: I53 -> ChatNotificationSettings -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | The new notification settings
[$sel:notificationSettings_2:UpdateAuthorizationState] :: Update -> ChatNotificationSettings
-- | Notification settings for some type of chats were updated
UpdateScopeNotificationSettings :: NotificationSettingsScope -> ScopeNotificationSettings -> Update
-- | Types of chats for which notification settings were updated
[$sel:scope:UpdateAuthorizationState] :: Update -> NotificationSettingsScope
-- | The new notification settings
[$sel:notificationSettings:UpdateAuthorizationState] :: Update -> ScopeNotificationSettings
-- | The chat action bar was changed
UpdateChatActionBar :: I53 -> Maybe ChatActionBar -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | The new value of the action bar; may be null
[$sel:actionBar:UpdateAuthorizationState] :: Update -> Maybe ChatActionBar
-- | The chat pinned message was changed
UpdateChatPinnedMessage :: I53 -> I53 -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | The new identifier of the pinned message; 0 if there is no pinned
-- message in the chat
[$sel:pinnedMessageId:UpdateAuthorizationState] :: Update -> I53
-- | The default chat reply markup was changed. Can occur because new
-- messages with reply markup were received or because an old reply
-- markup was hidden by the user
UpdateChatReplyMarkup :: I53 -> I53 -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | Identifier of the message from which reply markup needs to be used; 0
-- if there is no default custom reply markup in the chat
[$sel:replyMarkupMessageId:UpdateAuthorizationState] :: Update -> I53
-- | A chat draft has changed. Be aware that the update may come in the
-- currently opened chat but with old content of the draft. If the user
-- has changed the content of the draft, this update shouldn't be applied
UpdateChatDraftMessage :: I53 -> Maybe DraftMessage -> [ChatPosition] -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | The new draft message; may be null
[$sel:draftMessage:UpdateAuthorizationState] :: Update -> Maybe DraftMessage
-- | The new chat positions in the chat lists
[$sel:positions:UpdateAuthorizationState] :: Update -> [ChatPosition]
-- | The list of chat filters or a chat filter has changed
UpdateChatFilters :: [ChatFilterInfo] -> Update
-- | The new list of chat filters
[$sel:chatFilters:UpdateAuthorizationState] :: Update -> [ChatFilterInfo]
-- | The number of online group members has changed. This update with
-- non-zero count is sent only for currently opened chats. There is no
-- guarantee that it will be sent just after the count has changed
UpdateChatOnlineMemberCount :: I53 -> I32 -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | New number of online members in the chat, or 0 if unknown
[$sel:onlineMemberCount:UpdateAuthorizationState] :: Update -> I32
-- | A notification was changed
UpdateNotification :: I32 -> Notification -> Update
-- | Unique notification group identifier
[$sel:notificationGroupId:UpdateAuthorizationState] :: Update -> I32
-- | Changed notification
[$sel:notification:UpdateAuthorizationState] :: Update -> Notification
-- | A list of active notifications in a notification group has changed
UpdateNotificationGroup :: I32 -> NotificationGroupType -> I53 -> I53 -> Bool -> I32 -> [Notification] -> [I32] -> Update
-- | Unique notification group identifier
[$sel:notificationGroupId:UpdateAuthorizationState] :: Update -> I32
-- | New type of the notification group
[$sel:type_2:UpdateAuthorizationState] :: Update -> NotificationGroupType
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | Chat identifier, which notification settings must be applied to the
-- added notifications
[$sel:notificationSettingsChatId:UpdateAuthorizationState] :: Update -> I53
-- | True, if the notifications should be shown without sound
[$sel:isSilent:UpdateAuthorizationState] :: Update -> Bool
-- | Total number of unread notifications in the group, can be bigger than
-- number of active notifications
[$sel:totalCount:UpdateAuthorizationState] :: Update -> I32
-- | List of added group notifications, sorted by notification ID
[$sel:addedNotifications:UpdateAuthorizationState] :: Update -> [Notification]
-- | Identifiers of removed group notifications, sorted by notification ID
[$sel:removedNotificationIds:UpdateAuthorizationState] :: Update -> [I32]
-- | Contains active notifications that was shown on previous application
-- launches. This update is sent only if the message database is used. In
-- that case it comes once before any updateNotification and
-- updateNotificationGroup update
UpdateActiveNotifications :: [NotificationGroup] -> Update
-- | Lists of active notification groups
[$sel:groups:UpdateAuthorizationState] :: Update -> [NotificationGroup]
-- | Describes whether there are some pending notification updates. Can be
-- used to prevent application from killing, while there are some pending
-- notifications
UpdateHavePendingNotifications :: Bool -> Bool -> Update
-- | True, if there are some delayed notification updates, which will be
-- sent soon
[$sel:haveDelayedNotifications:UpdateAuthorizationState] :: Update -> Bool
-- | True, if there can be some yet unreceived notifications, which are
-- being fetched from the server
[$sel:haveUnreceivedNotifications:UpdateAuthorizationState] :: Update -> Bool
-- | Some messages were deleted
UpdateDeleteMessages :: I53 -> [I53] -> Bool -> Bool -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | Identifiers of the deleted messages
[$sel:messageIds:UpdateAuthorizationState] :: Update -> [I53]
-- | True, if the messages are permanently deleted by a user (as opposed to
-- just becoming inaccessible)
[$sel:isPermanent:UpdateAuthorizationState] :: Update -> Bool
-- | True, if the messages are deleted only from the cache and can possibly
-- be retrieved again in the future
[$sel:fromCache:UpdateAuthorizationState] :: Update -> Bool
-- | User activity in the chat has changed
UpdateUserChatAction :: I53 -> I32 -> ChatAction -> Update
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | Identifier of a user performing an action
[$sel:userId:UpdateAuthorizationState] :: Update -> I32
-- | The action description
[$sel:action:UpdateAuthorizationState] :: Update -> ChatAction
-- | The user went online or offline
UpdateUserStatus :: I32 -> UserStatus -> Update
-- | Identifier of a user performing an action
[$sel:userId:UpdateAuthorizationState] :: Update -> I32
-- | New status of the user
[$sel:status:UpdateAuthorizationState] :: Update -> UserStatus
-- | Some data of a user has changed. This update is guaranteed to come
-- before the user identifier is returned to the client
UpdateUser :: User -> Update
-- | New data about the user
[$sel:user:UpdateAuthorizationState] :: Update -> User
-- | Some data of a basic group has changed. This update is guaranteed to
-- come before the basic group identifier is returned to the client
UpdateBasicGroup :: BasicGroup -> Update
-- | New data about the group
[$sel:basicGroup:UpdateAuthorizationState] :: Update -> BasicGroup
-- | Some data of a supergroup or a channel has changed. This update is
-- guaranteed to come before the supergroup identifier is returned to the
-- client
UpdateSupergroup :: Supergroup -> Update
-- | New data about the supergroup
[$sel:supergroup:UpdateAuthorizationState] :: Update -> Supergroup
-- | Some data of a secret chat has changed. This update is guaranteed to
-- come before the secret chat identifier is returned to the client
UpdateSecretChat :: SecretChat -> Update
-- | New data about the secret chat
[$sel:secretChat:UpdateAuthorizationState] :: Update -> SecretChat
-- | Some data from userFullInfo has been changed
UpdateUserFullInfo :: I32 -> UserFullInfo -> Update
-- | Identifier of a user performing an action
[$sel:userId:UpdateAuthorizationState] :: Update -> I32
-- | New full information about the user
[$sel:userFullInfo:UpdateAuthorizationState] :: Update -> UserFullInfo
-- | Some data from basicGroupFullInfo has been changed
UpdateBasicGroupFullInfo :: I32 -> BasicGroupFullInfo -> Update
-- | Identifier of a basic group
[$sel:basicGroupId:UpdateAuthorizationState] :: Update -> I32
-- | New full information about the group
[$sel:basicGroupFullInfo:UpdateAuthorizationState] :: Update -> BasicGroupFullInfo
-- | Some data from supergroupFullInfo has been changed
UpdateSupergroupFullInfo :: I32 -> SupergroupFullInfo -> Update
-- | Identifier of the supergroup or channel
[$sel:supergroupId:UpdateAuthorizationState] :: Update -> I32
-- | New full information about the supergroup
[$sel:supergroupFullInfo:UpdateAuthorizationState] :: Update -> SupergroupFullInfo
-- | Service notification from the server. Upon receiving this the client
-- must show a popup with the content of the notification
UpdateServiceNotification :: T -> MessageContent -> Update
-- | Notification type. If type begins with AUTH_KEY_DROP_, then two
-- buttons Cancel and "Log out" should be shown under
-- notification; if user presses the second, all local data should be
-- destroyed using Destroy method
[$sel:type_:UpdateAuthorizationState] :: Update -> T
-- | Notification content
[$sel:content:UpdateAuthorizationState] :: Update -> MessageContent
-- | Information about a file was updated
UpdateFile :: File -> Update
-- | New data about the file
[$sel:file:UpdateAuthorizationState] :: Update -> File
-- | The file generation process needs to be started by the client
UpdateFileGenerationStart :: I64 -> T -> T -> T -> Update
-- | Unique identifier for the generation process
[$sel:generationId:UpdateAuthorizationState] :: Update -> I64
-- | The path to a file from which a new file is generated; may be empty
[$sel:originalPath:UpdateAuthorizationState] :: Update -> T
-- | The path to a file that should be created and where the new file
-- should be generated
[$sel:destinationPath:UpdateAuthorizationState] :: Update -> T
-- | String specifying the conversion applied to the original file. If
-- conversion is "" than original_path contains an HTTP/HTTPS URL of a
-- file, which should be downloaded by the client
[$sel:conversion:UpdateAuthorizationState] :: Update -> T
-- | File generation is no longer needed
UpdateFileGenerationStop :: I64 -> Update
-- | Unique identifier for the generation process
[$sel:generationId:UpdateAuthorizationState] :: Update -> I64
-- | New call was created or information about a call was updated
UpdateCall :: Call -> Update
-- | New data about a call
[$sel:call:UpdateAuthorizationState] :: Update -> Call
-- | Some privacy setting rules have been changed
UpdateUserPrivacySettingRules :: UserPrivacySetting -> UserPrivacySettingRules -> Update
-- | The privacy setting
[$sel:setting:UpdateAuthorizationState] :: Update -> UserPrivacySetting
-- | New privacy rules
[$sel:rules:UpdateAuthorizationState] :: Update -> UserPrivacySettingRules
-- | Number of unread messages in a chat list has changed. This update is
-- sent only if the message database is used
UpdateUnreadMessageCount :: ChatList -> I32 -> I32 -> Update
-- | The chat list with changed number of unread messages
[$sel:chatList:UpdateAuthorizationState] :: Update -> ChatList
-- | The number of unread messages left in the chat
[$sel:unreadCount:UpdateAuthorizationState] :: Update -> I32
-- | Total number of unread messages in unmuted chats
[$sel:unreadUnmutedCount:UpdateAuthorizationState] :: Update -> I32
-- | Number of unread chats, i.e. with unread messages or marked as unread,
-- has changed. This update is sent only if the message database is used
UpdateUnreadChatCount :: ChatList -> I32 -> I32 -> I32 -> I32 -> I32 -> Update
-- | The chat list with changed number of unread messages
[$sel:chatList:UpdateAuthorizationState] :: Update -> ChatList
-- | Total number of unread notifications in the group, can be bigger than
-- number of active notifications
[$sel:totalCount:UpdateAuthorizationState] :: Update -> I32
-- | The number of unread messages left in the chat
[$sel:unreadCount:UpdateAuthorizationState] :: Update -> I32
-- | Total number of unread messages in unmuted chats
[$sel:unreadUnmutedCount:UpdateAuthorizationState] :: Update -> I32
-- | Total number of chats marked as unread
[$sel:markedAsUnreadCount:UpdateAuthorizationState] :: Update -> I32
-- | Total number of unmuted chats marked as unread
[$sel:markedAsUnreadUnmutedCount:UpdateAuthorizationState] :: Update -> I32
-- | An option changed its value
UpdateOption :: T -> OptionValue -> Update
-- | The option name
[$sel:name:UpdateAuthorizationState] :: Update -> T
-- | The new option value
[$sel:value:UpdateAuthorizationState] :: Update -> OptionValue
-- | A sticker set has changed
UpdateStickerSet :: StickerSet -> Update
-- | The sticker set
[$sel:stickerSet:UpdateAuthorizationState] :: Update -> StickerSet
-- | The list of installed sticker sets was updated
UpdateInstalledStickerSets :: Bool -> [I64] -> Update
-- | True, if the list of installed mask sticker sets was updated
[$sel:isMasks:UpdateAuthorizationState] :: Update -> Bool
-- | The new list of installed ordinary sticker sets
[$sel:stickerSetIds:UpdateAuthorizationState] :: Update -> [I64]
-- | The list of trending sticker sets was updated or some of them were
-- viewed
UpdateTrendingStickerSets :: StickerSets -> Update
-- | The prefix of the list of trending sticker sets with the newest
-- trending sticker sets
[$sel:stickerSets:UpdateAuthorizationState] :: Update -> StickerSets
-- | The list of recently used stickers was updated
UpdateRecentStickers :: Bool -> [I32] -> Update
-- | True, if the list of stickers attached to photo or video files was
-- updated, otherwise the list of sent stickers is updated
[$sel:isAttached:UpdateAuthorizationState] :: Update -> Bool
-- | The new list of file identifiers of recently used stickers
[$sel:stickerIds:UpdateAuthorizationState] :: Update -> [I32]
-- | The list of favorite stickers was updated
UpdateFavoriteStickers :: [I32] -> Update
-- | The new list of file identifiers of recently used stickers
[$sel:stickerIds:UpdateAuthorizationState] :: Update -> [I32]
-- | The list of saved animations was updated
UpdateSavedAnimations :: [I32] -> Update
-- | The new list of file identifiers of saved animations
[$sel:animationIds:UpdateAuthorizationState] :: Update -> [I32]
-- | The selected background has changed
UpdateSelectedBackground :: Bool -> Maybe Background -> Update
-- | True, if background for dark theme has changed
[$sel:forDarkTheme:UpdateAuthorizationState] :: Update -> Bool
-- | The new selected background; may be null
[$sel:background:UpdateAuthorizationState] :: Update -> Maybe Background
-- | Some language pack strings have been updated
UpdateLanguagePackStrings :: T -> T -> [LanguagePackString] -> Update
-- | Localization target to which the language pack belongs
[$sel:localizationTarget:UpdateAuthorizationState] :: Update -> T
-- | Identifier of the updated language pack
[$sel:languagePackId:UpdateAuthorizationState] :: Update -> T
-- | List of changed language pack strings
[$sel:strings:UpdateAuthorizationState] :: Update -> [LanguagePackString]
-- | The connection state has changed
UpdateConnectionState :: ConnectionState -> Update
-- | The new connection state
[$sel:state:UpdateAuthorizationState] :: Update -> ConnectionState
-- | New terms of service must be accepted by the user. If the terms of
-- service are declined, then the deleteAccount method should be called
-- with the reason "Decline ToS update"
UpdateTermsOfService :: T -> TermsOfService -> Update
-- | Identifier of the terms of service
[$sel:termsOfServiceId:UpdateAuthorizationState] :: Update -> T
-- | The new terms of service
[$sel:termsOfService:UpdateAuthorizationState] :: Update -> TermsOfService
-- | The list of users nearby has changed. The update is sent only 60
-- seconds after a successful searchChatsNearby request
UpdateUsersNearby :: [ChatNearby] -> Update
-- | The new list of users nearby
[$sel:usersNearby:UpdateAuthorizationState] :: Update -> [ChatNearby]
-- | The list of supported dice emojis has changed
UpdateDiceEmojis :: [T] -> Update
-- | The new list of supported dice emojis
[$sel:emojis:UpdateAuthorizationState] :: Update -> [T]
-- | The parameters of animation search through
-- GetOption("animation_search_bot_username") bot has changed
UpdateAnimationSearchParameters :: T -> [T] -> Update
-- | Name of the animation search provider
[$sel:provider:UpdateAuthorizationState] :: Update -> T
-- | The new list of supported dice emojis
[$sel:emojis:UpdateAuthorizationState] :: Update -> [T]
-- | A new incoming inline query; for bots only
UpdateNewInlineQuery :: I64 -> I32 -> Maybe Location -> T -> T -> Update
-- | Unique query identifier
[$sel:id:UpdateAuthorizationState] :: Update -> I64
-- | Identifier of the user who sent the query
[$sel:senderUserId:UpdateAuthorizationState] :: Update -> I32
-- | User location, provided by the client; may be null
[$sel:userLocation:UpdateAuthorizationState] :: Update -> Maybe Location
-- | Text of the query
[$sel:query:UpdateAuthorizationState] :: Update -> T
-- | Offset of the first entry to return
[$sel:offset:UpdateAuthorizationState] :: Update -> T
-- | The user has chosen a result of an inline query; for bots only
UpdateNewChosenInlineResult :: I32 -> Maybe Location -> T -> T -> T -> Update
-- | Identifier of the user who sent the query
[$sel:senderUserId:UpdateAuthorizationState] :: Update -> I32
-- | User location, provided by the client; may be null
[$sel:userLocation:UpdateAuthorizationState] :: Update -> Maybe Location
-- | Text of the query
[$sel:query:UpdateAuthorizationState] :: Update -> T
-- | Identifier of the chosen result
[$sel:resultId:UpdateAuthorizationState] :: Update -> T
-- | Identifier of the sent inline message, if known
[$sel:inlineMessageId:UpdateAuthorizationState] :: Update -> T
-- | A new incoming callback query; for bots only
UpdateNewCallbackQuery :: I64 -> I32 -> I53 -> I53 -> I64 -> CallbackQueryPayload -> Update
-- | Unique query identifier
[$sel:id:UpdateAuthorizationState] :: Update -> I64
-- | Identifier of the user who sent the query
[$sel:senderUserId:UpdateAuthorizationState] :: Update -> I32
-- | The chat identifier of the sent message
[$sel:chatId:UpdateAuthorizationState] :: Update -> I53
-- | A temporary message identifier
[$sel:messageId:UpdateAuthorizationState] :: Update -> I53
-- | Identifier that uniquely corresponds to the chat to which the message
-- was sent
[$sel:chatInstance:UpdateAuthorizationState] :: Update -> I64
-- | Query payload
[$sel:payload:UpdateAuthorizationState] :: Update -> CallbackQueryPayload
-- | A new incoming callback query from a message sent via a bot; for bots
-- only
UpdateNewInlineCallbackQuery :: I64 -> I32 -> T -> I64 -> CallbackQueryPayload -> Update
-- | Unique query identifier
[$sel:id:UpdateAuthorizationState] :: Update -> I64
-- | Identifier of the user who sent the query
[$sel:senderUserId:UpdateAuthorizationState] :: Update -> I32
-- | Identifier of the sent inline message, if known
[$sel:inlineMessageId:UpdateAuthorizationState] :: Update -> T
-- | Identifier that uniquely corresponds to the chat to which the message
-- was sent
[$sel:chatInstance:UpdateAuthorizationState] :: Update -> I64
-- | Query payload
[$sel:payload:UpdateAuthorizationState] :: Update -> CallbackQueryPayload
-- | A new incoming shipping query; for bots only. Only for invoices with
-- flexible price
UpdateNewShippingQuery :: I64 -> I32 -> T -> Address -> Update
-- | Unique query identifier
[$sel:id:UpdateAuthorizationState] :: Update -> I64
-- | Identifier of the user who sent the query
[$sel:senderUserId:UpdateAuthorizationState] :: Update -> I32
-- | Invoice payload
[$sel:invoicePayload_2:UpdateAuthorizationState] :: Update -> T
-- | User shipping address
[$sel:shippingAddress:UpdateAuthorizationState] :: Update -> Address
-- | A new incoming pre-checkout query; for bots only. Contains full
-- information about a checkout
UpdateNewPreCheckoutQuery :: I64 -> I32 -> T -> I53 -> ByteString64 -> T -> Maybe OrderInfo -> Update
-- | Unique query identifier
[$sel:id:UpdateAuthorizationState] :: Update -> I64
-- | Identifier of the user who sent the query
[$sel:senderUserId:UpdateAuthorizationState] :: Update -> I32
-- | Currency for the product price
[$sel:currency:UpdateAuthorizationState] :: Update -> T
-- | Total price for the product, in the minimal quantity of the currency
[$sel:totalAmount:UpdateAuthorizationState] :: Update -> I53
-- | Invoice payload
[$sel:invoicePayload:UpdateAuthorizationState] :: Update -> ByteString64
-- | Identifier of a shipping option chosen by the user; may be empty if
-- not applicable
[$sel:shippingOptionId:UpdateAuthorizationState] :: Update -> T
-- | Information about the order; may be null
[$sel:orderInfo:UpdateAuthorizationState] :: Update -> Maybe OrderInfo
-- | A new incoming event; for bots only
UpdateNewCustomEvent :: T -> Update
-- | A JSON-serialized event
[$sel:event:UpdateAuthorizationState] :: Update -> T
-- | A new incoming query; for bots only
UpdateNewCustomQuery :: I64 -> T -> I32 -> Update
-- | Unique query identifier
[$sel:id:UpdateAuthorizationState] :: Update -> I64
-- | JSON-serialized query data
[$sel:data_:UpdateAuthorizationState] :: Update -> T
-- | Query timeout
[$sel:timeout:UpdateAuthorizationState] :: Update -> I32
-- | A poll was updated; for bots only
UpdatePoll :: Poll -> Update
-- | New data about the poll
[$sel:poll:UpdateAuthorizationState] :: Update -> Poll
-- | A user changed the answer to a poll; for bots only
UpdatePollAnswer :: I64 -> I32 -> [I32] -> Update
-- | Unique poll identifier
[$sel:pollId:UpdateAuthorizationState] :: Update -> I64
-- | Identifier of a user performing an action
[$sel:userId:UpdateAuthorizationState] :: Update -> I32
-- | 0-based identifiers of answer options, chosen by the user
[$sel:optionIds:UpdateAuthorizationState] :: Update -> [I32]
data Updates
-- | Contains a list of updates
Updates :: [Update] -> Updates
-- | List of updates
[$sel:updates:Updates] :: Updates -> [Update]
-- | Describes a stream to which TDLib internal log is written
data LogStream
-- | The log is written to stderr or an OS specific log
LogStreamDefault :: LogStream
-- | The log is written to a file
LogStreamFile :: T -> I53 -> LogStream
-- | Path to the file to where the internal TDLib log will be written
[$sel:path:LogStreamDefault] :: LogStream -> T
-- | The maximum size of the file to where the internal TDLib log is
-- written before the file will be auto-rotated
[$sel:maxFileSize:LogStreamDefault] :: LogStream -> I53
-- | The log is written nowhere
LogStreamEmpty :: LogStream
data LogVerbosityLevel
-- | Contains a TDLib internal log verbosity level
LogVerbosityLevel :: I32 -> LogVerbosityLevel
-- | Log verbosity level
[$sel:verbosityLevel:LogVerbosityLevel] :: LogVerbosityLevel -> I32
data LogTags
-- | Contains a list of available TDLib internal log tags
LogTags :: [T] -> LogTags
-- | List of log tags
[$sel:tags:LogTags] :: LogTags -> [T]
data TestInt
-- | A simple object containing a number; for testing only
TestInt :: I32 -> TestInt
-- | Number
[$sel:value:TestInt] :: TestInt -> I32
data TestString
-- | A simple object containing a string; for testing only
TestString :: T -> TestString
-- | String
[$sel:value:TestString] :: TestString -> T
data TestBytes
-- | A simple object containing a sequence of bytes; for testing only
TestBytes :: ByteString64 -> TestBytes
-- | Bytes
[$sel:value:TestBytes] :: TestBytes -> ByteString64
data TestVectorInt
-- | A simple object containing a vector of numbers; for testing only
TestVectorInt :: [I32] -> TestVectorInt
-- | Vector of numbers
[$sel:value:TestVectorInt] :: TestVectorInt -> [I32]
data TestVectorIntObject
-- | A simple object containing a vector of objects that hold a number; for
-- testing only
TestVectorIntObject :: [TestInt] -> TestVectorIntObject
-- | Vector of objects
[$sel:value:TestVectorIntObject] :: TestVectorIntObject -> [TestInt]
data TestVectorString
-- | A simple object containing a vector of strings; for testing only
TestVectorString :: [T] -> TestVectorString
-- | Vector of strings
[$sel:value:TestVectorString] :: TestVectorString -> [T]
data TestVectorStringObject
-- | A simple object containing a vector of objects that hold a string; for
-- testing only
TestVectorStringObject :: [TestString] -> TestVectorStringObject
-- | Vector of objects
[$sel:value:TestVectorStringObject] :: TestVectorStringObject -> [TestString]
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Error
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Error
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Ok
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Ok
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TdlibParameters
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TdlibParameters
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.AuthenticationCodeType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.AuthenticationCodeType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.AuthenticationCodeInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.AuthenticationCodeInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.EmailAddressAuthenticationCodeInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.EmailAddressAuthenticationCodeInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TextEntity
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TextEntity
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TextEntities
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TextEntities
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.FormattedText
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.FormattedText
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TermsOfService
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TermsOfService
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.AuthorizationState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.AuthorizationState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PasswordState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PasswordState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.RecoveryEmailAddress
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.RecoveryEmailAddress
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TemporaryPasswordState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TemporaryPasswordState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.LocalFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.LocalFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.RemoteFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.RemoteFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.File
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.File
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InputFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InputFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PhotoSize
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PhotoSize
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Minithumbnail
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Minithumbnail
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ThumbnailFormat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ThumbnailFormat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Thumbnail
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Thumbnail
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.MaskPoint
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.MaskPoint
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.MaskPosition
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.MaskPosition
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PollOption
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PollOption
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PollType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PollType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Animation
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Animation
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Audio
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Audio
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Document
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Document
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Photo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Photo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Sticker
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Sticker
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Video
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Video
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.VideoNote
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.VideoNote
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.VoiceNote
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.VoiceNote
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Contact
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Contact
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Location
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Location
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Venue
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Venue
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Game
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Game
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Poll
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Poll
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ProfilePhoto
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ProfilePhoto
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatPhoto
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatPhoto
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.UserType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.UserType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.BotCommand
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.BotCommand
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.BotInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.BotInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatLocation
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatLocation
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.User
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.User
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.UserFullInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.UserFullInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.UserProfilePhoto
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.UserProfilePhoto
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.UserProfilePhotos
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.UserProfilePhotos
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Users
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Users
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatAdministrator
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatAdministrator
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatAdministrators
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatAdministrators
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatPermissions
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatPermissions
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatMemberStatus
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatMemberStatus
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatMember
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatMember
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatMembers
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatMembers
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatMembersFilter
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatMembersFilter
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.SupergroupMembersFilter
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.SupergroupMembersFilter
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.BasicGroup
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.BasicGroup
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.BasicGroupFullInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.BasicGroupFullInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Supergroup
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Supergroup
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.SupergroupFullInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.SupergroupFullInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.SecretChatState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.SecretChatState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.SecretChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.SecretChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.MessageForwardOrigin
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.MessageForwardOrigin
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.MessageForwardInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.MessageForwardInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.MessageSendingState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.MessageSendingState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Message
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Message
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Messages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Messages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.FoundMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.FoundMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.NotificationSettingsScope
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.NotificationSettingsScope
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatNotificationSettings
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatNotificationSettings
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ScopeNotificationSettings
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ScopeNotificationSettings
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.DraftMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.DraftMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatFilter
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatFilter
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatFilterInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatFilterInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.RecommendedChatFilter
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.RecommendedChatFilter
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.RecommendedChatFilters
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.RecommendedChatFilters
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatList
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatList
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatLists
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatLists
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatSource
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatSource
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatPosition
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatPosition
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Chat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Chat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Chats
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Chats
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatNearby
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatNearby
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatsNearby
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatsNearby
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatInviteLink
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatInviteLink
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatInviteLinkInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatInviteLinkInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PublicChatType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PublicChatType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatActionBar
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatActionBar
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.KeyboardButtonType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.KeyboardButtonType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.KeyboardButton
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.KeyboardButton
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InlineKeyboardButtonType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InlineKeyboardButtonType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InlineKeyboardButton
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InlineKeyboardButton
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ReplyMarkup
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ReplyMarkup
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.LoginUrlInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.LoginUrlInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.RichText
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.RichText
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PageBlockCaption
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PageBlockCaption
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PageBlockListItem
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PageBlockListItem
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PageBlockHorizontalAlignment
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PageBlockHorizontalAlignment
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PageBlockVerticalAlignment
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PageBlockVerticalAlignment
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PageBlockTableCell
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PageBlockTableCell
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PageBlockRelatedArticle
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PageBlockRelatedArticle
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PageBlock
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PageBlock
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.WebPageInstantView
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.WebPageInstantView
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.WebPage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.WebPage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.BankCardActionOpenUrl
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.BankCardActionOpenUrl
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.BankCardInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.BankCardInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Address
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Address
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.LabeledPricePart
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.LabeledPricePart
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Invoice
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Invoice
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.OrderInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.OrderInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ShippingOption
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ShippingOption
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.SavedCredentials
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.SavedCredentials
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InputCredentials
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InputCredentials
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PaymentsProviderStripe
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PaymentsProviderStripe
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PaymentForm
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PaymentForm
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ValidatedOrderInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ValidatedOrderInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PaymentResult
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PaymentResult
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PaymentReceipt
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PaymentReceipt
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.DatedFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.DatedFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PassportElementType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PassportElementType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Date
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Date
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PersonalDetails
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PersonalDetails
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.IdentityDocument
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.IdentityDocument
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InputIdentityDocument
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InputIdentityDocument
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PersonalDocument
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PersonalDocument
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InputPersonalDocument
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InputPersonalDocument
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PassportElement
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PassportElement
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InputPassportElement
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InputPassportElement
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PassportElements
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PassportElements
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PassportElementErrorSource
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PassportElementErrorSource
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PassportElementError
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PassportElementError
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PassportSuitableElement
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PassportSuitableElement
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PassportRequiredElement
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PassportRequiredElement
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PassportAuthorizationForm
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PassportAuthorizationForm
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PassportElementsWithErrors
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PassportElementsWithErrors
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.EncryptedCredentials
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.EncryptedCredentials
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.EncryptedPassportElement
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.EncryptedPassportElement
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InputPassportElementErrorSource
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InputPassportElementErrorSource
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InputPassportElementError
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InputPassportElementError
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.MessageContent
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.MessageContent
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TextEntityType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TextEntityType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InputThumbnail
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InputThumbnail
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.MessageSchedulingState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.MessageSchedulingState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.SendMessageOptions
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.SendMessageOptions
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InputMessageContent
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InputMessageContent
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.SearchMessagesFilter
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.SearchMessagesFilter
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatAction
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatAction
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.UserStatus
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.UserStatus
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Stickers
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Stickers
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Emojis
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Emojis
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.StickerSet
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.StickerSet
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.StickerSetInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.StickerSetInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.StickerSets
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.StickerSets
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.CallDiscardReason
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.CallDiscardReason
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.CallProtocol
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.CallProtocol
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.CallConnection
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.CallConnection
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.CallId
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.CallId
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.CallState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.CallState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.CallProblem
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.CallProblem
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Call
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Call
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PhoneNumberAuthenticationSettings
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PhoneNumberAuthenticationSettings
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Animations
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Animations
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ImportedContacts
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ImportedContacts
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.HttpUrl
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.HttpUrl
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InputInlineQueryResult
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InputInlineQueryResult
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InlineQueryResult
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InlineQueryResult
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InlineQueryResults
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InlineQueryResults
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.CallbackQueryPayload
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.CallbackQueryPayload
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.CallbackQueryAnswer
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.CallbackQueryAnswer
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.CustomRequestResult
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.CustomRequestResult
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.GameHighScore
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.GameHighScore
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.GameHighScores
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.GameHighScores
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatEventAction
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatEventAction
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatEvent
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatEvent
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatEvents
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatEvents
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatEventLogFilters
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatEventLogFilters
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.LanguagePackStringValue
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.LanguagePackStringValue
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.LanguagePackString
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.LanguagePackString
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.LanguagePackStrings
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.LanguagePackStrings
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.LanguagePackInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.LanguagePackInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.LocalizationTargetInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.LocalizationTargetInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.DeviceToken
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.DeviceToken
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PushReceiverId
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PushReceiverId
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.BackgroundFill
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.BackgroundFill
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.BackgroundType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.BackgroundType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Background
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Background
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Backgrounds
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Backgrounds
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InputBackground
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InputBackground
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Hashtags
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Hashtags
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.CanTransferOwnershipResult
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.CanTransferOwnershipResult
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.CheckChatUsernameResult
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.CheckChatUsernameResult
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PushMessageContent
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PushMessageContent
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.NotificationType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.NotificationType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.NotificationGroupType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.NotificationGroupType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Notification
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Notification
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.NotificationGroup
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.NotificationGroup
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.OptionValue
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.OptionValue
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.JsonObjectMember
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.JsonObjectMember
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.JsonValue
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.JsonValue
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.UserPrivacySettingRule
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.UserPrivacySettingRule
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.UserPrivacySettingRules
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.UserPrivacySettingRules
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.UserPrivacySetting
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.UserPrivacySetting
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.AccountTtl
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.AccountTtl
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Session
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Session
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Sessions
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Sessions
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ConnectedWebsite
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ConnectedWebsite
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ConnectedWebsites
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ConnectedWebsites
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatReportReason
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatReportReason
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.PublicMessageLink
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.PublicMessageLink
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.MessageLinkInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.MessageLinkInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.FilePart
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.FilePart
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.FileType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.FileType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.StorageStatisticsByFileType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.StorageStatisticsByFileType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.StorageStatisticsByChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.StorageStatisticsByChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.StorageStatistics
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.StorageStatistics
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.StorageStatisticsFast
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.StorageStatisticsFast
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.DatabaseStatistics
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.DatabaseStatistics
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.NetworkType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.NetworkType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.NetworkStatisticsEntry
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.NetworkStatisticsEntry
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.NetworkStatistics
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.NetworkStatistics
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.AutoDownloadSettings
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.AutoDownloadSettings
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.AutoDownloadSettingsPresets
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.AutoDownloadSettingsPresets
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ConnectionState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ConnectionState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TopChatCategory
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TopChatCategory
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TMeUrlType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TMeUrlType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TMeUrl
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TMeUrl
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TMeUrls
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TMeUrls
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Count
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Count
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Text
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Text
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Seconds
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Seconds
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.DeepLinkInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.DeepLinkInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TextParseMode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TextParseMode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ProxyType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ProxyType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Proxy
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Proxy
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Proxies
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Proxies
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.InputSticker
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.InputSticker
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.DateRange
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.DateRange
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.StatisticsValue
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.StatisticsValue
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.StatisticsGraph
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.StatisticsGraph
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatStatisticsMessageInteractionCounters
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatStatisticsMessageInteractionCounters
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.ChatStatistics
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.ChatStatistics
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Update
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Update
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.Updates
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.Updates
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.LogStream
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.LogStream
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.LogVerbosityLevel
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.LogVerbosityLevel
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.LogTags
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.LogTags
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TestInt
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TestInt
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TestString
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TestString
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TestBytes
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TestBytes
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TestVectorInt
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TestVectorInt
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TestVectorIntObject
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TestVectorIntObject
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TestVectorString
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TestVectorString
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.Types.TestVectorStringObject
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.Types.TestVectorStringObject
instance GHC.Generics.Generic TDLib.Generated.Types.TestVectorStringObject
instance GHC.Classes.Eq TDLib.Generated.Types.TestVectorStringObject
instance GHC.Show.Show TDLib.Generated.Types.TestVectorStringObject
instance GHC.Generics.Generic TDLib.Generated.Types.TestVectorString
instance GHC.Classes.Eq TDLib.Generated.Types.TestVectorString
instance GHC.Show.Show TDLib.Generated.Types.TestVectorString
instance GHC.Generics.Generic TDLib.Generated.Types.TestVectorIntObject
instance GHC.Classes.Eq TDLib.Generated.Types.TestVectorIntObject
instance GHC.Show.Show TDLib.Generated.Types.TestVectorIntObject
instance GHC.Generics.Generic TDLib.Generated.Types.TestVectorInt
instance GHC.Classes.Eq TDLib.Generated.Types.TestVectorInt
instance GHC.Show.Show TDLib.Generated.Types.TestVectorInt
instance GHC.Generics.Generic TDLib.Generated.Types.TestBytes
instance GHC.Classes.Eq TDLib.Generated.Types.TestBytes
instance GHC.Show.Show TDLib.Generated.Types.TestBytes
instance GHC.Generics.Generic TDLib.Generated.Types.TestString
instance GHC.Classes.Eq TDLib.Generated.Types.TestString
instance GHC.Show.Show TDLib.Generated.Types.TestString
instance GHC.Generics.Generic TDLib.Generated.Types.TestInt
instance GHC.Classes.Eq TDLib.Generated.Types.TestInt
instance GHC.Show.Show TDLib.Generated.Types.TestInt
instance GHC.Generics.Generic TDLib.Generated.Types.LogTags
instance GHC.Classes.Eq TDLib.Generated.Types.LogTags
instance GHC.Show.Show TDLib.Generated.Types.LogTags
instance GHC.Generics.Generic TDLib.Generated.Types.LogVerbosityLevel
instance GHC.Classes.Eq TDLib.Generated.Types.LogVerbosityLevel
instance GHC.Show.Show TDLib.Generated.Types.LogVerbosityLevel
instance GHC.Generics.Generic TDLib.Generated.Types.LogStream
instance GHC.Classes.Eq TDLib.Generated.Types.LogStream
instance GHC.Show.Show TDLib.Generated.Types.LogStream
instance GHC.Generics.Generic TDLib.Generated.Types.Updates
instance GHC.Classes.Eq TDLib.Generated.Types.Updates
instance GHC.Show.Show TDLib.Generated.Types.Updates
instance GHC.Generics.Generic TDLib.Generated.Types.Update
instance GHC.Classes.Eq TDLib.Generated.Types.Update
instance GHC.Show.Show TDLib.Generated.Types.Update
instance GHC.Generics.Generic TDLib.Generated.Types.ChatStatistics
instance GHC.Classes.Eq TDLib.Generated.Types.ChatStatistics
instance GHC.Show.Show TDLib.Generated.Types.ChatStatistics
instance GHC.Generics.Generic TDLib.Generated.Types.ChatStatisticsMessageInteractionCounters
instance GHC.Classes.Eq TDLib.Generated.Types.ChatStatisticsMessageInteractionCounters
instance GHC.Show.Show TDLib.Generated.Types.ChatStatisticsMessageInteractionCounters
instance GHC.Generics.Generic TDLib.Generated.Types.StatisticsGraph
instance GHC.Classes.Eq TDLib.Generated.Types.StatisticsGraph
instance GHC.Show.Show TDLib.Generated.Types.StatisticsGraph
instance GHC.Generics.Generic TDLib.Generated.Types.StatisticsValue
instance GHC.Classes.Eq TDLib.Generated.Types.StatisticsValue
instance GHC.Show.Show TDLib.Generated.Types.StatisticsValue
instance GHC.Generics.Generic TDLib.Generated.Types.DateRange
instance GHC.Classes.Eq TDLib.Generated.Types.DateRange
instance GHC.Show.Show TDLib.Generated.Types.DateRange
instance GHC.Generics.Generic TDLib.Generated.Types.InputSticker
instance GHC.Classes.Eq TDLib.Generated.Types.InputSticker
instance GHC.Show.Show TDLib.Generated.Types.InputSticker
instance GHC.Generics.Generic TDLib.Generated.Types.Proxies
instance GHC.Classes.Eq TDLib.Generated.Types.Proxies
instance GHC.Show.Show TDLib.Generated.Types.Proxies
instance GHC.Generics.Generic TDLib.Generated.Types.Proxy
instance GHC.Classes.Eq TDLib.Generated.Types.Proxy
instance GHC.Show.Show TDLib.Generated.Types.Proxy
instance GHC.Generics.Generic TDLib.Generated.Types.ProxyType
instance GHC.Classes.Eq TDLib.Generated.Types.ProxyType
instance GHC.Show.Show TDLib.Generated.Types.ProxyType
instance GHC.Generics.Generic TDLib.Generated.Types.TextParseMode
instance GHC.Classes.Eq TDLib.Generated.Types.TextParseMode
instance GHC.Show.Show TDLib.Generated.Types.TextParseMode
instance GHC.Generics.Generic TDLib.Generated.Types.DeepLinkInfo
instance GHC.Classes.Eq TDLib.Generated.Types.DeepLinkInfo
instance GHC.Show.Show TDLib.Generated.Types.DeepLinkInfo
instance GHC.Generics.Generic TDLib.Generated.Types.Seconds
instance GHC.Classes.Eq TDLib.Generated.Types.Seconds
instance GHC.Show.Show TDLib.Generated.Types.Seconds
instance GHC.Generics.Generic TDLib.Generated.Types.Text
instance GHC.Classes.Eq TDLib.Generated.Types.Text
instance GHC.Show.Show TDLib.Generated.Types.Text
instance GHC.Generics.Generic TDLib.Generated.Types.Count
instance GHC.Classes.Eq TDLib.Generated.Types.Count
instance GHC.Show.Show TDLib.Generated.Types.Count
instance GHC.Generics.Generic TDLib.Generated.Types.TMeUrls
instance GHC.Classes.Eq TDLib.Generated.Types.TMeUrls
instance GHC.Show.Show TDLib.Generated.Types.TMeUrls
instance GHC.Generics.Generic TDLib.Generated.Types.TMeUrl
instance GHC.Classes.Eq TDLib.Generated.Types.TMeUrl
instance GHC.Show.Show TDLib.Generated.Types.TMeUrl
instance GHC.Generics.Generic TDLib.Generated.Types.TMeUrlType
instance GHC.Classes.Eq TDLib.Generated.Types.TMeUrlType
instance GHC.Show.Show TDLib.Generated.Types.TMeUrlType
instance GHC.Generics.Generic TDLib.Generated.Types.TopChatCategory
instance GHC.Classes.Eq TDLib.Generated.Types.TopChatCategory
instance GHC.Show.Show TDLib.Generated.Types.TopChatCategory
instance GHC.Generics.Generic TDLib.Generated.Types.ConnectionState
instance GHC.Classes.Eq TDLib.Generated.Types.ConnectionState
instance GHC.Show.Show TDLib.Generated.Types.ConnectionState
instance GHC.Generics.Generic TDLib.Generated.Types.AutoDownloadSettingsPresets
instance GHC.Classes.Eq TDLib.Generated.Types.AutoDownloadSettingsPresets
instance GHC.Show.Show TDLib.Generated.Types.AutoDownloadSettingsPresets
instance GHC.Generics.Generic TDLib.Generated.Types.AutoDownloadSettings
instance GHC.Classes.Eq TDLib.Generated.Types.AutoDownloadSettings
instance GHC.Show.Show TDLib.Generated.Types.AutoDownloadSettings
instance GHC.Generics.Generic TDLib.Generated.Types.NetworkStatistics
instance GHC.Classes.Eq TDLib.Generated.Types.NetworkStatistics
instance GHC.Show.Show TDLib.Generated.Types.NetworkStatistics
instance GHC.Generics.Generic TDLib.Generated.Types.NetworkStatisticsEntry
instance GHC.Classes.Eq TDLib.Generated.Types.NetworkStatisticsEntry
instance GHC.Show.Show TDLib.Generated.Types.NetworkStatisticsEntry
instance GHC.Generics.Generic TDLib.Generated.Types.NetworkType
instance GHC.Classes.Eq TDLib.Generated.Types.NetworkType
instance GHC.Show.Show TDLib.Generated.Types.NetworkType
instance GHC.Generics.Generic TDLib.Generated.Types.DatabaseStatistics
instance GHC.Classes.Eq TDLib.Generated.Types.DatabaseStatistics
instance GHC.Show.Show TDLib.Generated.Types.DatabaseStatistics
instance GHC.Generics.Generic TDLib.Generated.Types.StorageStatisticsFast
instance GHC.Classes.Eq TDLib.Generated.Types.StorageStatisticsFast
instance GHC.Show.Show TDLib.Generated.Types.StorageStatisticsFast
instance GHC.Generics.Generic TDLib.Generated.Types.StorageStatistics
instance GHC.Classes.Eq TDLib.Generated.Types.StorageStatistics
instance GHC.Show.Show TDLib.Generated.Types.StorageStatistics
instance GHC.Generics.Generic TDLib.Generated.Types.StorageStatisticsByChat
instance GHC.Classes.Eq TDLib.Generated.Types.StorageStatisticsByChat
instance GHC.Show.Show TDLib.Generated.Types.StorageStatisticsByChat
instance GHC.Generics.Generic TDLib.Generated.Types.StorageStatisticsByFileType
instance GHC.Classes.Eq TDLib.Generated.Types.StorageStatisticsByFileType
instance GHC.Show.Show TDLib.Generated.Types.StorageStatisticsByFileType
instance GHC.Generics.Generic TDLib.Generated.Types.FileType
instance GHC.Classes.Eq TDLib.Generated.Types.FileType
instance GHC.Show.Show TDLib.Generated.Types.FileType
instance GHC.Generics.Generic TDLib.Generated.Types.FilePart
instance GHC.Classes.Eq TDLib.Generated.Types.FilePart
instance GHC.Show.Show TDLib.Generated.Types.FilePart
instance GHC.Generics.Generic TDLib.Generated.Types.MessageLinkInfo
instance GHC.Classes.Eq TDLib.Generated.Types.MessageLinkInfo
instance GHC.Show.Show TDLib.Generated.Types.MessageLinkInfo
instance GHC.Generics.Generic TDLib.Generated.Types.PublicMessageLink
instance GHC.Classes.Eq TDLib.Generated.Types.PublicMessageLink
instance GHC.Show.Show TDLib.Generated.Types.PublicMessageLink
instance GHC.Generics.Generic TDLib.Generated.Types.ChatReportReason
instance GHC.Classes.Eq TDLib.Generated.Types.ChatReportReason
instance GHC.Show.Show TDLib.Generated.Types.ChatReportReason
instance GHC.Generics.Generic TDLib.Generated.Types.ConnectedWebsites
instance GHC.Classes.Eq TDLib.Generated.Types.ConnectedWebsites
instance GHC.Show.Show TDLib.Generated.Types.ConnectedWebsites
instance GHC.Generics.Generic TDLib.Generated.Types.ConnectedWebsite
instance GHC.Classes.Eq TDLib.Generated.Types.ConnectedWebsite
instance GHC.Show.Show TDLib.Generated.Types.ConnectedWebsite
instance GHC.Generics.Generic TDLib.Generated.Types.Sessions
instance GHC.Classes.Eq TDLib.Generated.Types.Sessions
instance GHC.Show.Show TDLib.Generated.Types.Sessions
instance GHC.Generics.Generic TDLib.Generated.Types.Session
instance GHC.Classes.Eq TDLib.Generated.Types.Session
instance GHC.Show.Show TDLib.Generated.Types.Session
instance GHC.Generics.Generic TDLib.Generated.Types.AccountTtl
instance GHC.Classes.Eq TDLib.Generated.Types.AccountTtl
instance GHC.Show.Show TDLib.Generated.Types.AccountTtl
instance GHC.Generics.Generic TDLib.Generated.Types.UserPrivacySetting
instance GHC.Classes.Eq TDLib.Generated.Types.UserPrivacySetting
instance GHC.Show.Show TDLib.Generated.Types.UserPrivacySetting
instance GHC.Generics.Generic TDLib.Generated.Types.UserPrivacySettingRules
instance GHC.Classes.Eq TDLib.Generated.Types.UserPrivacySettingRules
instance GHC.Show.Show TDLib.Generated.Types.UserPrivacySettingRules
instance GHC.Generics.Generic TDLib.Generated.Types.UserPrivacySettingRule
instance GHC.Classes.Eq TDLib.Generated.Types.UserPrivacySettingRule
instance GHC.Show.Show TDLib.Generated.Types.UserPrivacySettingRule
instance GHC.Generics.Generic TDLib.Generated.Types.JsonObjectMember
instance GHC.Classes.Eq TDLib.Generated.Types.JsonObjectMember
instance GHC.Show.Show TDLib.Generated.Types.JsonObjectMember
instance GHC.Generics.Generic TDLib.Generated.Types.JsonValue
instance GHC.Classes.Eq TDLib.Generated.Types.JsonValue
instance GHC.Show.Show TDLib.Generated.Types.JsonValue
instance GHC.Generics.Generic TDLib.Generated.Types.OptionValue
instance GHC.Classes.Eq TDLib.Generated.Types.OptionValue
instance GHC.Show.Show TDLib.Generated.Types.OptionValue
instance GHC.Generics.Generic TDLib.Generated.Types.NotificationGroup
instance GHC.Classes.Eq TDLib.Generated.Types.NotificationGroup
instance GHC.Show.Show TDLib.Generated.Types.NotificationGroup
instance GHC.Generics.Generic TDLib.Generated.Types.Notification
instance GHC.Classes.Eq TDLib.Generated.Types.Notification
instance GHC.Show.Show TDLib.Generated.Types.Notification
instance GHC.Generics.Generic TDLib.Generated.Types.NotificationGroupType
instance GHC.Classes.Eq TDLib.Generated.Types.NotificationGroupType
instance GHC.Show.Show TDLib.Generated.Types.NotificationGroupType
instance GHC.Generics.Generic TDLib.Generated.Types.NotificationType
instance GHC.Classes.Eq TDLib.Generated.Types.NotificationType
instance GHC.Show.Show TDLib.Generated.Types.NotificationType
instance GHC.Generics.Generic TDLib.Generated.Types.PushMessageContent
instance GHC.Classes.Eq TDLib.Generated.Types.PushMessageContent
instance GHC.Show.Show TDLib.Generated.Types.PushMessageContent
instance GHC.Generics.Generic TDLib.Generated.Types.CheckChatUsernameResult
instance GHC.Classes.Eq TDLib.Generated.Types.CheckChatUsernameResult
instance GHC.Show.Show TDLib.Generated.Types.CheckChatUsernameResult
instance GHC.Generics.Generic TDLib.Generated.Types.CanTransferOwnershipResult
instance GHC.Classes.Eq TDLib.Generated.Types.CanTransferOwnershipResult
instance GHC.Show.Show TDLib.Generated.Types.CanTransferOwnershipResult
instance GHC.Generics.Generic TDLib.Generated.Types.Hashtags
instance GHC.Classes.Eq TDLib.Generated.Types.Hashtags
instance GHC.Show.Show TDLib.Generated.Types.Hashtags
instance GHC.Generics.Generic TDLib.Generated.Types.InputBackground
instance GHC.Classes.Eq TDLib.Generated.Types.InputBackground
instance GHC.Show.Show TDLib.Generated.Types.InputBackground
instance GHC.Generics.Generic TDLib.Generated.Types.Backgrounds
instance GHC.Classes.Eq TDLib.Generated.Types.Backgrounds
instance GHC.Show.Show TDLib.Generated.Types.Backgrounds
instance GHC.Generics.Generic TDLib.Generated.Types.Background
instance GHC.Classes.Eq TDLib.Generated.Types.Background
instance GHC.Show.Show TDLib.Generated.Types.Background
instance GHC.Generics.Generic TDLib.Generated.Types.BackgroundType
instance GHC.Classes.Eq TDLib.Generated.Types.BackgroundType
instance GHC.Show.Show TDLib.Generated.Types.BackgroundType
instance GHC.Generics.Generic TDLib.Generated.Types.BackgroundFill
instance GHC.Classes.Eq TDLib.Generated.Types.BackgroundFill
instance GHC.Show.Show TDLib.Generated.Types.BackgroundFill
instance GHC.Generics.Generic TDLib.Generated.Types.PushReceiverId
instance GHC.Classes.Eq TDLib.Generated.Types.PushReceiverId
instance GHC.Show.Show TDLib.Generated.Types.PushReceiverId
instance GHC.Generics.Generic TDLib.Generated.Types.DeviceToken
instance GHC.Classes.Eq TDLib.Generated.Types.DeviceToken
instance GHC.Show.Show TDLib.Generated.Types.DeviceToken
instance GHC.Generics.Generic TDLib.Generated.Types.LocalizationTargetInfo
instance GHC.Classes.Eq TDLib.Generated.Types.LocalizationTargetInfo
instance GHC.Show.Show TDLib.Generated.Types.LocalizationTargetInfo
instance GHC.Generics.Generic TDLib.Generated.Types.LanguagePackInfo
instance GHC.Classes.Eq TDLib.Generated.Types.LanguagePackInfo
instance GHC.Show.Show TDLib.Generated.Types.LanguagePackInfo
instance GHC.Generics.Generic TDLib.Generated.Types.LanguagePackStrings
instance GHC.Classes.Eq TDLib.Generated.Types.LanguagePackStrings
instance GHC.Show.Show TDLib.Generated.Types.LanguagePackStrings
instance GHC.Generics.Generic TDLib.Generated.Types.LanguagePackString
instance GHC.Classes.Eq TDLib.Generated.Types.LanguagePackString
instance GHC.Show.Show TDLib.Generated.Types.LanguagePackString
instance GHC.Generics.Generic TDLib.Generated.Types.LanguagePackStringValue
instance GHC.Classes.Eq TDLib.Generated.Types.LanguagePackStringValue
instance GHC.Show.Show TDLib.Generated.Types.LanguagePackStringValue
instance GHC.Generics.Generic TDLib.Generated.Types.ChatEventLogFilters
instance GHC.Classes.Eq TDLib.Generated.Types.ChatEventLogFilters
instance GHC.Show.Show TDLib.Generated.Types.ChatEventLogFilters
instance GHC.Generics.Generic TDLib.Generated.Types.ChatEvents
instance GHC.Classes.Eq TDLib.Generated.Types.ChatEvents
instance GHC.Show.Show TDLib.Generated.Types.ChatEvents
instance GHC.Generics.Generic TDLib.Generated.Types.ChatEvent
instance GHC.Classes.Eq TDLib.Generated.Types.ChatEvent
instance GHC.Show.Show TDLib.Generated.Types.ChatEvent
instance GHC.Generics.Generic TDLib.Generated.Types.ChatEventAction
instance GHC.Classes.Eq TDLib.Generated.Types.ChatEventAction
instance GHC.Show.Show TDLib.Generated.Types.ChatEventAction
instance GHC.Generics.Generic TDLib.Generated.Types.GameHighScores
instance GHC.Classes.Eq TDLib.Generated.Types.GameHighScores
instance GHC.Show.Show TDLib.Generated.Types.GameHighScores
instance GHC.Generics.Generic TDLib.Generated.Types.GameHighScore
instance GHC.Classes.Eq TDLib.Generated.Types.GameHighScore
instance GHC.Show.Show TDLib.Generated.Types.GameHighScore
instance GHC.Generics.Generic TDLib.Generated.Types.CustomRequestResult
instance GHC.Classes.Eq TDLib.Generated.Types.CustomRequestResult
instance GHC.Show.Show TDLib.Generated.Types.CustomRequestResult
instance GHC.Generics.Generic TDLib.Generated.Types.CallbackQueryAnswer
instance GHC.Classes.Eq TDLib.Generated.Types.CallbackQueryAnswer
instance GHC.Show.Show TDLib.Generated.Types.CallbackQueryAnswer
instance GHC.Generics.Generic TDLib.Generated.Types.CallbackQueryPayload
instance GHC.Classes.Eq TDLib.Generated.Types.CallbackQueryPayload
instance GHC.Show.Show TDLib.Generated.Types.CallbackQueryPayload
instance GHC.Generics.Generic TDLib.Generated.Types.InlineQueryResults
instance GHC.Classes.Eq TDLib.Generated.Types.InlineQueryResults
instance GHC.Show.Show TDLib.Generated.Types.InlineQueryResults
instance GHC.Generics.Generic TDLib.Generated.Types.InlineQueryResult
instance GHC.Classes.Eq TDLib.Generated.Types.InlineQueryResult
instance GHC.Show.Show TDLib.Generated.Types.InlineQueryResult
instance GHC.Generics.Generic TDLib.Generated.Types.InputInlineQueryResult
instance GHC.Classes.Eq TDLib.Generated.Types.InputInlineQueryResult
instance GHC.Show.Show TDLib.Generated.Types.InputInlineQueryResult
instance GHC.Generics.Generic TDLib.Generated.Types.HttpUrl
instance GHC.Classes.Eq TDLib.Generated.Types.HttpUrl
instance GHC.Show.Show TDLib.Generated.Types.HttpUrl
instance GHC.Generics.Generic TDLib.Generated.Types.ImportedContacts
instance GHC.Classes.Eq TDLib.Generated.Types.ImportedContacts
instance GHC.Show.Show TDLib.Generated.Types.ImportedContacts
instance GHC.Generics.Generic TDLib.Generated.Types.Animations
instance GHC.Classes.Eq TDLib.Generated.Types.Animations
instance GHC.Show.Show TDLib.Generated.Types.Animations
instance GHC.Generics.Generic TDLib.Generated.Types.PhoneNumberAuthenticationSettings
instance GHC.Classes.Eq TDLib.Generated.Types.PhoneNumberAuthenticationSettings
instance GHC.Show.Show TDLib.Generated.Types.PhoneNumberAuthenticationSettings
instance GHC.Generics.Generic TDLib.Generated.Types.Call
instance GHC.Classes.Eq TDLib.Generated.Types.Call
instance GHC.Show.Show TDLib.Generated.Types.Call
instance GHC.Generics.Generic TDLib.Generated.Types.CallProblem
instance GHC.Classes.Eq TDLib.Generated.Types.CallProblem
instance GHC.Show.Show TDLib.Generated.Types.CallProblem
instance GHC.Generics.Generic TDLib.Generated.Types.CallState
instance GHC.Classes.Eq TDLib.Generated.Types.CallState
instance GHC.Show.Show TDLib.Generated.Types.CallState
instance GHC.Generics.Generic TDLib.Generated.Types.CallId
instance GHC.Classes.Eq TDLib.Generated.Types.CallId
instance GHC.Show.Show TDLib.Generated.Types.CallId
instance GHC.Generics.Generic TDLib.Generated.Types.CallConnection
instance GHC.Classes.Eq TDLib.Generated.Types.CallConnection
instance GHC.Show.Show TDLib.Generated.Types.CallConnection
instance GHC.Generics.Generic TDLib.Generated.Types.CallProtocol
instance GHC.Classes.Eq TDLib.Generated.Types.CallProtocol
instance GHC.Show.Show TDLib.Generated.Types.CallProtocol
instance GHC.Generics.Generic TDLib.Generated.Types.Messages
instance GHC.Classes.Eq TDLib.Generated.Types.Messages
instance GHC.Show.Show TDLib.Generated.Types.Messages
instance GHC.Generics.Generic TDLib.Generated.Types.FoundMessages
instance GHC.Classes.Eq TDLib.Generated.Types.FoundMessages
instance GHC.Show.Show TDLib.Generated.Types.FoundMessages
instance GHC.Generics.Generic TDLib.Generated.Types.Chat
instance GHC.Classes.Eq TDLib.Generated.Types.Chat
instance GHC.Show.Show TDLib.Generated.Types.Chat
instance GHC.Generics.Generic TDLib.Generated.Types.Message
instance GHC.Classes.Eq TDLib.Generated.Types.Message
instance GHC.Show.Show TDLib.Generated.Types.Message
instance GHC.Generics.Generic TDLib.Generated.Types.MessageContent
instance GHC.Classes.Eq TDLib.Generated.Types.MessageContent
instance GHC.Show.Show TDLib.Generated.Types.MessageContent
instance GHC.Generics.Generic TDLib.Generated.Types.CallDiscardReason
instance GHC.Classes.Eq TDLib.Generated.Types.CallDiscardReason
instance GHC.Show.Show TDLib.Generated.Types.CallDiscardReason
instance GHC.Generics.Generic TDLib.Generated.Types.StickerSets
instance GHC.Classes.Eq TDLib.Generated.Types.StickerSets
instance GHC.Show.Show TDLib.Generated.Types.StickerSets
instance GHC.Generics.Generic TDLib.Generated.Types.StickerSetInfo
instance GHC.Classes.Eq TDLib.Generated.Types.StickerSetInfo
instance GHC.Show.Show TDLib.Generated.Types.StickerSetInfo
instance GHC.Generics.Generic TDLib.Generated.Types.StickerSet
instance GHC.Classes.Eq TDLib.Generated.Types.StickerSet
instance GHC.Show.Show TDLib.Generated.Types.StickerSet
instance GHC.Generics.Generic TDLib.Generated.Types.Emojis
instance GHC.Classes.Eq TDLib.Generated.Types.Emojis
instance GHC.Show.Show TDLib.Generated.Types.Emojis
instance GHC.Generics.Generic TDLib.Generated.Types.Stickers
instance GHC.Classes.Eq TDLib.Generated.Types.Stickers
instance GHC.Show.Show TDLib.Generated.Types.Stickers
instance GHC.Generics.Generic TDLib.Generated.Types.User
instance GHC.Classes.Eq TDLib.Generated.Types.User
instance GHC.Show.Show TDLib.Generated.Types.User
instance GHC.Generics.Generic TDLib.Generated.Types.UserStatus
instance GHC.Classes.Eq TDLib.Generated.Types.UserStatus
instance GHC.Show.Show TDLib.Generated.Types.UserStatus
instance GHC.Generics.Generic TDLib.Generated.Types.ChatAction
instance GHC.Classes.Eq TDLib.Generated.Types.ChatAction
instance GHC.Show.Show TDLib.Generated.Types.ChatAction
instance GHC.Generics.Generic TDLib.Generated.Types.SearchMessagesFilter
instance GHC.Classes.Eq TDLib.Generated.Types.SearchMessagesFilter
instance GHC.Show.Show TDLib.Generated.Types.SearchMessagesFilter
instance GHC.Generics.Generic TDLib.Generated.Types.DraftMessage
instance GHC.Classes.Eq TDLib.Generated.Types.DraftMessage
instance GHC.Show.Show TDLib.Generated.Types.DraftMessage
instance GHC.Generics.Generic TDLib.Generated.Types.InputMessageContent
instance GHC.Classes.Eq TDLib.Generated.Types.InputMessageContent
instance GHC.Show.Show TDLib.Generated.Types.InputMessageContent
instance GHC.Generics.Generic TDLib.Generated.Types.SendMessageOptions
instance GHC.Classes.Eq TDLib.Generated.Types.SendMessageOptions
instance GHC.Show.Show TDLib.Generated.Types.SendMessageOptions
instance GHC.Generics.Generic TDLib.Generated.Types.MessageSchedulingState
instance GHC.Classes.Eq TDLib.Generated.Types.MessageSchedulingState
instance GHC.Show.Show TDLib.Generated.Types.MessageSchedulingState
instance GHC.Generics.Generic TDLib.Generated.Types.InputThumbnail
instance GHC.Classes.Eq TDLib.Generated.Types.InputThumbnail
instance GHC.Show.Show TDLib.Generated.Types.InputThumbnail
instance GHC.Generics.Generic TDLib.Generated.Types.TextEntities
instance GHC.Classes.Eq TDLib.Generated.Types.TextEntities
instance GHC.Show.Show TDLib.Generated.Types.TextEntities
instance GHC.Generics.Generic TDLib.Generated.Types.AuthorizationState
instance GHC.Classes.Eq TDLib.Generated.Types.AuthorizationState
instance GHC.Show.Show TDLib.Generated.Types.AuthorizationState
instance GHC.Generics.Generic TDLib.Generated.Types.TermsOfService
instance GHC.Classes.Eq TDLib.Generated.Types.TermsOfService
instance GHC.Show.Show TDLib.Generated.Types.TermsOfService
instance GHC.Generics.Generic TDLib.Generated.Types.Poll
instance GHC.Classes.Eq TDLib.Generated.Types.Poll
instance GHC.Show.Show TDLib.Generated.Types.Poll
instance GHC.Generics.Generic TDLib.Generated.Types.PollType
instance GHC.Classes.Eq TDLib.Generated.Types.PollType
instance GHC.Show.Show TDLib.Generated.Types.PollType
instance GHC.Generics.Generic TDLib.Generated.Types.Game
instance GHC.Classes.Eq TDLib.Generated.Types.Game
instance GHC.Show.Show TDLib.Generated.Types.Game
instance GHC.Generics.Generic TDLib.Generated.Types.WebPage
instance GHC.Classes.Eq TDLib.Generated.Types.WebPage
instance GHC.Show.Show TDLib.Generated.Types.WebPage
instance GHC.Generics.Generic TDLib.Generated.Types.FormattedText
instance GHC.Classes.Eq TDLib.Generated.Types.FormattedText
instance GHC.Show.Show TDLib.Generated.Types.FormattedText
instance GHC.Generics.Generic TDLib.Generated.Types.TextEntity
instance GHC.Classes.Eq TDLib.Generated.Types.TextEntity
instance GHC.Show.Show TDLib.Generated.Types.TextEntity
instance GHC.Generics.Generic TDLib.Generated.Types.TextEntityType
instance GHC.Classes.Eq TDLib.Generated.Types.TextEntityType
instance GHC.Show.Show TDLib.Generated.Types.TextEntityType
instance GHC.Generics.Generic TDLib.Generated.Types.InputPassportElementError
instance GHC.Classes.Eq TDLib.Generated.Types.InputPassportElementError
instance GHC.Show.Show TDLib.Generated.Types.InputPassportElementError
instance GHC.Generics.Generic TDLib.Generated.Types.InputPassportElementErrorSource
instance GHC.Classes.Eq TDLib.Generated.Types.InputPassportElementErrorSource
instance GHC.Show.Show TDLib.Generated.Types.InputPassportElementErrorSource
instance GHC.Generics.Generic TDLib.Generated.Types.EncryptedPassportElement
instance GHC.Classes.Eq TDLib.Generated.Types.EncryptedPassportElement
instance GHC.Show.Show TDLib.Generated.Types.EncryptedPassportElement
instance GHC.Generics.Generic TDLib.Generated.Types.EncryptedCredentials
instance GHC.Classes.Eq TDLib.Generated.Types.EncryptedCredentials
instance GHC.Show.Show TDLib.Generated.Types.EncryptedCredentials
instance GHC.Generics.Generic TDLib.Generated.Types.PassportElementsWithErrors
instance GHC.Classes.Eq TDLib.Generated.Types.PassportElementsWithErrors
instance GHC.Show.Show TDLib.Generated.Types.PassportElementsWithErrors
instance GHC.Generics.Generic TDLib.Generated.Types.PassportAuthorizationForm
instance GHC.Classes.Eq TDLib.Generated.Types.PassportAuthorizationForm
instance GHC.Show.Show TDLib.Generated.Types.PassportAuthorizationForm
instance GHC.Generics.Generic TDLib.Generated.Types.PassportRequiredElement
instance GHC.Classes.Eq TDLib.Generated.Types.PassportRequiredElement
instance GHC.Show.Show TDLib.Generated.Types.PassportRequiredElement
instance GHC.Generics.Generic TDLib.Generated.Types.PassportSuitableElement
instance GHC.Classes.Eq TDLib.Generated.Types.PassportSuitableElement
instance GHC.Show.Show TDLib.Generated.Types.PassportSuitableElement
instance GHC.Generics.Generic TDLib.Generated.Types.PassportElementError
instance GHC.Classes.Eq TDLib.Generated.Types.PassportElementError
instance GHC.Show.Show TDLib.Generated.Types.PassportElementError
instance GHC.Generics.Generic TDLib.Generated.Types.PassportElementErrorSource
instance GHC.Classes.Eq TDLib.Generated.Types.PassportElementErrorSource
instance GHC.Show.Show TDLib.Generated.Types.PassportElementErrorSource
instance GHC.Generics.Generic TDLib.Generated.Types.PassportElements
instance GHC.Classes.Eq TDLib.Generated.Types.PassportElements
instance GHC.Show.Show TDLib.Generated.Types.PassportElements
instance GHC.Generics.Generic TDLib.Generated.Types.InputPassportElement
instance GHC.Classes.Eq TDLib.Generated.Types.InputPassportElement
instance GHC.Show.Show TDLib.Generated.Types.InputPassportElement
instance GHC.Generics.Generic TDLib.Generated.Types.PassportElement
instance GHC.Classes.Eq TDLib.Generated.Types.PassportElement
instance GHC.Show.Show TDLib.Generated.Types.PassportElement
instance GHC.Generics.Generic TDLib.Generated.Types.InputPersonalDocument
instance GHC.Classes.Eq TDLib.Generated.Types.InputPersonalDocument
instance GHC.Show.Show TDLib.Generated.Types.InputPersonalDocument
instance GHC.Generics.Generic TDLib.Generated.Types.PersonalDocument
instance GHC.Classes.Eq TDLib.Generated.Types.PersonalDocument
instance GHC.Show.Show TDLib.Generated.Types.PersonalDocument
instance GHC.Generics.Generic TDLib.Generated.Types.InputIdentityDocument
instance GHC.Classes.Eq TDLib.Generated.Types.InputIdentityDocument
instance GHC.Show.Show TDLib.Generated.Types.InputIdentityDocument
instance GHC.Generics.Generic TDLib.Generated.Types.IdentityDocument
instance GHC.Classes.Eq TDLib.Generated.Types.IdentityDocument
instance GHC.Show.Show TDLib.Generated.Types.IdentityDocument
instance GHC.Generics.Generic TDLib.Generated.Types.PersonalDetails
instance GHC.Classes.Eq TDLib.Generated.Types.PersonalDetails
instance GHC.Show.Show TDLib.Generated.Types.PersonalDetails
instance GHC.Generics.Generic TDLib.Generated.Types.Date
instance GHC.Classes.Eq TDLib.Generated.Types.Date
instance GHC.Show.Show TDLib.Generated.Types.Date
instance GHC.Generics.Generic TDLib.Generated.Types.PassportElementType
instance GHC.Classes.Eq TDLib.Generated.Types.PassportElementType
instance GHC.Show.Show TDLib.Generated.Types.PassportElementType
instance GHC.Generics.Generic TDLib.Generated.Types.DatedFile
instance GHC.Classes.Eq TDLib.Generated.Types.DatedFile
instance GHC.Show.Show TDLib.Generated.Types.DatedFile
instance GHC.Generics.Generic TDLib.Generated.Types.PaymentReceipt
instance GHC.Classes.Eq TDLib.Generated.Types.PaymentReceipt
instance GHC.Show.Show TDLib.Generated.Types.PaymentReceipt
instance GHC.Generics.Generic TDLib.Generated.Types.PaymentResult
instance GHC.Classes.Eq TDLib.Generated.Types.PaymentResult
instance GHC.Show.Show TDLib.Generated.Types.PaymentResult
instance GHC.Generics.Generic TDLib.Generated.Types.ValidatedOrderInfo
instance GHC.Classes.Eq TDLib.Generated.Types.ValidatedOrderInfo
instance GHC.Show.Show TDLib.Generated.Types.ValidatedOrderInfo
instance GHC.Generics.Generic TDLib.Generated.Types.PaymentForm
instance GHC.Classes.Eq TDLib.Generated.Types.PaymentForm
instance GHC.Show.Show TDLib.Generated.Types.PaymentForm
instance GHC.Generics.Generic TDLib.Generated.Types.PaymentsProviderStripe
instance GHC.Classes.Eq TDLib.Generated.Types.PaymentsProviderStripe
instance GHC.Show.Show TDLib.Generated.Types.PaymentsProviderStripe
instance GHC.Generics.Generic TDLib.Generated.Types.InputCredentials
instance GHC.Classes.Eq TDLib.Generated.Types.InputCredentials
instance GHC.Show.Show TDLib.Generated.Types.InputCredentials
instance GHC.Generics.Generic TDLib.Generated.Types.SavedCredentials
instance GHC.Classes.Eq TDLib.Generated.Types.SavedCredentials
instance GHC.Show.Show TDLib.Generated.Types.SavedCredentials
instance GHC.Generics.Generic TDLib.Generated.Types.ShippingOption
instance GHC.Classes.Eq TDLib.Generated.Types.ShippingOption
instance GHC.Show.Show TDLib.Generated.Types.ShippingOption
instance GHC.Generics.Generic TDLib.Generated.Types.OrderInfo
instance GHC.Classes.Eq TDLib.Generated.Types.OrderInfo
instance GHC.Show.Show TDLib.Generated.Types.OrderInfo
instance GHC.Generics.Generic TDLib.Generated.Types.Invoice
instance GHC.Classes.Eq TDLib.Generated.Types.Invoice
instance GHC.Show.Show TDLib.Generated.Types.Invoice
instance GHC.Generics.Generic TDLib.Generated.Types.LabeledPricePart
instance GHC.Classes.Eq TDLib.Generated.Types.LabeledPricePart
instance GHC.Show.Show TDLib.Generated.Types.LabeledPricePart
instance GHC.Generics.Generic TDLib.Generated.Types.Address
instance GHC.Classes.Eq TDLib.Generated.Types.Address
instance GHC.Show.Show TDLib.Generated.Types.Address
instance GHC.Generics.Generic TDLib.Generated.Types.BankCardInfo
instance GHC.Classes.Eq TDLib.Generated.Types.BankCardInfo
instance GHC.Show.Show TDLib.Generated.Types.BankCardInfo
instance GHC.Generics.Generic TDLib.Generated.Types.BankCardActionOpenUrl
instance GHC.Classes.Eq TDLib.Generated.Types.BankCardActionOpenUrl
instance GHC.Show.Show TDLib.Generated.Types.BankCardActionOpenUrl
instance GHC.Generics.Generic TDLib.Generated.Types.WebPageInstantView
instance GHC.Classes.Eq TDLib.Generated.Types.WebPageInstantView
instance GHC.Show.Show TDLib.Generated.Types.WebPageInstantView
instance GHC.Generics.Generic TDLib.Generated.Types.PageBlockListItem
instance GHC.Classes.Eq TDLib.Generated.Types.PageBlockListItem
instance GHC.Show.Show TDLib.Generated.Types.PageBlockListItem
instance GHC.Generics.Generic TDLib.Generated.Types.PageBlock
instance GHC.Classes.Eq TDLib.Generated.Types.PageBlock
instance GHC.Show.Show TDLib.Generated.Types.PageBlock
instance GHC.Generics.Generic TDLib.Generated.Types.PageBlockRelatedArticle
instance GHC.Classes.Eq TDLib.Generated.Types.PageBlockRelatedArticle
instance GHC.Show.Show TDLib.Generated.Types.PageBlockRelatedArticle
instance GHC.Generics.Generic TDLib.Generated.Types.PageBlockTableCell
instance GHC.Classes.Eq TDLib.Generated.Types.PageBlockTableCell
instance GHC.Show.Show TDLib.Generated.Types.PageBlockTableCell
instance GHC.Generics.Generic TDLib.Generated.Types.PageBlockVerticalAlignment
instance GHC.Classes.Eq TDLib.Generated.Types.PageBlockVerticalAlignment
instance GHC.Show.Show TDLib.Generated.Types.PageBlockVerticalAlignment
instance GHC.Generics.Generic TDLib.Generated.Types.PageBlockHorizontalAlignment
instance GHC.Classes.Eq TDLib.Generated.Types.PageBlockHorizontalAlignment
instance GHC.Show.Show TDLib.Generated.Types.PageBlockHorizontalAlignment
instance GHC.Generics.Generic TDLib.Generated.Types.PageBlockCaption
instance GHC.Classes.Eq TDLib.Generated.Types.PageBlockCaption
instance GHC.Show.Show TDLib.Generated.Types.PageBlockCaption
instance GHC.Generics.Generic TDLib.Generated.Types.RichText
instance GHC.Classes.Eq TDLib.Generated.Types.RichText
instance GHC.Show.Show TDLib.Generated.Types.RichText
instance GHC.Generics.Generic TDLib.Generated.Types.LoginUrlInfo
instance GHC.Classes.Eq TDLib.Generated.Types.LoginUrlInfo
instance GHC.Show.Show TDLib.Generated.Types.LoginUrlInfo
instance GHC.Generics.Generic TDLib.Generated.Types.ReplyMarkup
instance GHC.Classes.Eq TDLib.Generated.Types.ReplyMarkup
instance GHC.Show.Show TDLib.Generated.Types.ReplyMarkup
instance GHC.Generics.Generic TDLib.Generated.Types.InlineKeyboardButton
instance GHC.Classes.Eq TDLib.Generated.Types.InlineKeyboardButton
instance GHC.Show.Show TDLib.Generated.Types.InlineKeyboardButton
instance GHC.Generics.Generic TDLib.Generated.Types.InlineKeyboardButtonType
instance GHC.Classes.Eq TDLib.Generated.Types.InlineKeyboardButtonType
instance GHC.Show.Show TDLib.Generated.Types.InlineKeyboardButtonType
instance GHC.Generics.Generic TDLib.Generated.Types.KeyboardButton
instance GHC.Classes.Eq TDLib.Generated.Types.KeyboardButton
instance GHC.Show.Show TDLib.Generated.Types.KeyboardButton
instance GHC.Generics.Generic TDLib.Generated.Types.KeyboardButtonType
instance GHC.Classes.Eq TDLib.Generated.Types.KeyboardButtonType
instance GHC.Show.Show TDLib.Generated.Types.KeyboardButtonType
instance GHC.Generics.Generic TDLib.Generated.Types.ChatActionBar
instance GHC.Classes.Eq TDLib.Generated.Types.ChatActionBar
instance GHC.Show.Show TDLib.Generated.Types.ChatActionBar
instance GHC.Generics.Generic TDLib.Generated.Types.PublicChatType
instance GHC.Classes.Eq TDLib.Generated.Types.PublicChatType
instance GHC.Show.Show TDLib.Generated.Types.PublicChatType
instance GHC.Generics.Generic TDLib.Generated.Types.ChatInviteLinkInfo
instance GHC.Classes.Eq TDLib.Generated.Types.ChatInviteLinkInfo
instance GHC.Show.Show TDLib.Generated.Types.ChatInviteLinkInfo
instance GHC.Generics.Generic TDLib.Generated.Types.ChatInviteLink
instance GHC.Classes.Eq TDLib.Generated.Types.ChatInviteLink
instance GHC.Show.Show TDLib.Generated.Types.ChatInviteLink
instance GHC.Generics.Generic TDLib.Generated.Types.ChatsNearby
instance GHC.Classes.Eq TDLib.Generated.Types.ChatsNearby
instance GHC.Show.Show TDLib.Generated.Types.ChatsNearby
instance GHC.Generics.Generic TDLib.Generated.Types.ChatNearby
instance GHC.Classes.Eq TDLib.Generated.Types.ChatNearby
instance GHC.Show.Show TDLib.Generated.Types.ChatNearby
instance GHC.Generics.Generic TDLib.Generated.Types.Chats
instance GHC.Classes.Eq TDLib.Generated.Types.Chats
instance GHC.Show.Show TDLib.Generated.Types.Chats
instance GHC.Generics.Generic TDLib.Generated.Types.ChatPosition
instance GHC.Classes.Eq TDLib.Generated.Types.ChatPosition
instance GHC.Show.Show TDLib.Generated.Types.ChatPosition
instance GHC.Generics.Generic TDLib.Generated.Types.ChatSource
instance GHC.Classes.Eq TDLib.Generated.Types.ChatSource
instance GHC.Show.Show TDLib.Generated.Types.ChatSource
instance GHC.Generics.Generic TDLib.Generated.Types.ChatLists
instance GHC.Classes.Eq TDLib.Generated.Types.ChatLists
instance GHC.Show.Show TDLib.Generated.Types.ChatLists
instance GHC.Generics.Generic TDLib.Generated.Types.ChatList
instance GHC.Classes.Eq TDLib.Generated.Types.ChatList
instance GHC.Show.Show TDLib.Generated.Types.ChatList
instance GHC.Generics.Generic TDLib.Generated.Types.RecommendedChatFilters
instance GHC.Classes.Eq TDLib.Generated.Types.RecommendedChatFilters
instance GHC.Show.Show TDLib.Generated.Types.RecommendedChatFilters
instance GHC.Generics.Generic TDLib.Generated.Types.RecommendedChatFilter
instance GHC.Classes.Eq TDLib.Generated.Types.RecommendedChatFilter
instance GHC.Show.Show TDLib.Generated.Types.RecommendedChatFilter
instance GHC.Generics.Generic TDLib.Generated.Types.ChatFilterInfo
instance GHC.Classes.Eq TDLib.Generated.Types.ChatFilterInfo
instance GHC.Show.Show TDLib.Generated.Types.ChatFilterInfo
instance GHC.Generics.Generic TDLib.Generated.Types.ChatFilter
instance GHC.Classes.Eq TDLib.Generated.Types.ChatFilter
instance GHC.Show.Show TDLib.Generated.Types.ChatFilter
instance GHC.Generics.Generic TDLib.Generated.Types.ChatType
instance GHC.Classes.Eq TDLib.Generated.Types.ChatType
instance GHC.Show.Show TDLib.Generated.Types.ChatType
instance GHC.Generics.Generic TDLib.Generated.Types.ScopeNotificationSettings
instance GHC.Classes.Eq TDLib.Generated.Types.ScopeNotificationSettings
instance GHC.Show.Show TDLib.Generated.Types.ScopeNotificationSettings
instance GHC.Generics.Generic TDLib.Generated.Types.ChatNotificationSettings
instance GHC.Classes.Eq TDLib.Generated.Types.ChatNotificationSettings
instance GHC.Show.Show TDLib.Generated.Types.ChatNotificationSettings
instance GHC.Generics.Generic TDLib.Generated.Types.NotificationSettingsScope
instance GHC.Classes.Eq TDLib.Generated.Types.NotificationSettingsScope
instance GHC.Show.Show TDLib.Generated.Types.NotificationSettingsScope
instance GHC.Generics.Generic TDLib.Generated.Types.MessageSendingState
instance GHC.Classes.Eq TDLib.Generated.Types.MessageSendingState
instance GHC.Show.Show TDLib.Generated.Types.MessageSendingState
instance GHC.Generics.Generic TDLib.Generated.Types.MessageForwardInfo
instance GHC.Classes.Eq TDLib.Generated.Types.MessageForwardInfo
instance GHC.Show.Show TDLib.Generated.Types.MessageForwardInfo
instance GHC.Generics.Generic TDLib.Generated.Types.MessageForwardOrigin
instance GHC.Classes.Eq TDLib.Generated.Types.MessageForwardOrigin
instance GHC.Show.Show TDLib.Generated.Types.MessageForwardOrigin
instance GHC.Generics.Generic TDLib.Generated.Types.SecretChat
instance GHC.Classes.Eq TDLib.Generated.Types.SecretChat
instance GHC.Show.Show TDLib.Generated.Types.SecretChat
instance GHC.Generics.Generic TDLib.Generated.Types.SecretChatState
instance GHC.Classes.Eq TDLib.Generated.Types.SecretChatState
instance GHC.Show.Show TDLib.Generated.Types.SecretChatState
instance GHC.Generics.Generic TDLib.Generated.Types.SupergroupFullInfo
instance GHC.Classes.Eq TDLib.Generated.Types.SupergroupFullInfo
instance GHC.Show.Show TDLib.Generated.Types.SupergroupFullInfo
instance GHC.Generics.Generic TDLib.Generated.Types.Supergroup
instance GHC.Classes.Eq TDLib.Generated.Types.Supergroup
instance GHC.Show.Show TDLib.Generated.Types.Supergroup
instance GHC.Generics.Generic TDLib.Generated.Types.BasicGroupFullInfo
instance GHC.Classes.Eq TDLib.Generated.Types.BasicGroupFullInfo
instance GHC.Show.Show TDLib.Generated.Types.BasicGroupFullInfo
instance GHC.Generics.Generic TDLib.Generated.Types.BasicGroup
instance GHC.Classes.Eq TDLib.Generated.Types.BasicGroup
instance GHC.Show.Show TDLib.Generated.Types.BasicGroup
instance GHC.Generics.Generic TDLib.Generated.Types.SupergroupMembersFilter
instance GHC.Classes.Eq TDLib.Generated.Types.SupergroupMembersFilter
instance GHC.Show.Show TDLib.Generated.Types.SupergroupMembersFilter
instance GHC.Generics.Generic TDLib.Generated.Types.ChatMembersFilter
instance GHC.Classes.Eq TDLib.Generated.Types.ChatMembersFilter
instance GHC.Show.Show TDLib.Generated.Types.ChatMembersFilter
instance GHC.Generics.Generic TDLib.Generated.Types.ChatMembers
instance GHC.Classes.Eq TDLib.Generated.Types.ChatMembers
instance GHC.Show.Show TDLib.Generated.Types.ChatMembers
instance GHC.Generics.Generic TDLib.Generated.Types.ChatMember
instance GHC.Classes.Eq TDLib.Generated.Types.ChatMember
instance GHC.Show.Show TDLib.Generated.Types.ChatMember
instance GHC.Generics.Generic TDLib.Generated.Types.ChatMemberStatus
instance GHC.Classes.Eq TDLib.Generated.Types.ChatMemberStatus
instance GHC.Show.Show TDLib.Generated.Types.ChatMemberStatus
instance GHC.Generics.Generic TDLib.Generated.Types.ChatPermissions
instance GHC.Classes.Eq TDLib.Generated.Types.ChatPermissions
instance GHC.Show.Show TDLib.Generated.Types.ChatPermissions
instance GHC.Generics.Generic TDLib.Generated.Types.ChatAdministrators
instance GHC.Classes.Eq TDLib.Generated.Types.ChatAdministrators
instance GHC.Show.Show TDLib.Generated.Types.ChatAdministrators
instance GHC.Generics.Generic TDLib.Generated.Types.ChatAdministrator
instance GHC.Classes.Eq TDLib.Generated.Types.ChatAdministrator
instance GHC.Show.Show TDLib.Generated.Types.ChatAdministrator
instance GHC.Generics.Generic TDLib.Generated.Types.Users
instance GHC.Classes.Eq TDLib.Generated.Types.Users
instance GHC.Show.Show TDLib.Generated.Types.Users
instance GHC.Generics.Generic TDLib.Generated.Types.UserProfilePhotos
instance GHC.Classes.Eq TDLib.Generated.Types.UserProfilePhotos
instance GHC.Show.Show TDLib.Generated.Types.UserProfilePhotos
instance GHC.Generics.Generic TDLib.Generated.Types.UserProfilePhoto
instance GHC.Classes.Eq TDLib.Generated.Types.UserProfilePhoto
instance GHC.Show.Show TDLib.Generated.Types.UserProfilePhoto
instance GHC.Generics.Generic TDLib.Generated.Types.UserFullInfo
instance GHC.Classes.Eq TDLib.Generated.Types.UserFullInfo
instance GHC.Show.Show TDLib.Generated.Types.UserFullInfo
instance GHC.Generics.Generic TDLib.Generated.Types.ChatLocation
instance GHC.Classes.Eq TDLib.Generated.Types.ChatLocation
instance GHC.Show.Show TDLib.Generated.Types.ChatLocation
instance GHC.Generics.Generic TDLib.Generated.Types.BotInfo
instance GHC.Classes.Eq TDLib.Generated.Types.BotInfo
instance GHC.Show.Show TDLib.Generated.Types.BotInfo
instance GHC.Generics.Generic TDLib.Generated.Types.BotCommand
instance GHC.Classes.Eq TDLib.Generated.Types.BotCommand
instance GHC.Show.Show TDLib.Generated.Types.BotCommand
instance GHC.Generics.Generic TDLib.Generated.Types.UserType
instance GHC.Classes.Eq TDLib.Generated.Types.UserType
instance GHC.Show.Show TDLib.Generated.Types.UserType
instance GHC.Generics.Generic TDLib.Generated.Types.ChatPhoto
instance GHC.Classes.Eq TDLib.Generated.Types.ChatPhoto
instance GHC.Show.Show TDLib.Generated.Types.ChatPhoto
instance GHC.Generics.Generic TDLib.Generated.Types.ProfilePhoto
instance GHC.Classes.Eq TDLib.Generated.Types.ProfilePhoto
instance GHC.Show.Show TDLib.Generated.Types.ProfilePhoto
instance GHC.Generics.Generic TDLib.Generated.Types.Venue
instance GHC.Classes.Eq TDLib.Generated.Types.Venue
instance GHC.Show.Show TDLib.Generated.Types.Venue
instance GHC.Generics.Generic TDLib.Generated.Types.Location
instance GHC.Classes.Eq TDLib.Generated.Types.Location
instance GHC.Show.Show TDLib.Generated.Types.Location
instance GHC.Generics.Generic TDLib.Generated.Types.Contact
instance GHC.Classes.Eq TDLib.Generated.Types.Contact
instance GHC.Show.Show TDLib.Generated.Types.Contact
instance GHC.Generics.Generic TDLib.Generated.Types.VoiceNote
instance GHC.Classes.Eq TDLib.Generated.Types.VoiceNote
instance GHC.Show.Show TDLib.Generated.Types.VoiceNote
instance GHC.Generics.Generic TDLib.Generated.Types.VideoNote
instance GHC.Classes.Eq TDLib.Generated.Types.VideoNote
instance GHC.Show.Show TDLib.Generated.Types.VideoNote
instance GHC.Generics.Generic TDLib.Generated.Types.Video
instance GHC.Classes.Eq TDLib.Generated.Types.Video
instance GHC.Show.Show TDLib.Generated.Types.Video
instance GHC.Generics.Generic TDLib.Generated.Types.Sticker
instance GHC.Classes.Eq TDLib.Generated.Types.Sticker
instance GHC.Show.Show TDLib.Generated.Types.Sticker
instance GHC.Generics.Generic TDLib.Generated.Types.Photo
instance GHC.Classes.Eq TDLib.Generated.Types.Photo
instance GHC.Show.Show TDLib.Generated.Types.Photo
instance GHC.Generics.Generic TDLib.Generated.Types.Document
instance GHC.Classes.Eq TDLib.Generated.Types.Document
instance GHC.Show.Show TDLib.Generated.Types.Document
instance GHC.Generics.Generic TDLib.Generated.Types.Audio
instance GHC.Classes.Eq TDLib.Generated.Types.Audio
instance GHC.Show.Show TDLib.Generated.Types.Audio
instance GHC.Generics.Generic TDLib.Generated.Types.Animation
instance GHC.Classes.Eq TDLib.Generated.Types.Animation
instance GHC.Show.Show TDLib.Generated.Types.Animation
instance GHC.Generics.Generic TDLib.Generated.Types.PollOption
instance GHC.Classes.Eq TDLib.Generated.Types.PollOption
instance GHC.Show.Show TDLib.Generated.Types.PollOption
instance GHC.Generics.Generic TDLib.Generated.Types.MaskPosition
instance GHC.Classes.Eq TDLib.Generated.Types.MaskPosition
instance GHC.Show.Show TDLib.Generated.Types.MaskPosition
instance GHC.Generics.Generic TDLib.Generated.Types.MaskPoint
instance GHC.Classes.Eq TDLib.Generated.Types.MaskPoint
instance GHC.Show.Show TDLib.Generated.Types.MaskPoint
instance GHC.Generics.Generic TDLib.Generated.Types.Thumbnail
instance GHC.Classes.Eq TDLib.Generated.Types.Thumbnail
instance GHC.Show.Show TDLib.Generated.Types.Thumbnail
instance GHC.Generics.Generic TDLib.Generated.Types.ThumbnailFormat
instance GHC.Classes.Eq TDLib.Generated.Types.ThumbnailFormat
instance GHC.Show.Show TDLib.Generated.Types.ThumbnailFormat
instance GHC.Generics.Generic TDLib.Generated.Types.Minithumbnail
instance GHC.Classes.Eq TDLib.Generated.Types.Minithumbnail
instance GHC.Show.Show TDLib.Generated.Types.Minithumbnail
instance GHC.Generics.Generic TDLib.Generated.Types.PhotoSize
instance GHC.Classes.Eq TDLib.Generated.Types.PhotoSize
instance GHC.Show.Show TDLib.Generated.Types.PhotoSize
instance GHC.Generics.Generic TDLib.Generated.Types.InputFile
instance GHC.Classes.Eq TDLib.Generated.Types.InputFile
instance GHC.Show.Show TDLib.Generated.Types.InputFile
instance GHC.Generics.Generic TDLib.Generated.Types.File
instance GHC.Classes.Eq TDLib.Generated.Types.File
instance GHC.Show.Show TDLib.Generated.Types.File
instance GHC.Generics.Generic TDLib.Generated.Types.RemoteFile
instance GHC.Classes.Eq TDLib.Generated.Types.RemoteFile
instance GHC.Show.Show TDLib.Generated.Types.RemoteFile
instance GHC.Generics.Generic TDLib.Generated.Types.LocalFile
instance GHC.Classes.Eq TDLib.Generated.Types.LocalFile
instance GHC.Show.Show TDLib.Generated.Types.LocalFile
instance GHC.Generics.Generic TDLib.Generated.Types.TemporaryPasswordState
instance GHC.Classes.Eq TDLib.Generated.Types.TemporaryPasswordState
instance GHC.Show.Show TDLib.Generated.Types.TemporaryPasswordState
instance GHC.Generics.Generic TDLib.Generated.Types.RecoveryEmailAddress
instance GHC.Classes.Eq TDLib.Generated.Types.RecoveryEmailAddress
instance GHC.Show.Show TDLib.Generated.Types.RecoveryEmailAddress
instance GHC.Generics.Generic TDLib.Generated.Types.PasswordState
instance GHC.Classes.Eq TDLib.Generated.Types.PasswordState
instance GHC.Show.Show TDLib.Generated.Types.PasswordState
instance GHC.Generics.Generic TDLib.Generated.Types.EmailAddressAuthenticationCodeInfo
instance GHC.Classes.Eq TDLib.Generated.Types.EmailAddressAuthenticationCodeInfo
instance GHC.Show.Show TDLib.Generated.Types.EmailAddressAuthenticationCodeInfo
instance GHC.Generics.Generic TDLib.Generated.Types.AuthenticationCodeInfo
instance GHC.Classes.Eq TDLib.Generated.Types.AuthenticationCodeInfo
instance GHC.Show.Show TDLib.Generated.Types.AuthenticationCodeInfo
instance GHC.Generics.Generic TDLib.Generated.Types.AuthenticationCodeType
instance GHC.Classes.Eq TDLib.Generated.Types.AuthenticationCodeType
instance GHC.Show.Show TDLib.Generated.Types.AuthenticationCodeType
instance GHC.Generics.Generic TDLib.Generated.Types.TdlibParameters
instance GHC.Classes.Eq TDLib.Generated.Types.TdlibParameters
instance GHC.Show.Show TDLib.Generated.Types.TdlibParameters
instance GHC.Generics.Generic TDLib.Generated.Types.Ok
instance GHC.Classes.Eq TDLib.Generated.Types.Ok
instance GHC.Show.Show TDLib.Generated.Types.Ok
instance GHC.Generics.Generic TDLib.Generated.Types.Error
instance GHC.Classes.Eq TDLib.Generated.Types.Error
instance GHC.Show.Show TDLib.Generated.Types.Error
-- | TD API function call arguments
module TDLib.Generated.FunArgs
-- | Parameter of Function getAuthorizationState
data GetAuthorizationState
-- | Returns the current authorization state; this is an offline request.
-- For informational purposes only. Use updateAuthorizationState instead
-- to maintain the current authorization state
GetAuthorizationState :: GetAuthorizationState
-- | Parameter of Function setTdlibParameters
data SetTdlibParameters
-- | Sets the parameters for TDLib initialization. Works only when the
-- current authorization state is authorizationStateWaitTdlibParameters
SetTdlibParameters :: TdlibParameters -> SetTdlibParameters
-- | Parameters
[$sel:parameters:SetTdlibParameters] :: SetTdlibParameters -> TdlibParameters
-- | Parameter of Function checkDatabaseEncryptionKey
data CheckDatabaseEncryptionKey
-- | Checks the database encryption key for correctness. Works only when
-- the current authorization state is authorizationStateWaitEncryptionKey
CheckDatabaseEncryptionKey :: ByteString64 -> CheckDatabaseEncryptionKey
-- | Encryption key to check or set up
[$sel:encryptionKey:CheckDatabaseEncryptionKey] :: CheckDatabaseEncryptionKey -> ByteString64
-- | Parameter of Function setAuthenticationPhoneNumber
data SetAuthenticationPhoneNumber
-- | Sets the phone number of the user and sends an authentication code to
-- the user. Works only when the current authorization state is
-- authorizationStateWaitPhoneNumber,
SetAuthenticationPhoneNumber :: T -> PhoneNumberAuthenticationSettings -> SetAuthenticationPhoneNumber
-- | The phone number of the user, in international format
[$sel:phoneNumber:SetAuthenticationPhoneNumber] :: SetAuthenticationPhoneNumber -> T
-- | Settings for the authentication of the user's phone number
[$sel:settings:SetAuthenticationPhoneNumber] :: SetAuthenticationPhoneNumber -> PhoneNumberAuthenticationSettings
-- | Parameter of Function resendAuthenticationCode
data ResendAuthenticationCode
-- | Re-sends an authentication code to the user. Works only when the
-- current authorization state is authorizationStateWaitCode and the
-- next_code_type of the result is not null
ResendAuthenticationCode :: ResendAuthenticationCode
-- | Parameter of Function checkAuthenticationCode
data CheckAuthenticationCode
-- | Checks the authentication code. Works only when the current
-- authorization state is authorizationStateWaitCode
CheckAuthenticationCode :: T -> CheckAuthenticationCode
-- | The verification code received via SMS, Telegram message, phone call,
-- or flash call
[$sel:code:CheckAuthenticationCode] :: CheckAuthenticationCode -> T
-- | Parameter of Function requestQrCodeAuthentication
data RequestQrCodeAuthentication
-- | Requests QR code authentication by scanning a QR code on another
-- logged in device. Works only when the current authorization state is
-- authorizationStateWaitPhoneNumber,
RequestQrCodeAuthentication :: [I32] -> RequestQrCodeAuthentication
-- | List of user identifiers of other users currently using the client
[$sel:otherUserIds:RequestQrCodeAuthentication] :: RequestQrCodeAuthentication -> [I32]
-- | Parameter of Function registerUser
data RegisterUser
-- | Finishes user registration. Works only when the current authorization
-- state is authorizationStateWaitRegistration
RegisterUser :: T -> T -> RegisterUser
-- | The first name of the user; 1-64 characters
[$sel:firstName:RegisterUser] :: RegisterUser -> T
-- | The last name of the user; 0-64 characters
[$sel:lastName:RegisterUser] :: RegisterUser -> T
-- | Parameter of Function checkAuthenticationPassword
data CheckAuthenticationPassword
-- | Checks the authentication password for correctness. Works only when
-- the current authorization state is authorizationStateWaitPassword
CheckAuthenticationPassword :: T -> CheckAuthenticationPassword
-- | The password to check
[$sel:password:CheckAuthenticationPassword] :: CheckAuthenticationPassword -> T
-- | Parameter of Function requestAuthenticationPasswordRecovery
data RequestAuthenticationPasswordRecovery
-- | Requests to send a password recovery code to an email address that was
-- previously set up. Works only when the current authorization state is
-- authorizationStateWaitPassword
RequestAuthenticationPasswordRecovery :: RequestAuthenticationPasswordRecovery
-- | Parameter of Function recoverAuthenticationPassword
data RecoverAuthenticationPassword
-- | Recovers the password with a password recovery code sent to an email
-- address that was previously set up. Works only when the current
-- authorization state is authorizationStateWaitPassword
RecoverAuthenticationPassword :: T -> RecoverAuthenticationPassword
-- | Recovery code to check
[$sel:recoveryCode:RecoverAuthenticationPassword] :: RecoverAuthenticationPassword -> T
-- | Parameter of Function checkAuthenticationBotToken
data CheckAuthenticationBotToken
-- | Checks the authentication token of a bot; to log in as a bot. Works
-- only when the current authorization state is
-- authorizationStateWaitPhoneNumber. Can be used instead of
-- setAuthenticationPhoneNumber and checkAuthenticationCode to log in
CheckAuthenticationBotToken :: T -> CheckAuthenticationBotToken
-- | The bot token
[$sel:token:CheckAuthenticationBotToken] :: CheckAuthenticationBotToken -> T
-- | Parameter of Function logOut
data LogOut
-- | Closes the TDLib instance after a proper logout. Requires an available
-- network connection. All local data will be destroyed. After the logout
-- completes, updateAuthorizationState with authorizationStateClosed will
-- be sent
LogOut :: LogOut
-- | Parameter of Function close
data Close
-- | Closes the TDLib instance. All databases will be flushed to disk and
-- properly closed. After the close completes, updateAuthorizationState
-- with authorizationStateClosed will be sent
Close :: Close
-- | Parameter of Function destroy
data Destroy
-- | Closes the TDLib instance, destroying all local data without a proper
-- logout. The current user session will remain in the list of all active
-- sessions. All local data will be destroyed. After the destruction
-- completes updateAuthorizationState with authorizationStateClosed will
-- be sent
Destroy :: Destroy
-- | Parameter of Function confirmQrCodeAuthentication
data ConfirmQrCodeAuthentication
-- | Confirms QR code authentication on another device. Returns created
-- session on success
ConfirmQrCodeAuthentication :: T -> ConfirmQrCodeAuthentication
-- | A link from a QR code. The link must be scanned by the in-app camera
[$sel:link:ConfirmQrCodeAuthentication] :: ConfirmQrCodeAuthentication -> T
-- | Parameter of Function getCurrentState
data GetCurrentState
-- | Returns all updates needed to restore current TDLib state, i.e. all
-- actual UpdateAuthorizationStateUpdateUserUpdateNewChat and
-- others. This is especially useful if TDLib is run in a separate
-- process. This is an offline method. Can be called before authorization
GetCurrentState :: GetCurrentState
-- | Parameter of Function setDatabaseEncryptionKey
data SetDatabaseEncryptionKey
-- | Changes the database encryption key. Usually the encryption key is
-- never changed and is stored in some OS keychain
SetDatabaseEncryptionKey :: ByteString64 -> SetDatabaseEncryptionKey
-- | New encryption key
[$sel:newEncryptionKey:SetDatabaseEncryptionKey] :: SetDatabaseEncryptionKey -> ByteString64
-- | Parameter of Function getPasswordState
data GetPasswordState
-- | Returns the current state of 2-step verification
GetPasswordState :: GetPasswordState
-- | Parameter of Function setPassword
data SetPassword
-- | Changes the password for the user. If a new recovery email address is
-- specified, then the change will not be applied until the new recovery
-- email address is confirmed
SetPassword :: T -> T -> T -> Bool -> T -> SetPassword
-- | Previous password of the user
[$sel:oldPassword:SetPassword] :: SetPassword -> T
-- | New password of the user; may be empty to remove the password
[$sel:newPassword:SetPassword] :: SetPassword -> T
-- | New password hint; may be empty
[$sel:newHint:SetPassword] :: SetPassword -> T
-- | Pass true if the recovery email address should be changed
[$sel:setRecoveryEmailAddress:SetPassword] :: SetPassword -> Bool
-- | New recovery email address; may be empty
[$sel:newRecoveryEmailAddress:SetPassword] :: SetPassword -> T
-- | Parameter of Function getRecoveryEmailAddress
data GetRecoveryEmailAddress
-- | Returns a 2-step verification recovery email address that was
-- previously set up. This method can be used to verify a password
-- provided by the user
GetRecoveryEmailAddress :: T -> GetRecoveryEmailAddress
-- | The password for the current user
[$sel:password:GetRecoveryEmailAddress] :: GetRecoveryEmailAddress -> T
-- | Parameter of Function setRecoveryEmailAddress
data SetRecoveryEmailAddress
-- | Changes the 2-step verification recovery email address of the user. If
-- a new recovery email address is specified, then the change will not be
-- applied until the new recovery email address is confirmed.
SetRecoveryEmailAddress :: T -> T -> SetRecoveryEmailAddress
[$sel:password:SetRecoveryEmailAddress] :: SetRecoveryEmailAddress -> T
[$sel:newRecoveryEmailAddress:SetRecoveryEmailAddress] :: SetRecoveryEmailAddress -> T
-- | Parameter of Function checkRecoveryEmailAddressCode
data CheckRecoveryEmailAddressCode
-- | Checks the 2-step verification recovery email address verification
-- code
CheckRecoveryEmailAddressCode :: T -> CheckRecoveryEmailAddressCode
-- | Verification code
[$sel:code:CheckRecoveryEmailAddressCode] :: CheckRecoveryEmailAddressCode -> T
-- | Parameter of Function resendRecoveryEmailAddressCode
data ResendRecoveryEmailAddressCode
-- | Resends the 2-step verification recovery email address verification
-- code
ResendRecoveryEmailAddressCode :: ResendRecoveryEmailAddressCode
-- | Parameter of Function requestPasswordRecovery
data RequestPasswordRecovery
-- | Requests to send a password recovery code to an email address that was
-- previously set up
RequestPasswordRecovery :: RequestPasswordRecovery
-- | Parameter of Function recoverPassword
data RecoverPassword
-- | Recovers the password using a recovery code sent to an email address
-- that was previously set up
RecoverPassword :: T -> RecoverPassword
-- | Recovery code to check
[$sel:recoveryCode:RecoverPassword] :: RecoverPassword -> T
-- | Parameter of Function createTemporaryPassword
data CreateTemporaryPassword
-- | Creates a new temporary password for processing payments
CreateTemporaryPassword :: T -> I32 -> CreateTemporaryPassword
-- | Persistent user password
[$sel:password:CreateTemporaryPassword] :: CreateTemporaryPassword -> T
-- | Time during which the temporary password will be valid, in seconds;
-- should be between 60 and 86400
[$sel:validFor:CreateTemporaryPassword] :: CreateTemporaryPassword -> I32
-- | Parameter of Function getTemporaryPasswordState
data GetTemporaryPasswordState
-- | Returns information about the current temporary password
GetTemporaryPasswordState :: GetTemporaryPasswordState
-- | Parameter of Function getMe
data GetMe
-- | Returns the current user
GetMe :: GetMe
-- | Parameter of Function getUser
data GetUser
-- | Returns information about a user by their identifier. This is an
-- offline request if the current user is not a bot
GetUser :: I32 -> GetUser
-- | User identifier
[$sel:userId:GetUser] :: GetUser -> I32
-- | Parameter of Function getUserFullInfo
data GetUserFullInfo
-- | Returns full information about a user by their identifier
GetUserFullInfo :: I32 -> GetUserFullInfo
-- | User identifier
[$sel:userId:GetUserFullInfo] :: GetUserFullInfo -> I32
-- | Parameter of Function getBasicGroup
data GetBasicGroup
-- | Returns information about a basic group by its identifier. This is an
-- offline request if the current user is not a bot
GetBasicGroup :: I32 -> GetBasicGroup
-- | Basic group identifier
[$sel:basicGroupId:GetBasicGroup] :: GetBasicGroup -> I32
-- | Parameter of Function getBasicGroupFullInfo
data GetBasicGroupFullInfo
-- | Returns full information about a basic group by its identifier
GetBasicGroupFullInfo :: I32 -> GetBasicGroupFullInfo
-- | Basic group identifier
[$sel:basicGroupId:GetBasicGroupFullInfo] :: GetBasicGroupFullInfo -> I32
-- | Parameter of Function getSupergroup
data GetSupergroup
-- | Returns information about a supergroup or a channel by its identifier.
-- This is an offline request if the current user is not a bot
GetSupergroup :: I32 -> GetSupergroup
-- | Supergroup or channel identifier
[$sel:supergroupId:GetSupergroup] :: GetSupergroup -> I32
-- | Parameter of Function getSupergroupFullInfo
data GetSupergroupFullInfo
-- | Returns full information about a supergroup or a channel by its
-- identifier, cached for up to 1 minute
GetSupergroupFullInfo :: I32 -> GetSupergroupFullInfo
-- | Supergroup or channel identifier
[$sel:supergroupId:GetSupergroupFullInfo] :: GetSupergroupFullInfo -> I32
-- | Parameter of Function getSecretChat
data GetSecretChat
-- | Returns information about a secret chat by its identifier. This is an
-- offline request
GetSecretChat :: I32 -> GetSecretChat
-- | Secret chat identifier
[$sel:secretChatId:GetSecretChat] :: GetSecretChat -> I32
-- | Parameter of Function getChat
data GetChat
-- | Returns information about a chat by its identifier, this is an offline
-- request if the current user is not a bot
GetChat :: I53 -> GetChat
-- | Chat identifier
[$sel:chatId:GetChat] :: GetChat -> I53
-- | Parameter of Function getMessage
data GetMessage
-- | Returns information about a message
GetMessage :: I53 -> I53 -> GetMessage
-- | Identifier of the chat the message belongs to
[$sel:chatId:GetMessage] :: GetMessage -> I53
-- | Identifier of the message to get
[$sel:messageId:GetMessage] :: GetMessage -> I53
-- | Parameter of Function getMessageLocally
data GetMessageLocally
-- | Returns information about a message, if it is available locally
-- without sending network request. This is an offline request
GetMessageLocally :: I53 -> I53 -> GetMessageLocally
-- | Identifier of the chat the message belongs to
[$sel:chatId:GetMessageLocally] :: GetMessageLocally -> I53
-- | Identifier of the message to get
[$sel:messageId:GetMessageLocally] :: GetMessageLocally -> I53
-- | Parameter of Function getRepliedMessage
data GetRepliedMessage
-- | Returns information about a message that is replied by given message
GetRepliedMessage :: I53 -> I53 -> GetRepliedMessage
-- | Identifier of the chat the message belongs to
[$sel:chatId:GetRepliedMessage] :: GetRepliedMessage -> I53
-- | Identifier of the message reply to which get
[$sel:messageId:GetRepliedMessage] :: GetRepliedMessage -> I53
-- | Parameter of Function getChatPinnedMessage
data GetChatPinnedMessage
-- | Returns information about a pinned chat message
GetChatPinnedMessage :: I53 -> GetChatPinnedMessage
-- | Identifier of the chat the message belongs to
[$sel:chatId:GetChatPinnedMessage] :: GetChatPinnedMessage -> I53
-- | Parameter of Function getMessages
data GetMessages
-- | Returns information about messages. If a message is not found, returns
-- null on the corresponding position of the result
GetMessages :: I53 -> [I53] -> GetMessages
-- | Identifier of the chat the messages belong to
[$sel:chatId:GetMessages] :: GetMessages -> I53
-- | Identifiers of the messages to get
[$sel:messageIds:GetMessages] :: GetMessages -> [I53]
-- | Parameter of Function getFile
data GetFile
-- | Returns information about a file; this is an offline request
GetFile :: I32 -> GetFile
-- | Identifier of the file to get
[$sel:fileId:GetFile] :: GetFile -> I32
-- | Parameter of Function getRemoteFile
data GetRemoteFile
-- | Returns information about a file by its remote ID; this is an offline
-- request. Can be used to register a URL as a file for further
-- uploading, or sending as a message. Even the request succeeds, the
-- file can be used only if it is still accessible to the user.
GetRemoteFile :: T -> FileType -> GetRemoteFile
-- | Remote identifier of the file to get
[$sel:remoteFileId:GetRemoteFile] :: GetRemoteFile -> T
-- | File type, if known
[$sel:fileType:GetRemoteFile] :: GetRemoteFile -> FileType
-- | Parameter of Function getChats
data GetChats
-- | Returns an ordered list of chats in a chat list. Chats are sorted by
-- the pair (chat.position.order, chat.id) in descending order. (For
-- example, to get a list of chats from the beginning, the offset_order
-- should be equal to a biggest signed 64-bit number 9223372036854775807
-- == 2^63 - 1).
GetChats :: ChatList -> I64 -> I53 -> I32 -> GetChats
-- | The chat list in which to return chats
[$sel:chatList:GetChats] :: GetChats -> ChatList
-- | Chat order to return chats from
[$sel:offsetOrder:GetChats] :: GetChats -> I64
-- | Chat identifier to return chats from
[$sel:offsetChatId:GetChats] :: GetChats -> I53
-- | The maximum number of chats to be returned. It is possible that fewer
-- chats than the limit are returned even if the end of the list is not
-- reached
[$sel:limit:GetChats] :: GetChats -> I32
-- | Parameter of Function searchPublicChat
data SearchPublicChat
-- | Searches a public chat by its username. Currently only private chats,
-- supergroups and channels can be public. Returns the chat if found;
-- otherwise an error is returned
SearchPublicChat :: T -> SearchPublicChat
-- | Username to be resolved
[$sel:username:SearchPublicChat] :: SearchPublicChat -> T
-- | Parameter of Function searchPublicChats
data SearchPublicChats
-- | Searches public chats by looking for specified query in their username
-- and title. Currently only private chats, supergroups and channels can
-- be public. Returns a meaningful number of results. Returns nothing if
-- the length of the searched username prefix is less than 5. Excludes
-- private chats with contacts and chats from the chat list from the
-- results
SearchPublicChats :: T -> SearchPublicChats
-- | Query to search for
[$sel:query:SearchPublicChats] :: SearchPublicChats -> T
-- | Parameter of Function searchChats
data SearchChats
-- | Searches for the specified query in the title and username of already
-- known chats, this is an offline request. Returns chats in the order
-- seen in the main chat list
SearchChats :: T -> I32 -> SearchChats
-- | Query to search for. If the query is empty, returns up to 20 recently
-- found chats
[$sel:query:SearchChats] :: SearchChats -> T
-- | The maximum number of chats to be returned
[$sel:limit:SearchChats] :: SearchChats -> I32
-- | Parameter of Function searchChatsOnServer
data SearchChatsOnServer
-- | Searches for the specified query in the title and username of already
-- known chats via request to the server. Returns chats in the order seen
-- in the main chat list
SearchChatsOnServer :: T -> I32 -> SearchChatsOnServer
-- | Query to search for
[$sel:query:SearchChatsOnServer] :: SearchChatsOnServer -> T
-- | The maximum number of chats to be returned
[$sel:limit:SearchChatsOnServer] :: SearchChatsOnServer -> I32
-- | Parameter of Function searchChatsNearby
data SearchChatsNearby
-- | Returns a list of users and location-based supergroups nearby. The
-- list of users nearby will be updated for 60 seconds after the request
-- by the updates updateUsersNearby. The request should be sent again
-- every 25 seconds with adjusted location to not miss new chats
SearchChatsNearby :: Location -> SearchChatsNearby
-- | Current user location
[$sel:location:SearchChatsNearby] :: SearchChatsNearby -> Location
-- | Parameter of Function getTopChats
data GetTopChats
-- | Returns a list of frequently used chats. Supported only if the chat
-- info database is enabled
GetTopChats :: TopChatCategory -> I32 -> GetTopChats
-- | Category of chats to be returned
[$sel:category:GetTopChats] :: GetTopChats -> TopChatCategory
-- | The maximum number of chats to be returned; up to 30
[$sel:limit:GetTopChats] :: GetTopChats -> I32
-- | Parameter of Function removeTopChat
data RemoveTopChat
-- | Removes a chat from the list of frequently used chats. Supported only
-- if the chat info database is enabled
RemoveTopChat :: TopChatCategory -> I53 -> RemoveTopChat
-- | Category of frequently used chats
[$sel:category:RemoveTopChat] :: RemoveTopChat -> TopChatCategory
-- | Chat identifier
[$sel:chatId:RemoveTopChat] :: RemoveTopChat -> I53
-- | Parameter of Function addRecentlyFoundChat
data AddRecentlyFoundChat
-- | Adds a chat to the list of recently found chats. The chat is added to
-- the beginning of the list. If the chat is already in the list, it will
-- be removed from the list first
AddRecentlyFoundChat :: I53 -> AddRecentlyFoundChat
-- | Identifier of the chat to add
[$sel:chatId:AddRecentlyFoundChat] :: AddRecentlyFoundChat -> I53
-- | Parameter of Function removeRecentlyFoundChat
data RemoveRecentlyFoundChat
-- | Removes a chat from the list of recently found chats
RemoveRecentlyFoundChat :: I53 -> RemoveRecentlyFoundChat
-- | Identifier of the chat to be removed
[$sel:chatId:RemoveRecentlyFoundChat] :: RemoveRecentlyFoundChat -> I53
-- | Parameter of Function clearRecentlyFoundChats
data ClearRecentlyFoundChats
-- | Clears the list of recently found chats
ClearRecentlyFoundChats :: ClearRecentlyFoundChats
-- | Parameter of Function checkChatUsername
data CheckChatUsername
-- | Checks whether a username can be set for a chat
CheckChatUsername :: I53 -> T -> CheckChatUsername
-- | Chat identifier; should be identifier of a supergroup chat, or a
-- channel chat, or a private chat with self, or zero if chat is being
-- created
[$sel:chatId:CheckChatUsername] :: CheckChatUsername -> I53
-- | Username to be checked
[$sel:username:CheckChatUsername] :: CheckChatUsername -> T
-- | Parameter of Function getCreatedPublicChats
data GetCreatedPublicChats
-- | Returns a list of public chats of the specified type, owned by the
-- user
GetCreatedPublicChats :: PublicChatType -> GetCreatedPublicChats
-- | Type of the public chats to return
[$sel:type_:GetCreatedPublicChats] :: GetCreatedPublicChats -> PublicChatType
-- | Parameter of Function checkCreatedPublicChatsLimit
data CheckCreatedPublicChatsLimit
-- | Checks whether the maximum number of owned public chats has been
-- reached. Returns corresponding error if the limit was reached
CheckCreatedPublicChatsLimit :: PublicChatType -> CheckCreatedPublicChatsLimit
-- | Type of the public chats, for which to check the limit
[$sel:type_:CheckCreatedPublicChatsLimit] :: CheckCreatedPublicChatsLimit -> PublicChatType
-- | Parameter of Function getSuitableDiscussionChats
data GetSuitableDiscussionChats
-- | Returns a list of basic group and supergroup chats, which can be used
-- as a discussion group for a channel. Basic group chats need to be
-- first upgraded to supergroups before they can be set as a discussion
-- group
GetSuitableDiscussionChats :: GetSuitableDiscussionChats
-- | Parameter of Function getInactiveSupergroupChats
data GetInactiveSupergroupChats
-- | Returns a list of recently inactive supergroups and channels. Can be
-- used when user reaches limit on the number of joined supergroups and
-- channels and receives CHANNELS_TOO_MUCH error
GetInactiveSupergroupChats :: GetInactiveSupergroupChats
-- | Parameter of Function getGroupsInCommon
data GetGroupsInCommon
-- | Returns a list of common group chats with a given user. Chats are
-- sorted by their type and creation date
GetGroupsInCommon :: I32 -> I53 -> I32 -> GetGroupsInCommon
-- | User identifier
[$sel:userId:GetGroupsInCommon] :: GetGroupsInCommon -> I32
-- | Chat identifier starting from which to return chats; use 0 for the
-- first request
[$sel:offsetChatId:GetGroupsInCommon] :: GetGroupsInCommon -> I53
-- | The maximum number of chats to be returned; up to 100
[$sel:limit:GetGroupsInCommon] :: GetGroupsInCommon -> I32
-- | Parameter of Function getChatHistory
data GetChatHistory
-- | Returns messages in a chat. The messages are returned in a reverse
-- chronological order (i.e., in order of decreasing message_id).
GetChatHistory :: I53 -> I53 -> I32 -> I32 -> Bool -> GetChatHistory
-- | Chat identifier
[$sel:chatId:GetChatHistory] :: GetChatHistory -> I53
-- | Identifier of the message starting from which history must be fetched;
-- use 0 to get results from the last message
[$sel:fromMessageId:GetChatHistory] :: GetChatHistory -> I53
-- | Specify 0 to get results from exactly the from_message_id or a
-- negative offset up to 99 to get additionally some newer messages
[$sel:offset:GetChatHistory] :: GetChatHistory -> I32
-- | The maximum number of messages to be returned; must be positive and
-- can't be greater than 100. If the offset is negative, the limit must
-- be greater or equal to -offset. Fewer messages may be returned than
-- specified by the limit, even if the end of the message history has not
-- been reached
[$sel:limit:GetChatHistory] :: GetChatHistory -> I32
-- | If true, returns only messages that are available locally without
-- sending network requests
[$sel:onlyLocal:GetChatHistory] :: GetChatHistory -> Bool
-- | Parameter of Function deleteChatHistory
data DeleteChatHistory
-- | Deletes all messages in the chat. Use
-- Chat.can_be_deleted_only_for_self and
-- Chat.can_be_deleted_for_all_users fields to find whether and how the
-- method can be applied to the chat
DeleteChatHistory :: I53 -> Bool -> Bool -> DeleteChatHistory
-- | Chat identifier
[$sel:chatId:DeleteChatHistory] :: DeleteChatHistory -> I53
-- | Pass true if the chat should be removed from the chat list
[$sel:removeFromChatList:DeleteChatHistory] :: DeleteChatHistory -> Bool
-- | Pass true to try to delete chat history for all users
[$sel:revoke:DeleteChatHistory] :: DeleteChatHistory -> Bool
-- | Parameter of Function searchChatMessages
data SearchChatMessages
-- | Searches for messages with given words in the chat. Returns the
-- results in reverse chronological order, i.e. in order of decreasing
-- message_id. Cannot be used in secret chats with a non-empty query
SearchChatMessages :: I53 -> T -> I32 -> I53 -> I32 -> I32 -> SearchMessagesFilter -> SearchChatMessages
-- | Identifier of the chat in which to search messages
[$sel:chatId:SearchChatMessages] :: SearchChatMessages -> I53
-- | Query to search for
[$sel:query:SearchChatMessages] :: SearchChatMessages -> T
-- | If not 0, only messages sent by the specified user will be returned.
-- Not supported in secret chats
[$sel:senderUserId:SearchChatMessages] :: SearchChatMessages -> I32
-- | Identifier of the message starting from which history must be fetched;
-- use 0 to get results from the last message
[$sel:fromMessageId:SearchChatMessages] :: SearchChatMessages -> I53
-- | Specify 0 to get results from exactly the from_message_id or a
-- negative offset to get the specified message and some newer messages
[$sel:offset:SearchChatMessages] :: SearchChatMessages -> I32
-- | The maximum number of messages to be returned; must be positive and
-- can't be greater than 100. If the offset is negative, the limit must
-- be greater than -offset. Fewer messages may be returned than specified
-- by the limit, even if the end of the message history has not been
-- reached
[$sel:limit:SearchChatMessages] :: SearchChatMessages -> I32
-- | Filter for message content in the search results
[$sel:filter:SearchChatMessages] :: SearchChatMessages -> SearchMessagesFilter
-- | Parameter of Function searchMessages
data SearchMessages
-- | Searches for messages in all chats except secret chats. Returns the
-- results in reverse chronological order (i.e., in order of decreasing
-- (date, chat_id, message_id)).
SearchMessages :: ChatList -> T -> I32 -> I53 -> I53 -> I32 -> SearchMessages
-- | Chat list in which to search messages; pass null to search in all
-- chats regardless of their chat list
[$sel:chatList:SearchMessages] :: SearchMessages -> ChatList
-- | Query to search for
[$sel:query:SearchMessages] :: SearchMessages -> T
-- | The date of the message starting from which the results should be
-- fetched. Use 0 or any date in the future to get results from the last
-- message
[$sel:offsetDate:SearchMessages] :: SearchMessages -> I32
-- | The chat identifier of the last found message, or 0 for the first
-- request
[$sel:offsetChatId:SearchMessages] :: SearchMessages -> I53
-- | The message identifier of the last found message, or 0 for the first
-- request
[$sel:offsetMessageId:SearchMessages] :: SearchMessages -> I53
-- | The maximum number of messages to be returned, up to 100. Fewer
-- messages may be returned than specified by the limit, even if the end
-- of the message history has not been reached
[$sel:limit:SearchMessages] :: SearchMessages -> I32
-- | Parameter of Function searchSecretMessages
data SearchSecretMessages
-- | Searches for messages in secret chats. Returns the results in reverse
-- chronological order. For optimal performance the number of returned
-- messages is chosen by the library
SearchSecretMessages :: I53 -> T -> I64 -> I32 -> SearchMessagesFilter -> SearchSecretMessages
-- | Identifier of the chat in which to search. Specify 0 to search in all
-- secret chats
[$sel:chatId:SearchSecretMessages] :: SearchSecretMessages -> I53
-- | Query to search for. If empty, searchChatMessages should be used
-- instead
[$sel:query:SearchSecretMessages] :: SearchSecretMessages -> T
-- | The identifier from the result of a previous request, use 0 to get
-- results from the last message
[$sel:fromSearchId:SearchSecretMessages] :: SearchSecretMessages -> I64
-- | The maximum number of messages to be returned; up to 100. Fewer
-- messages may be returned than specified by the limit, even if the end
-- of the message history has not been reached
[$sel:limit:SearchSecretMessages] :: SearchSecretMessages -> I32
-- | A filter for the content of messages in the search results
[$sel:filter:SearchSecretMessages] :: SearchSecretMessages -> SearchMessagesFilter
-- | Parameter of Function searchCallMessages
data SearchCallMessages
-- | Searches for call messages. Returns the results in reverse
-- chronological order (i. e., in order of decreasing message_id). For
-- optimal performance the number of returned messages is chosen by the
-- library
SearchCallMessages :: I53 -> I32 -> Bool -> SearchCallMessages
-- | Identifier of the message from which to search; use 0 to get results
-- from the last message
[$sel:fromMessageId:SearchCallMessages] :: SearchCallMessages -> I53
-- | The maximum number of messages to be returned; up to 100. Fewer
-- messages may be returned than specified by the limit, even if the end
-- of the message history has not been reached
[$sel:limit:SearchCallMessages] :: SearchCallMessages -> I32
-- | If true, returns only messages with missed calls
[$sel:onlyMissed:SearchCallMessages] :: SearchCallMessages -> Bool
-- | Parameter of Function searchChatRecentLocationMessages
data SearchChatRecentLocationMessages
-- | Returns information about the recent locations of chat members that
-- were sent to the chat. Returns up to 1 location message per user
SearchChatRecentLocationMessages :: I53 -> I32 -> SearchChatRecentLocationMessages
-- | Chat identifier
[$sel:chatId:SearchChatRecentLocationMessages] :: SearchChatRecentLocationMessages -> I53
-- | The maximum number of messages to be returned
[$sel:limit:SearchChatRecentLocationMessages] :: SearchChatRecentLocationMessages -> I32
-- | Parameter of Function getActiveLiveLocationMessages
data GetActiveLiveLocationMessages
-- | Returns all active live locations that should be updated by the
-- client. The list is persistent across application restarts only if the
-- message database is used
GetActiveLiveLocationMessages :: GetActiveLiveLocationMessages
-- | Parameter of Function getChatMessageByDate
data GetChatMessageByDate
-- | Returns the last message sent in a chat no later than the specified
-- date
GetChatMessageByDate :: I53 -> I32 -> GetChatMessageByDate
-- | Chat identifier
[$sel:chatId:GetChatMessageByDate] :: GetChatMessageByDate -> I53
-- | Point in time (Unix timestamp) relative to which to search for
-- messages
[$sel:date:GetChatMessageByDate] :: GetChatMessageByDate -> I32
-- | Parameter of Function getChatMessageCount
data GetChatMessageCount
-- | Returns approximate number of messages of the specified type in the
-- chat
GetChatMessageCount :: I53 -> SearchMessagesFilter -> Bool -> GetChatMessageCount
-- | Identifier of the chat in which to count messages
[$sel:chatId:GetChatMessageCount] :: GetChatMessageCount -> I53
-- | Filter for message content; searchMessagesFilterEmpty is unsupported
-- in this function
[$sel:filter:GetChatMessageCount] :: GetChatMessageCount -> SearchMessagesFilter
-- | If true, returns count that is available locally without sending
-- network requests, returning -1 if the number of messages is unknown
[$sel:returnLocal:GetChatMessageCount] :: GetChatMessageCount -> Bool
-- | Parameter of Function getChatScheduledMessages
data GetChatScheduledMessages
-- | Returns all scheduled messages in a chat. The messages are returned in
-- a reverse chronological order (i.e., in order of decreasing
-- message_id)
GetChatScheduledMessages :: I53 -> GetChatScheduledMessages
-- | Chat identifier
[$sel:chatId:GetChatScheduledMessages] :: GetChatScheduledMessages -> I53
-- | Parameter of Function removeNotification
data RemoveNotification
-- | Removes an active notification from notification list. Needs to be
-- called only if the notification is removed by the current user
RemoveNotification :: I32 -> I32 -> RemoveNotification
-- | Identifier of notification group to which the notification belongs
[$sel:notificationGroupId:RemoveNotification] :: RemoveNotification -> I32
-- | Identifier of removed notification
[$sel:notificationId:RemoveNotification] :: RemoveNotification -> I32
-- | Parameter of Function removeNotificationGroup
data RemoveNotificationGroup
-- | Removes a group of active notifications. Needs to be called only if
-- the notification group is removed by the current user
RemoveNotificationGroup :: I32 -> I32 -> RemoveNotificationGroup
-- | Notification group identifier
[$sel:notificationGroupId:RemoveNotificationGroup] :: RemoveNotificationGroup -> I32
-- | The maximum identifier of removed notifications
[$sel:maxNotificationId:RemoveNotificationGroup] :: RemoveNotificationGroup -> I32
-- | Parameter of Function getPublicMessageLink
data GetPublicMessageLink
-- | Returns a public HTTPS link to a message. Available only for messages
-- in supergroups and channels with a username
GetPublicMessageLink :: I53 -> I53 -> Bool -> GetPublicMessageLink
-- | Identifier of the chat to which the message belongs
[$sel:chatId:GetPublicMessageLink] :: GetPublicMessageLink -> I53
-- | Identifier of the message
[$sel:messageId:GetPublicMessageLink] :: GetPublicMessageLink -> I53
-- | Pass true if a link for a whole media album should be returned
[$sel:forAlbum:GetPublicMessageLink] :: GetPublicMessageLink -> Bool
-- | Parameter of Function getMessageLink
data GetMessageLink
-- | Returns a private HTTPS link to a message in a chat. Available only
-- for already sent messages in supergroups and channels. The link will
-- work only for members of the chat
GetMessageLink :: I53 -> I53 -> GetMessageLink
-- | Identifier of the chat to which the message belongs
[$sel:chatId:GetMessageLink] :: GetMessageLink -> I53
-- | Identifier of the message
[$sel:messageId:GetMessageLink] :: GetMessageLink -> I53
-- | Parameter of Function getMessageLinkInfo
data GetMessageLinkInfo
-- | Returns information about a public or private message link
GetMessageLinkInfo :: T -> GetMessageLinkInfo
-- | The message link in the format "https://t.me/c/...", or
-- "tg:/privatepost?...", or "https:t.meusername...", or
-- "tg:/resolve?..."
[$sel:url:GetMessageLinkInfo] :: GetMessageLinkInfo -> T
-- | Parameter of Function sendMessage
data SendMessage
-- | Sends a message. Returns the sent message
SendMessage :: I53 -> I53 -> SendMessageOptions -> ReplyMarkup -> InputMessageContent -> SendMessage
-- | Target chat
[$sel:chatId:SendMessage] :: SendMessage -> I53
-- | Identifier of the message to reply to or 0
[$sel:replyToMessageId:SendMessage] :: SendMessage -> I53
-- | Options to be used to send the message
[$sel:options:SendMessage] :: SendMessage -> SendMessageOptions
-- | Markup for replying to the message; for bots only
[$sel:replyMarkup:SendMessage] :: SendMessage -> ReplyMarkup
-- | The content of the message to be sent
[$sel:inputMessageContent:SendMessage] :: SendMessage -> InputMessageContent
-- | Parameter of Function sendMessageAlbum
data SendMessageAlbum
-- | Sends messages grouped together into an album. Currently only photo
-- and video messages can be grouped into an album. Returns sent messages
SendMessageAlbum :: I53 -> I53 -> SendMessageOptions -> [InputMessageContent] -> SendMessageAlbum
-- | Target chat
[$sel:chatId:SendMessageAlbum] :: SendMessageAlbum -> I53
-- | Identifier of a message to reply to or 0
[$sel:replyToMessageId:SendMessageAlbum] :: SendMessageAlbum -> I53
-- | Options to be used to send the messages
[$sel:options:SendMessageAlbum] :: SendMessageAlbum -> SendMessageOptions
-- | Contents of messages to be sent
[$sel:inputMessageContents:SendMessageAlbum] :: SendMessageAlbum -> [InputMessageContent]
-- | Parameter of Function sendBotStartMessage
data SendBotStartMessage
-- | Invites a bot to a chat (if it is not yet a member) and sends it the
-- /start command. Bots can't be invited to a private chat other than the
-- chat with the bot. Bots can't be invited to channels (although they
-- can be added as admins) and secret chats. Returns the sent message
SendBotStartMessage :: I32 -> I53 -> T -> SendBotStartMessage
-- | Identifier of the bot
[$sel:botUserId:SendBotStartMessage] :: SendBotStartMessage -> I32
-- | Identifier of the target chat
[$sel:chatId:SendBotStartMessage] :: SendBotStartMessage -> I53
-- | A hidden parameter sent to the bot for deep linking purposes
-- (https:/core.telegram.orgbots#deep-linking)
[$sel:parameter:SendBotStartMessage] :: SendBotStartMessage -> T
-- | Parameter of Function sendInlineQueryResultMessage
data SendInlineQueryResultMessage
-- | Sends the result of an inline query as a message. Returns the sent
-- message. Always clears a chat draft message
SendInlineQueryResultMessage :: I53 -> I53 -> SendMessageOptions -> I64 -> T -> Bool -> SendInlineQueryResultMessage
-- | Target chat
[$sel:chatId:SendInlineQueryResultMessage] :: SendInlineQueryResultMessage -> I53
-- | Identifier of a message to reply to or 0
[$sel:replyToMessageId:SendInlineQueryResultMessage] :: SendInlineQueryResultMessage -> I53
-- | Options to be used to send the message
[$sel:options:SendInlineQueryResultMessage] :: SendInlineQueryResultMessage -> SendMessageOptions
-- | Identifier of the inline query
[$sel:queryId:SendInlineQueryResultMessage] :: SendInlineQueryResultMessage -> I64
-- | Identifier of the inline result
[$sel:resultId:SendInlineQueryResultMessage] :: SendInlineQueryResultMessage -> T
-- | If true, there will be no mention of a bot, via which the message is
-- sent. Can be used only for bots
-- GetOption("animation_search_bot_username"),
-- GetOption("photo_search_bot_username") and
-- GetOption("venue_search_bot_username")
[$sel:hideViaBot:SendInlineQueryResultMessage] :: SendInlineQueryResultMessage -> Bool
-- | Parameter of Function forwardMessages
data ForwardMessages
-- | Forwards previously sent messages. Returns the forwarded messages in
-- the same order as the message identifiers passed in message_ids. If a
-- message can't be forwarded, null will be returned instead of the
-- message
ForwardMessages :: I53 -> I53 -> [I53] -> SendMessageOptions -> Bool -> Bool -> Bool -> ForwardMessages
-- | Identifier of the chat to which to forward messages
[$sel:chatId:ForwardMessages] :: ForwardMessages -> I53
-- | Identifier of the chat from which to forward messages
[$sel:fromChatId:ForwardMessages] :: ForwardMessages -> I53
-- | Identifiers of the messages to forward
[$sel:messageIds:ForwardMessages] :: ForwardMessages -> [I53]
-- | Options to be used to send the messages
[$sel:options:ForwardMessages] :: ForwardMessages -> SendMessageOptions
-- | True, if the messages should be grouped into an album after
-- forwarding. For this to work, no more than 10 messages may be
-- forwarded, and all of them must be photo or video messages
[$sel:asAlbum:ForwardMessages] :: ForwardMessages -> Bool
-- | True, if content of the messages needs to be copied without links to
-- the original messages. Always true if the messages are forwarded to a
-- secret chat
[$sel:sendCopy:ForwardMessages] :: ForwardMessages -> Bool
-- | True, if media captions of message copies needs to be removed. Ignored
-- if send_copy is false
[$sel:removeCaption:ForwardMessages] :: ForwardMessages -> Bool
-- | Parameter of Function resendMessages
data ResendMessages
-- | Resends messages which failed to send. Can be called only for messages
-- for which messageSendingStateFailed.can_retry is true and after
-- specified in messageSendingStateFailed.retry_after time passed.
ResendMessages :: I53 -> [I53] -> ResendMessages
-- | Identifier of the chat to send messages
[$sel:chatId:ResendMessages] :: ResendMessages -> I53
-- | Identifiers of the messages to resend. Message identifiers must be in
-- a strictly increasing order
[$sel:messageIds:ResendMessages] :: ResendMessages -> [I53]
-- | Parameter of Function sendChatSetTtlMessage
data SendChatSetTtlMessage
-- | Changes the current TTL setting (sets a new self-destruct timer) in a
-- secret chat and sends the corresponding message
SendChatSetTtlMessage :: I53 -> I32 -> SendChatSetTtlMessage
-- | Chat identifier
[$sel:chatId:SendChatSetTtlMessage] :: SendChatSetTtlMessage -> I53
-- | New TTL value, in seconds
[$sel:ttl:SendChatSetTtlMessage] :: SendChatSetTtlMessage -> I32
-- | Parameter of Function sendChatScreenshotTakenNotification
data SendChatScreenshotTakenNotification
-- | Sends a notification about a screenshot taken in a chat. Supported
-- only in private and secret chats
SendChatScreenshotTakenNotification :: I53 -> SendChatScreenshotTakenNotification
-- | Chat identifier
[$sel:chatId:SendChatScreenshotTakenNotification] :: SendChatScreenshotTakenNotification -> I53
-- | Parameter of Function addLocalMessage
data AddLocalMessage
-- | Adds a local message to a chat. The message is persistent across
-- application restarts only if the message database is used. Returns the
-- added message
AddLocalMessage :: I53 -> I32 -> I53 -> Bool -> InputMessageContent -> AddLocalMessage
-- | Target chat
[$sel:chatId:AddLocalMessage] :: AddLocalMessage -> I53
-- | Identifier of the user who will be shown as the sender of the message;
-- may be 0 for channel posts
[$sel:senderUserId:AddLocalMessage] :: AddLocalMessage -> I32
-- | Identifier of the message to reply to or 0
[$sel:replyToMessageId:AddLocalMessage] :: AddLocalMessage -> I53
-- | Pass true to disable notification for the message
[$sel:disableNotification:AddLocalMessage] :: AddLocalMessage -> Bool
-- | The content of the message to be added
[$sel:inputMessageContent:AddLocalMessage] :: AddLocalMessage -> InputMessageContent
-- | Parameter of Function deleteMessages
data DeleteMessages
-- | Deletes messages
DeleteMessages :: I53 -> [I53] -> Bool -> DeleteMessages
-- | Chat identifier
[$sel:chatId:DeleteMessages] :: DeleteMessages -> I53
-- | Identifiers of the messages to be deleted
[$sel:messageIds:DeleteMessages] :: DeleteMessages -> [I53]
-- | Pass true to try to delete messages for all chat members. Always true
-- for supergroups, channels and secret chats
[$sel:revoke:DeleteMessages] :: DeleteMessages -> Bool
-- | Parameter of Function deleteChatMessagesFromUser
data DeleteChatMessagesFromUser
-- | Deletes all messages sent by the specified user to a chat. Supported
-- only for supergroups; requires can_delete_messages administrator
-- privileges
DeleteChatMessagesFromUser :: I53 -> I32 -> DeleteChatMessagesFromUser
-- | Chat identifier
[$sel:chatId:DeleteChatMessagesFromUser] :: DeleteChatMessagesFromUser -> I53
-- | User identifier
[$sel:userId:DeleteChatMessagesFromUser] :: DeleteChatMessagesFromUser -> I32
-- | Parameter of Function editMessageText
data EditMessageText
-- | Edits the text of a message (or a text of a game message). Returns the
-- edited message after the edit is completed on the server side
EditMessageText :: I53 -> I53 -> ReplyMarkup -> InputMessageContent -> EditMessageText
-- | The chat the message belongs to
[$sel:chatId:EditMessageText] :: EditMessageText -> I53
-- | Identifier of the message
[$sel:messageId:EditMessageText] :: EditMessageText -> I53
-- | The new message reply markup; for bots only
[$sel:replyMarkup:EditMessageText] :: EditMessageText -> ReplyMarkup
-- | New text content of the message. Should be of type InputMessageText
[$sel:inputMessageContent:EditMessageText] :: EditMessageText -> InputMessageContent
-- | Parameter of Function editMessageLiveLocation
data EditMessageLiveLocation
-- | Edits the message content of a live location. Messages can be edited
-- for a limited period of time specified in the live location. Returns
-- the edited message after the edit is completed on the server side
EditMessageLiveLocation :: I53 -> I53 -> ReplyMarkup -> Maybe Location -> EditMessageLiveLocation
-- | The chat the message belongs to
[$sel:chatId:EditMessageLiveLocation] :: EditMessageLiveLocation -> I53
-- | Identifier of the message
[$sel:messageId:EditMessageLiveLocation] :: EditMessageLiveLocation -> I53
-- | The new message reply markup; for bots only
[$sel:replyMarkup:EditMessageLiveLocation] :: EditMessageLiveLocation -> ReplyMarkup
-- | New location content of the message; may be null. Pass null to stop
-- sharing the live location
[$sel:location:EditMessageLiveLocation] :: EditMessageLiveLocation -> Maybe Location
-- | Parameter of Function editMessageMedia
data EditMessageMedia
-- | Edits the content of a message with an animation, an audio, a
-- document, a photo or a video. The media in the message can't be
-- replaced if the message was set to self-destruct. Media can't be
-- replaced by self-destructing media. Media in an album can be edited
-- only to contain a photo or a video. Returns the edited message after
-- the edit is completed on the server side
EditMessageMedia :: I53 -> I53 -> ReplyMarkup -> InputMessageContent -> EditMessageMedia
-- | The chat the message belongs to
[$sel:chatId:EditMessageMedia] :: EditMessageMedia -> I53
-- | Identifier of the message
[$sel:messageId:EditMessageMedia] :: EditMessageMedia -> I53
-- | The new message reply markup; for bots only
[$sel:replyMarkup:EditMessageMedia] :: EditMessageMedia -> ReplyMarkup
-- | New content of the message. Must be one of the following types:
-- InputMessageAnimation, InputMessageAudio, InputMessageDocument,
-- InputMessagePhoto or InputMessageVideo
[$sel:inputMessageContent:EditMessageMedia] :: EditMessageMedia -> InputMessageContent
-- | Parameter of Function editMessageCaption
data EditMessageCaption
-- | Edits the message content caption. Returns the edited message after
-- the edit is completed on the server side
EditMessageCaption :: I53 -> I53 -> ReplyMarkup -> FormattedText -> EditMessageCaption
-- | The chat the message belongs to
[$sel:chatId:EditMessageCaption] :: EditMessageCaption -> I53
-- | Identifier of the message
[$sel:messageId:EditMessageCaption] :: EditMessageCaption -> I53
-- | The new message reply markup; for bots only
[$sel:replyMarkup:EditMessageCaption] :: EditMessageCaption -> ReplyMarkup
-- | New message content caption; 0-GetOption("message_caption_length_max")
-- characters
[$sel:caption:EditMessageCaption] :: EditMessageCaption -> FormattedText
-- | Parameter of Function editMessageReplyMarkup
data EditMessageReplyMarkup
-- | Edits the message reply markup; for bots only. Returns the edited
-- message after the edit is completed on the server side
EditMessageReplyMarkup :: I53 -> I53 -> ReplyMarkup -> EditMessageReplyMarkup
-- | The chat the message belongs to
[$sel:chatId:EditMessageReplyMarkup] :: EditMessageReplyMarkup -> I53
-- | Identifier of the message
[$sel:messageId:EditMessageReplyMarkup] :: EditMessageReplyMarkup -> I53
-- | The new message reply markup
[$sel:replyMarkup:EditMessageReplyMarkup] :: EditMessageReplyMarkup -> ReplyMarkup
-- | Parameter of Function editInlineMessageText
data EditInlineMessageText
-- | Edits the text of an inline text or game message sent via a bot; for
-- bots only
EditInlineMessageText :: T -> ReplyMarkup -> InputMessageContent -> EditInlineMessageText
-- | Inline message identifier
[$sel:inlineMessageId:EditInlineMessageText] :: EditInlineMessageText -> T
-- | The new message reply markup
[$sel:replyMarkup:EditInlineMessageText] :: EditInlineMessageText -> ReplyMarkup
-- | New text content of the message. Should be of type InputMessageText
[$sel:inputMessageContent:EditInlineMessageText] :: EditInlineMessageText -> InputMessageContent
-- | Parameter of Function editInlineMessageLiveLocation
data EditInlineMessageLiveLocation
-- | Edits the content of a live location in an inline message sent via a
-- bot; for bots only
EditInlineMessageLiveLocation :: T -> ReplyMarkup -> Maybe Location -> EditInlineMessageLiveLocation
-- | Inline message identifier
[$sel:inlineMessageId:EditInlineMessageLiveLocation] :: EditInlineMessageLiveLocation -> T
-- | The new message reply markup
[$sel:replyMarkup:EditInlineMessageLiveLocation] :: EditInlineMessageLiveLocation -> ReplyMarkup
-- | New location content of the message; may be null. Pass null to stop
-- sharing the live location
[$sel:location:EditInlineMessageLiveLocation] :: EditInlineMessageLiveLocation -> Maybe Location
-- | Parameter of Function editInlineMessageMedia
data EditInlineMessageMedia
-- | Edits the content of a message with an animation, an audio, a
-- document, a photo or a video in an inline message sent via a bot; for
-- bots only
EditInlineMessageMedia :: T -> ReplyMarkup -> InputMessageContent -> EditInlineMessageMedia
-- | Inline message identifier
[$sel:inlineMessageId:EditInlineMessageMedia] :: EditInlineMessageMedia -> T
-- | The new message reply markup; for bots only
[$sel:replyMarkup:EditInlineMessageMedia] :: EditInlineMessageMedia -> ReplyMarkup
-- | New content of the message. Must be one of the following types:
-- InputMessageAnimation, InputMessageAudio, InputMessageDocument,
-- InputMessagePhoto or InputMessageVideo
[$sel:inputMessageContent:EditInlineMessageMedia] :: EditInlineMessageMedia -> InputMessageContent
-- | Parameter of Function editInlineMessageCaption
data EditInlineMessageCaption
-- | Edits the caption of an inline message sent via a bot; for bots only
EditInlineMessageCaption :: T -> ReplyMarkup -> FormattedText -> EditInlineMessageCaption
-- | Inline message identifier
[$sel:inlineMessageId:EditInlineMessageCaption] :: EditInlineMessageCaption -> T
-- | The new message reply markup
[$sel:replyMarkup:EditInlineMessageCaption] :: EditInlineMessageCaption -> ReplyMarkup
-- | New message content caption; 0-GetOption("message_caption_length_max")
-- characters
[$sel:caption:EditInlineMessageCaption] :: EditInlineMessageCaption -> FormattedText
-- | Parameter of Function editInlineMessageReplyMarkup
data EditInlineMessageReplyMarkup
-- | Edits the reply markup of an inline message sent via a bot; for bots
-- only
EditInlineMessageReplyMarkup :: T -> ReplyMarkup -> EditInlineMessageReplyMarkup
-- | Inline message identifier
[$sel:inlineMessageId:EditInlineMessageReplyMarkup] :: EditInlineMessageReplyMarkup -> T
-- | The new message reply markup
[$sel:replyMarkup:EditInlineMessageReplyMarkup] :: EditInlineMessageReplyMarkup -> ReplyMarkup
-- | Parameter of Function editMessageSchedulingState
data EditMessageSchedulingState
-- | Edits the time when a scheduled message will be sent. Scheduling state
-- of all messages in the same album or forwarded together with the
-- message will be also changed
EditMessageSchedulingState :: I53 -> I53 -> MessageSchedulingState -> EditMessageSchedulingState
-- | The chat the message belongs to
[$sel:chatId:EditMessageSchedulingState] :: EditMessageSchedulingState -> I53
-- | Identifier of the message
[$sel:messageId:EditMessageSchedulingState] :: EditMessageSchedulingState -> I53
-- | The new message scheduling state. Pass null to send the message
-- immediately
[$sel:schedulingState:EditMessageSchedulingState] :: EditMessageSchedulingState -> MessageSchedulingState
-- | Parameter of Function getTextEntities
data GetTextEntities
-- | Returns all entities (mentions, hashtags, cashtags, bot commands, bank
-- card numbers, URLs, and email addresses) contained in the text. This
-- is an offline method. Can be called before authorization. Can be
-- called synchronously
GetTextEntities :: T -> GetTextEntities
-- | The text in which to look for entites
[$sel:text:GetTextEntities] :: GetTextEntities -> T
-- | Parameter of Function parseTextEntities
data ParseTextEntities
-- | Parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode,
-- TextUrl and MentionName entities contained in the text. This is an
-- offline method. Can be called before authorization. Can be called
-- synchronously
ParseTextEntities :: T -> TextParseMode -> ParseTextEntities
-- | The text to parse
[$sel:text:ParseTextEntities] :: ParseTextEntities -> T
-- | Text parse mode
[$sel:parseMode:ParseTextEntities] :: ParseTextEntities -> TextParseMode
-- | Parameter of Function parseMarkdown
data ParseMarkdown
-- | Parses Markdown entities in a human-friendly format, ignoring mark up
-- errors. This is an offline method. Can be called before authorization.
-- Can be called synchronously
ParseMarkdown :: FormattedText -> ParseMarkdown
-- | The text to parse. For example, "italic ~~strikethrough~~
-- **bold** $sel:code:CheckAuthenticationCode ``pre``
-- [italic text_url](telegram.org) italic**bold
-- italicbold**"
[$sel:text:ParseMarkdown] :: ParseMarkdown -> FormattedText
-- | Parameter of Function getMarkdownText
data GetMarkdownText
-- | Replaces text entities with Markdown formatting in a human-friendly
-- format. Entities that can't be represented in Markdown unambiguously
-- are kept as is. This is an offline method. Can be called before
-- authorization. Can be called synchronously
GetMarkdownText :: FormattedText -> GetMarkdownText
-- | The text
[$sel:text:GetMarkdownText] :: GetMarkdownText -> FormattedText
-- | Parameter of Function getFileMimeType
data GetFileMimeType
-- | Returns the MIME type of a file, guessed by its extension. Returns an
-- empty string on failure. This is an offline method. Can be called
-- before authorization. Can be called synchronously
GetFileMimeType :: T -> GetFileMimeType
-- | The name of the file or path to the file
[$sel:fileName:GetFileMimeType] :: GetFileMimeType -> T
-- | Parameter of Function getFileExtension
data GetFileExtension
-- | Returns the extension of a file, guessed by its MIME type. Returns an
-- empty string on failure. This is an offline method. Can be called
-- before authorization. Can be called synchronously
GetFileExtension :: T -> GetFileExtension
-- | The MIME type of the file
[$sel:mimeType:GetFileExtension] :: GetFileExtension -> T
-- | Parameter of Function cleanFileName
data CleanFileName
-- | Removes potentially dangerous characters from the name of a file. The
-- encoding of the file name is supposed to be UTF-8. Returns an empty
-- string on failure. This is an offline method. Can be called before
-- authorization. Can be called synchronously
CleanFileName :: T -> CleanFileName
-- | File name or path to the file
[$sel:fileName:CleanFileName] :: CleanFileName -> T
-- | Parameter of Function getLanguagePackString
data GetLanguagePackString
-- | Returns a string stored in the local database from the specified
-- localization target and language pack by its key. Returns a 404 error
-- if the string is not found. This is an offline method. Can be called
-- before authorization. Can be called synchronously
GetLanguagePackString :: T -> T -> T -> T -> GetLanguagePackString
-- | Path to the language pack database in which strings are stored
[$sel:languagePackDatabasePath:GetLanguagePackString] :: GetLanguagePackString -> T
-- | Localization target to which the language pack belongs
[$sel:localizationTarget:GetLanguagePackString] :: GetLanguagePackString -> T
-- | Language pack identifier
[$sel:languagePackId:GetLanguagePackString] :: GetLanguagePackString -> T
-- | Language pack key of the string to be returned
[$sel:key:GetLanguagePackString] :: GetLanguagePackString -> T
-- | Parameter of Function getJsonValue
data GetJsonValue
-- | Converts a JSON-serialized string to corresponding JsonValue object.
-- This is an offline method. Can be called before authorization. Can be
-- called synchronously
GetJsonValue :: T -> GetJsonValue
-- | The JSON-serialized string
[$sel:json:GetJsonValue] :: GetJsonValue -> T
-- | Parameter of Function getJsonString
data GetJsonString
-- | Converts a JsonValue object to corresponding JSON-serialized string.
-- This is an offline method. Can be called before authorization. Can be
-- called synchronously
GetJsonString :: JsonValue -> GetJsonString
-- | The JsonValue object
[$sel:jsonValue:GetJsonString] :: GetJsonString -> JsonValue
-- | Parameter of Function setPollAnswer
data SetPollAnswer
-- | Changes the user answer to a poll. A poll in quiz mode can be answered
-- only once
SetPollAnswer :: I53 -> I53 -> [I32] -> SetPollAnswer
-- | Identifier of the chat to which the poll belongs
[$sel:chatId:SetPollAnswer] :: SetPollAnswer -> I53
-- | Identifier of the message containing the poll
[$sel:messageId:SetPollAnswer] :: SetPollAnswer -> I53
-- | 0-based identifiers of answer options, chosen by the user. User can
-- choose more than 1 answer option only is the poll allows multiple
-- answers
[$sel:optionIds:SetPollAnswer] :: SetPollAnswer -> [I32]
-- | Parameter of Function getPollVoters
data GetPollVoters
-- | Returns users voted for the specified option in a non-anonymous polls.
-- For the optimal performance the number of returned users is chosen by
-- the library
GetPollVoters :: I53 -> I53 -> I32 -> I32 -> I32 -> GetPollVoters
-- | Identifier of the chat to which the poll belongs
[$sel:chatId:GetPollVoters] :: GetPollVoters -> I53
-- | Identifier of the message containing the poll
[$sel:messageId:GetPollVoters] :: GetPollVoters -> I53
-- | 0-based identifier of the answer option
[$sel:optionId:GetPollVoters] :: GetPollVoters -> I32
-- | Number of users to skip in the result; must be non-negative
[$sel:offset:GetPollVoters] :: GetPollVoters -> I32
-- | The maximum number of users to be returned; must be positive and can't
-- be greater than 50. Fewer users may be returned than specified by the
-- limit, even if the end of the voter list has not been reached
[$sel:limit:GetPollVoters] :: GetPollVoters -> I32
-- | Parameter of Function stopPoll
data StopPoll
-- | Stops a poll. A poll in a message can be stopped when the message has
-- can_be_edited flag set
StopPoll :: I53 -> I53 -> ReplyMarkup -> StopPoll
-- | Identifier of the chat to which the poll belongs
[$sel:chatId:StopPoll] :: StopPoll -> I53
-- | Identifier of the message containing the poll
[$sel:messageId:StopPoll] :: StopPoll -> I53
-- | The new message reply markup; for bots only
[$sel:replyMarkup:StopPoll] :: StopPoll -> ReplyMarkup
-- | Parameter of Function getLoginUrlInfo
data GetLoginUrlInfo
-- | Returns information about a button of type
-- inlineKeyboardButtonTypeLoginUrl. The method needs to be called when
-- the user presses the button
GetLoginUrlInfo :: I53 -> I53 -> I32 -> GetLoginUrlInfo
-- | Chat identifier of the message with the button
[$sel:chatId:GetLoginUrlInfo] :: GetLoginUrlInfo -> I53
-- | Message identifier of the message with the button
[$sel:messageId:GetLoginUrlInfo] :: GetLoginUrlInfo -> I53
-- | Button identifier
[$sel:buttonId:GetLoginUrlInfo] :: GetLoginUrlInfo -> I32
-- | Parameter of Function getLoginUrl
data GetLoginUrl
-- | Returns an HTTP URL which can be used to automatically authorize the
-- user on a website after clicking an inline button of type
-- inlineKeyboardButtonTypeLoginUrl.
GetLoginUrl :: I53 -> I53 -> I32 -> Bool -> GetLoginUrl
-- | Chat identifier of the message with the button
[$sel:chatId:GetLoginUrl] :: GetLoginUrl -> I53
-- | Message identifier of the message with the button
[$sel:messageId:GetLoginUrl] :: GetLoginUrl -> I53
-- | Button identifier
[$sel:buttonId:GetLoginUrl] :: GetLoginUrl -> I32
-- | True, if the user allowed the bot to send them messages
[$sel:allowWriteAccess:GetLoginUrl] :: GetLoginUrl -> Bool
-- | Parameter of Function getInlineQueryResults
data GetInlineQueryResults
-- | Sends an inline query to a bot and returns its results. Returns an
-- error with code 502 if the bot fails to answer the query before the
-- query timeout expires
GetInlineQueryResults :: I32 -> I53 -> Location -> T -> T -> GetInlineQueryResults
-- | The identifier of the target bot
[$sel:botUserId:GetInlineQueryResults] :: GetInlineQueryResults -> I32
-- | Identifier of the chat where the query was sent
[$sel:chatId:GetInlineQueryResults] :: GetInlineQueryResults -> I53
-- | Location of the user, only if needed
[$sel:userLocation:GetInlineQueryResults] :: GetInlineQueryResults -> Location
-- | Text of the query
[$sel:query:GetInlineQueryResults] :: GetInlineQueryResults -> T
-- | Offset of the first entry to return
[$sel:offset:GetInlineQueryResults] :: GetInlineQueryResults -> T
-- | Parameter of Function answerInlineQuery
data AnswerInlineQuery
-- | Sets the result of an inline query; for bots only
AnswerInlineQuery :: I64 -> Bool -> [InputInlineQueryResult] -> I32 -> T -> T -> T -> AnswerInlineQuery
-- | Identifier of the inline query
[$sel:inlineQueryId:AnswerInlineQuery] :: AnswerInlineQuery -> I64
-- | True, if the result of the query can be cached for the specified user
[$sel:isPersonal:AnswerInlineQuery] :: AnswerInlineQuery -> Bool
-- | The results of the query
[$sel:results:AnswerInlineQuery] :: AnswerInlineQuery -> [InputInlineQueryResult]
-- | Allowed time to cache the results of the query, in seconds
[$sel:cacheTime:AnswerInlineQuery] :: AnswerInlineQuery -> I32
-- | Offset for the next inline query; pass an empty string if there are no
-- more results
[$sel:nextOffset:AnswerInlineQuery] :: AnswerInlineQuery -> T
-- | If non-empty, this text should be shown on the button that opens a
-- private chat with the bot and sends a start message to the bot with
-- the parameter switch_pm_parameter
[$sel:switchPmText:AnswerInlineQuery] :: AnswerInlineQuery -> T
-- | The parameter for the bot start message
[$sel:switchPmParameter:AnswerInlineQuery] :: AnswerInlineQuery -> T
-- | Parameter of Function getCallbackQueryAnswer
data GetCallbackQueryAnswer
-- | Sends a callback query to a bot and returns an answer. Returns an
-- error with code 502 if the bot fails to answer the query before the
-- query timeout expires
GetCallbackQueryAnswer :: I53 -> I53 -> CallbackQueryPayload -> GetCallbackQueryAnswer
-- | Identifier of the chat with the message
[$sel:chatId:GetCallbackQueryAnswer] :: GetCallbackQueryAnswer -> I53
-- | Identifier of the message from which the query originated
[$sel:messageId:GetCallbackQueryAnswer] :: GetCallbackQueryAnswer -> I53
-- | Query payload
[$sel:payload:GetCallbackQueryAnswer] :: GetCallbackQueryAnswer -> CallbackQueryPayload
-- | Parameter of Function answerCallbackQuery
data AnswerCallbackQuery
-- | Sets the result of a callback query; for bots only
AnswerCallbackQuery :: I64 -> T -> Bool -> T -> I32 -> AnswerCallbackQuery
-- | Identifier of the callback query
[$sel:callbackQueryId:AnswerCallbackQuery] :: AnswerCallbackQuery -> I64
-- | Text of the answer
[$sel:text:AnswerCallbackQuery] :: AnswerCallbackQuery -> T
-- | If true, an alert should be shown to the user instead of a toast
-- notification
[$sel:showAlert:AnswerCallbackQuery] :: AnswerCallbackQuery -> Bool
-- | URL to be opened
[$sel:url:AnswerCallbackQuery] :: AnswerCallbackQuery -> T
-- | Time during which the result of the query can be cached, in seconds
[$sel:cacheTime:AnswerCallbackQuery] :: AnswerCallbackQuery -> I32
-- | Parameter of Function answerShippingQuery
data AnswerShippingQuery
-- | Sets the result of a shipping query; for bots only
AnswerShippingQuery :: I64 -> [ShippingOption] -> T -> AnswerShippingQuery
-- | Identifier of the shipping query
[$sel:shippingQueryId:AnswerShippingQuery] :: AnswerShippingQuery -> I64
-- | Available shipping options
[$sel:shippingOptions:AnswerShippingQuery] :: AnswerShippingQuery -> [ShippingOption]
-- | An error message, empty on success
[$sel:errorMessage:AnswerShippingQuery] :: AnswerShippingQuery -> T
-- | Parameter of Function answerPreCheckoutQuery
data AnswerPreCheckoutQuery
-- | Sets the result of a pre-checkout query; for bots only
AnswerPreCheckoutQuery :: I64 -> T -> AnswerPreCheckoutQuery
-- | Identifier of the pre-checkout query
[$sel:preCheckoutQueryId:AnswerPreCheckoutQuery] :: AnswerPreCheckoutQuery -> I64
-- | An error message, empty on success
[$sel:errorMessage:AnswerPreCheckoutQuery] :: AnswerPreCheckoutQuery -> T
-- | Parameter of Function setGameScore
data SetGameScore
-- | Updates the game score of the specified user in the game; for bots
-- only
SetGameScore :: I53 -> I53 -> Bool -> I32 -> I32 -> Bool -> SetGameScore
-- | The chat to which the message with the game belongs
[$sel:chatId:SetGameScore] :: SetGameScore -> I53
-- | Identifier of the message
[$sel:messageId:SetGameScore] :: SetGameScore -> I53
-- | True, if the message should be edited
[$sel:editMessage:SetGameScore] :: SetGameScore -> Bool
-- | User identifier
[$sel:userId:SetGameScore] :: SetGameScore -> I32
-- | The new score
[$sel:score:SetGameScore] :: SetGameScore -> I32
-- | Pass true to update the score even if it decreases. If the score is 0,
-- the user will be deleted from the high score table
[$sel:force:SetGameScore] :: SetGameScore -> Bool
-- | Parameter of Function setInlineGameScore
data SetInlineGameScore
-- | Updates the game score of the specified user in a game; for bots only
SetInlineGameScore :: T -> Bool -> I32 -> I32 -> Bool -> SetInlineGameScore
-- | Inline message identifier
[$sel:inlineMessageId:SetInlineGameScore] :: SetInlineGameScore -> T
-- | True, if the message should be edited
[$sel:editMessage:SetInlineGameScore] :: SetInlineGameScore -> Bool
-- | User identifier
[$sel:userId:SetInlineGameScore] :: SetInlineGameScore -> I32
-- | The new score
[$sel:score:SetInlineGameScore] :: SetInlineGameScore -> I32
-- | Pass true to update the score even if it decreases. If the score is 0,
-- the user will be deleted from the high score table
[$sel:force:SetInlineGameScore] :: SetInlineGameScore -> Bool
-- | Parameter of Function getGameHighScores
data GetGameHighScores
-- | Returns the high scores for a game and some part of the high score
-- table in the range of the specified user; for bots only
GetGameHighScores :: I53 -> I53 -> I32 -> GetGameHighScores
-- | The chat that contains the message with the game
[$sel:chatId:GetGameHighScores] :: GetGameHighScores -> I53
-- | Identifier of the message
[$sel:messageId:GetGameHighScores] :: GetGameHighScores -> I53
-- | User identifier
[$sel:userId:GetGameHighScores] :: GetGameHighScores -> I32
-- | Parameter of Function getInlineGameHighScores
data GetInlineGameHighScores
-- | Returns game high scores and some part of the high score table in the
-- range of the specified user; for bots only
GetInlineGameHighScores :: T -> I32 -> GetInlineGameHighScores
-- | Inline message identifier
[$sel:inlineMessageId:GetInlineGameHighScores] :: GetInlineGameHighScores -> T
-- | User identifier
[$sel:userId:GetInlineGameHighScores] :: GetInlineGameHighScores -> I32
-- | Parameter of Function deleteChatReplyMarkup
data DeleteChatReplyMarkup
-- | Deletes the default reply markup from a chat. Must be called after a
-- one-time keyboard or a ForceReply reply markup has been used.
-- UpdateChatReplyMarkup will be sent if the reply markup will be changed
DeleteChatReplyMarkup :: I53 -> I53 -> DeleteChatReplyMarkup
-- | Chat identifier
[$sel:chatId:DeleteChatReplyMarkup] :: DeleteChatReplyMarkup -> I53
-- | The message identifier of the used keyboard
[$sel:messageId:DeleteChatReplyMarkup] :: DeleteChatReplyMarkup -> I53
-- | Parameter of Function sendChatAction
data SendChatAction
-- | Sends a notification about user activity in a chat
SendChatAction :: I53 -> ChatAction -> SendChatAction
-- | Chat identifier
[$sel:chatId:SendChatAction] :: SendChatAction -> I53
-- | The action description
[$sel:action:SendChatAction] :: SendChatAction -> ChatAction
-- | Parameter of Function openChat
data OpenChat
-- | Informs TDLib that the chat is opened by the user. Many useful
-- activities depend on the chat being opened or closed (e.g., in
-- supergroups and channels all updates are received only for opened
-- chats)
OpenChat :: I53 -> OpenChat
-- | Chat identifier
[$sel:chatId:OpenChat] :: OpenChat -> I53
-- | Parameter of Function closeChat
data CloseChat
-- | Informs TDLib that the chat is closed by the user. Many useful
-- activities depend on the chat being opened or closed
CloseChat :: I53 -> CloseChat
-- | Chat identifier
[$sel:chatId:CloseChat] :: CloseChat -> I53
-- | Parameter of Function viewMessages
data ViewMessages
-- | Informs TDLib that messages are being viewed by the user. Many useful
-- activities depend on whether the messages are currently being viewed
-- or not (e.g., marking messages as read, incrementing a view counter,
-- updating a view counter, removing deleted messages in supergroups and
-- channels)
ViewMessages :: I53 -> [I53] -> Bool -> ViewMessages
-- | Chat identifier
[$sel:chatId:ViewMessages] :: ViewMessages -> I53
-- | The identifiers of the messages being viewed
[$sel:messageIds:ViewMessages] :: ViewMessages -> [I53]
-- | True, if messages in closed chats should be marked as read
[$sel:forceRead:ViewMessages] :: ViewMessages -> Bool
-- | Parameter of Function openMessageContent
data OpenMessageContent
-- | Informs TDLib that the message content has been opened (e.g., the user
-- has opened a photo, video, document, location or venue, or has
-- listened to an audio file or voice note message). An
-- updateMessageContentOpened update will be generated if something has
-- changed
OpenMessageContent :: I53 -> I53 -> OpenMessageContent
-- | Chat identifier of the message
[$sel:chatId:OpenMessageContent] :: OpenMessageContent -> I53
-- | Identifier of the message with the opened content
[$sel:messageId:OpenMessageContent] :: OpenMessageContent -> I53
-- | Parameter of Function readAllChatMentions
data ReadAllChatMentions
-- | Marks all mentions in a chat as read
ReadAllChatMentions :: I53 -> ReadAllChatMentions
-- | Chat identifier
[$sel:chatId:ReadAllChatMentions] :: ReadAllChatMentions -> I53
-- | Parameter of Function createPrivateChat
data CreatePrivateChat
-- | Returns an existing chat corresponding to a given user
CreatePrivateChat :: I32 -> Bool -> CreatePrivateChat
-- | User identifier
[$sel:userId:CreatePrivateChat] :: CreatePrivateChat -> I32
-- | If true, the chat will be created without network request. In this
-- case all information about the chat except its type, title and photo
-- can be incorrect
[$sel:force:CreatePrivateChat] :: CreatePrivateChat -> Bool
-- | Parameter of Function createBasicGroupChat
data CreateBasicGroupChat
-- | Returns an existing chat corresponding to a known basic group
CreateBasicGroupChat :: I32 -> Bool -> CreateBasicGroupChat
-- | Basic group identifier
[$sel:basicGroupId:CreateBasicGroupChat] :: CreateBasicGroupChat -> I32
-- | If true, the chat will be created without network request. In this
-- case all information about the chat except its type, title and photo
-- can be incorrect
[$sel:force:CreateBasicGroupChat] :: CreateBasicGroupChat -> Bool
-- | Parameter of Function createSupergroupChat
data CreateSupergroupChat
-- | Returns an existing chat corresponding to a known supergroup or
-- channel
CreateSupergroupChat :: I32 -> Bool -> CreateSupergroupChat
-- | Supergroup or channel identifier
[$sel:supergroupId:CreateSupergroupChat] :: CreateSupergroupChat -> I32
-- | If true, the chat will be created without network request. In this
-- case all information about the chat except its type, title and photo
-- can be incorrect
[$sel:force:CreateSupergroupChat] :: CreateSupergroupChat -> Bool
-- | Parameter of Function createSecretChat
data CreateSecretChat
-- | Returns an existing chat corresponding to a known secret chat
CreateSecretChat :: I32 -> CreateSecretChat
-- | Secret chat identifier
[$sel:secretChatId:CreateSecretChat] :: CreateSecretChat -> I32
-- | Parameter of Function createNewBasicGroupChat
data CreateNewBasicGroupChat
-- | Creates a new basic group and sends a corresponding
-- messageBasicGroupChatCreate. Returns the newly created chat
CreateNewBasicGroupChat :: [I32] -> T -> CreateNewBasicGroupChat
-- | Identifiers of users to be added to the basic group
[$sel:userIds:CreateNewBasicGroupChat] :: CreateNewBasicGroupChat -> [I32]
-- | Title of the new basic group; 1-128 characters
[$sel:title:CreateNewBasicGroupChat] :: CreateNewBasicGroupChat -> T
-- | Parameter of Function createNewSupergroupChat
data CreateNewSupergroupChat
-- | Creates a new supergroup or channel and sends a corresponding
-- messageSupergroupChatCreate. Returns the newly created chat
CreateNewSupergroupChat :: T -> Bool -> T -> ChatLocation -> CreateNewSupergroupChat
-- | Title of the new chat; 1-128 characters
[$sel:title:CreateNewSupergroupChat] :: CreateNewSupergroupChat -> T
-- | True, if a channel chat should be created
[$sel:isChannel:CreateNewSupergroupChat] :: CreateNewSupergroupChat -> Bool
-- | Creates a new supergroup or channel and sends a corresponding
-- messageSupergroupChatCreate. Returns the newly created chat
[$sel:description:CreateNewSupergroupChat] :: CreateNewSupergroupChat -> T
-- | Chat location if a location-based supergroup is being created
[$sel:location:CreateNewSupergroupChat] :: CreateNewSupergroupChat -> ChatLocation
-- | Parameter of Function createNewSecretChat
data CreateNewSecretChat
-- | Creates a new secret chat. Returns the newly created chat
CreateNewSecretChat :: I32 -> CreateNewSecretChat
-- | Identifier of the target user
[$sel:userId:CreateNewSecretChat] :: CreateNewSecretChat -> I32
-- | Parameter of Function upgradeBasicGroupChatToSupergroupChat
data UpgradeBasicGroupChatToSupergroupChat
-- | Creates a new supergroup from an existing basic group and sends a
-- corresponding messageChatUpgradeTo and messageChatUpgradeFrom;
-- requires creator privileges. Deactivates the original basic group
UpgradeBasicGroupChatToSupergroupChat :: I53 -> UpgradeBasicGroupChatToSupergroupChat
-- | Identifier of the chat to upgrade
[$sel:chatId:UpgradeBasicGroupChatToSupergroupChat] :: UpgradeBasicGroupChatToSupergroupChat -> I53
-- | Parameter of Function getChatListsToAddChat
data GetChatListsToAddChat
-- | Returns chat lists to which the chat can be added. This is an offline
-- request
GetChatListsToAddChat :: I53 -> GetChatListsToAddChat
-- | Chat identifier
[$sel:chatId:GetChatListsToAddChat] :: GetChatListsToAddChat -> I53
-- | Parameter of Function addChatToList
data AddChatToList
-- | Adds a chat to a chat list. A chat can't be simultaneously in Main and
-- Archive chat lists, so it is automatically removed from another one if
-- needed
AddChatToList :: I53 -> ChatList -> AddChatToList
-- | Chat identifier
[$sel:chatId:AddChatToList] :: AddChatToList -> I53
-- | The chat list. Use getChatListsToAddChat to get suitable chat lists
[$sel:chatList:AddChatToList] :: AddChatToList -> ChatList
-- | Parameter of Function getChatFilter
data GetChatFilter
-- | Returns information about a chat filter by its identifier
GetChatFilter :: I32 -> GetChatFilter
-- | Chat filter identifier
[$sel:chatFilterId:GetChatFilter] :: GetChatFilter -> I32
-- | Parameter of Function createChatFilter
data CreateChatFilter
-- | Creates new chat filter. Returns information about the created chat
-- filter
CreateChatFilter :: ChatFilter -> CreateChatFilter
-- | Chat filter
[$sel:filter:CreateChatFilter] :: CreateChatFilter -> ChatFilter
-- | Parameter of Function editChatFilter
data EditChatFilter
-- | Edits existing chat filter. Returns information about the edited chat
-- filter
EditChatFilter :: I32 -> ChatFilter -> EditChatFilter
-- | Chat filter identifier
[$sel:chatFilterId:EditChatFilter] :: EditChatFilter -> I32
-- | The edited chat filter
[$sel:filter:EditChatFilter] :: EditChatFilter -> ChatFilter
-- | Parameter of Function deleteChatFilter
data DeleteChatFilter
-- | Deletes existing chat filter
DeleteChatFilter :: I32 -> DeleteChatFilter
-- | Chat filter identifier
[$sel:chatFilterId:DeleteChatFilter] :: DeleteChatFilter -> I32
-- | Parameter of Function reorderChatFilters
data ReorderChatFilters
-- | Changes the order of chat filters
ReorderChatFilters :: [I32] -> ReorderChatFilters
-- | Identifiers of chat filters in the new correct order
[$sel:chatFilterIds:ReorderChatFilters] :: ReorderChatFilters -> [I32]
-- | Parameter of Function getRecommendedChatFilters
data GetRecommendedChatFilters
-- | Returns recommended chat filters for the current user
GetRecommendedChatFilters :: GetRecommendedChatFilters
-- | Parameter of Function getChatFilterDefaultIconName
data GetChatFilterDefaultIconName
-- | Returns default icon name for a filter. This is an offline method. Can
-- be called before authorization. Can be called synchronously
GetChatFilterDefaultIconName :: ChatFilter -> GetChatFilterDefaultIconName
-- | Chat filter
[$sel:filter:GetChatFilterDefaultIconName] :: GetChatFilterDefaultIconName -> ChatFilter
-- | Parameter of Function setChatTitle
data SetChatTitle
-- | Changes the chat title. Supported only for basic groups, supergroups
-- and channels. Requires can_change_info rights. The title will not be
-- changed until the request to the server has been completed
SetChatTitle :: I53 -> T -> SetChatTitle
-- | Chat identifier
[$sel:chatId:SetChatTitle] :: SetChatTitle -> I53
-- | New title of the chat; 1-128 characters
[$sel:title:SetChatTitle] :: SetChatTitle -> T
-- | Parameter of Function setChatPhoto
data SetChatPhoto
-- | Changes the photo of a chat. Supported only for basic groups,
-- supergroups and channels. Requires can_change_info rights. The photo
-- will not be changed before request to the server has been completed
SetChatPhoto :: I53 -> InputFile -> SetChatPhoto
-- | Chat identifier
[$sel:chatId:SetChatPhoto] :: SetChatPhoto -> I53
-- | New chat photo. You can use a zero InputFileId to delete the chat
-- photo. Files that are accessible only by HTTP URL are not acceptable
[$sel:photo:SetChatPhoto] :: SetChatPhoto -> InputFile
-- | Parameter of Function setChatPermissions
data SetChatPermissions
-- | Changes the chat members permissions. Supported only for basic groups
-- and supergroups. Requires can_restrict_members administrator right
SetChatPermissions :: I53 -> ChatPermissions -> SetChatPermissions
-- | Chat identifier
[$sel:chatId:SetChatPermissions] :: SetChatPermissions -> I53
-- | New non-administrator members permissions in the chat
[$sel:permissions:SetChatPermissions] :: SetChatPermissions -> ChatPermissions
-- | Parameter of Function setChatDraftMessage
data SetChatDraftMessage
-- | Changes the draft message in a chat
SetChatDraftMessage :: I53 -> Maybe DraftMessage -> SetChatDraftMessage
-- | Chat identifier
[$sel:chatId:SetChatDraftMessage] :: SetChatDraftMessage -> I53
-- | New draft message; may be null
[$sel:draftMessage:SetChatDraftMessage] :: SetChatDraftMessage -> Maybe DraftMessage
-- | Parameter of Function setChatNotificationSettings
data SetChatNotificationSettings
-- | Changes the notification settings of a chat. Notification settings of
-- a chat with the current user (Saved Messages) can't be changed
SetChatNotificationSettings :: I53 -> ChatNotificationSettings -> SetChatNotificationSettings
-- | Chat identifier
[$sel:chatId:SetChatNotificationSettings] :: SetChatNotificationSettings -> I53
-- | New notification settings for the chat. If the chat is muted for more
-- than 1 week, it is considered to be muted forever
[$sel:notificationSettings:SetChatNotificationSettings] :: SetChatNotificationSettings -> ChatNotificationSettings
-- | Parameter of Function toggleChatIsMarkedAsUnread
data ToggleChatIsMarkedAsUnread
-- | Changes the marked as unread state of a chat
ToggleChatIsMarkedAsUnread :: I53 -> Bool -> ToggleChatIsMarkedAsUnread
-- | Chat identifier
[$sel:chatId:ToggleChatIsMarkedAsUnread] :: ToggleChatIsMarkedAsUnread -> I53
-- | New value of is_marked_as_unread
[$sel:isMarkedAsUnread:ToggleChatIsMarkedAsUnread] :: ToggleChatIsMarkedAsUnread -> Bool
-- | Parameter of Function toggleChatDefaultDisableNotification
data ToggleChatDefaultDisableNotification
-- | Changes the value of the default disable_notification parameter, used
-- when a message is sent to a chat
ToggleChatDefaultDisableNotification :: I53 -> Bool -> ToggleChatDefaultDisableNotification
-- | Chat identifier
[$sel:chatId:ToggleChatDefaultDisableNotification] :: ToggleChatDefaultDisableNotification -> I53
-- | New value of default_disable_notification
[$sel:defaultDisableNotification:ToggleChatDefaultDisableNotification] :: ToggleChatDefaultDisableNotification -> Bool
-- | Parameter of Function setChatClientData
data SetChatClientData
-- | Changes client data associated with a chat
SetChatClientData :: I53 -> T -> SetChatClientData
-- | Chat identifier
[$sel:chatId:SetChatClientData] :: SetChatClientData -> I53
-- | New value of client_data
[$sel:clientData:SetChatClientData] :: SetChatClientData -> T
-- | Parameter of Function setChatDescription
data SetChatDescription
-- | Changes information about a chat. Available for basic groups,
-- supergroups, and channels. Requires can_change_info rights
SetChatDescription :: I53 -> T -> SetChatDescription
-- | Identifier of the chat
[$sel:chatId:SetChatDescription] :: SetChatDescription -> I53
-- | Changes information about a chat. Available for basic groups,
-- supergroups, and channels. Requires can_change_info rights
[$sel:description:SetChatDescription] :: SetChatDescription -> T
-- | Parameter of Function setChatDiscussionGroup
data SetChatDiscussionGroup
-- | Changes the discussion group of a channel chat; requires
-- can_change_info rights in the channel if it is specified
SetChatDiscussionGroup :: I53 -> I53 -> SetChatDiscussionGroup
-- | Identifier of the channel chat. Pass 0 to remove a link from the
-- supergroup passed in the second argument to a linked channel chat
-- (requires can_pin_messages rights in the supergroup)
[$sel:chatId:SetChatDiscussionGroup] :: SetChatDiscussionGroup -> I53
-- | Identifier of a new channel's discussion group. Use 0 to remove the
-- discussion group.
[$sel:discussionChatId:SetChatDiscussionGroup] :: SetChatDiscussionGroup -> I53
-- | Parameter of Function setChatLocation
data SetChatLocation
-- | Changes the location of a chat. Available only for some location-based
-- supergroups, use supergroupFullInfo.can_set_location to check whether
-- the method is allowed to use
SetChatLocation :: I53 -> ChatLocation -> SetChatLocation
-- | Chat identifier
[$sel:chatId:SetChatLocation] :: SetChatLocation -> I53
-- | New location for the chat; must be valid and not null
[$sel:location:SetChatLocation] :: SetChatLocation -> ChatLocation
-- | Parameter of Function setChatSlowModeDelay
data SetChatSlowModeDelay
-- | Changes the slow mode delay of a chat. Available only for supergroups;
-- requires can_restrict_members rights
SetChatSlowModeDelay :: I53 -> I32 -> SetChatSlowModeDelay
-- | Chat identifier
[$sel:chatId:SetChatSlowModeDelay] :: SetChatSlowModeDelay -> I53
-- | New slow mode delay for the chat; must be one of 0, 10, 30, 60, 300,
-- 900, 3600
[$sel:slowModeDelay:SetChatSlowModeDelay] :: SetChatSlowModeDelay -> I32
-- | Parameter of Function pinChatMessage
data PinChatMessage
-- | Pins a message in a chat; requires can_pin_messages rights
PinChatMessage :: I53 -> I53 -> Bool -> PinChatMessage
-- | Identifier of the chat
[$sel:chatId:PinChatMessage] :: PinChatMessage -> I53
-- | Identifier of the new pinned message
[$sel:messageId:PinChatMessage] :: PinChatMessage -> I53
-- | True, if there should be no notification about the pinned message
[$sel:disableNotification:PinChatMessage] :: PinChatMessage -> Bool
-- | Parameter of Function unpinChatMessage
data UnpinChatMessage
-- | Removes the pinned message from a chat; requires can_pin_messages
-- rights in the group or channel
UnpinChatMessage :: I53 -> UnpinChatMessage
-- | Identifier of the chat
[$sel:chatId:UnpinChatMessage] :: UnpinChatMessage -> I53
-- | Parameter of Function joinChat
data JoinChat
-- | Adds current user as a new member to a chat. Private and secret chats
-- can't be joined using this method
JoinChat :: I53 -> JoinChat
-- | Chat identifier
[$sel:chatId:JoinChat] :: JoinChat -> I53
-- | Parameter of Function leaveChat
data LeaveChat
-- | Removes current user from chat members. Private and secret chats can't
-- be left using this method
LeaveChat :: I53 -> LeaveChat
-- | Chat identifier
[$sel:chatId:LeaveChat] :: LeaveChat -> I53
-- | Parameter of Function addChatMember
data AddChatMember
-- | Adds a new member to a chat. Members can't be added to private or
-- secret chats. Members will not be added until the chat state has been
-- synchronized with the server
AddChatMember :: I53 -> I32 -> I32 -> AddChatMember
-- | Chat identifier
[$sel:chatId:AddChatMember] :: AddChatMember -> I53
-- | Identifier of the user
[$sel:userId:AddChatMember] :: AddChatMember -> I32
-- | The number of earlier messages from the chat to be forwarded to the
-- new member; up to 100. Ignored for supergroups and channels
[$sel:forwardLimit:AddChatMember] :: AddChatMember -> I32
-- | Parameter of Function addChatMembers
data AddChatMembers
-- | Adds multiple new members to a chat. Currently this option is only
-- available for supergroups and channels. This option can't be used to
-- join a chat. Members can't be added to a channel if it has more than
-- 200 members. Members will not be added until the chat state has been
-- synchronized with the server
AddChatMembers :: I53 -> [I32] -> AddChatMembers
-- | Chat identifier
[$sel:chatId:AddChatMembers] :: AddChatMembers -> I53
-- | Identifiers of the users to be added to the chat
[$sel:userIds:AddChatMembers] :: AddChatMembers -> [I32]
-- | Parameter of Function setChatMemberStatus
data SetChatMemberStatus
-- | Changes the status of a chat member, needs appropriate privileges.
-- This function is currently not suitable for adding new members to the
-- chat and transferring chat ownership; instead, use addChatMember or
-- transferChatOwnership. The chat member status will not be changed
-- until it has been synchronized with the server
SetChatMemberStatus :: I53 -> I32 -> ChatMemberStatus -> SetChatMemberStatus
-- | Chat identifier
[$sel:chatId:SetChatMemberStatus] :: SetChatMemberStatus -> I53
-- | User identifier
[$sel:userId:SetChatMemberStatus] :: SetChatMemberStatus -> I32
-- | The new status of the member in the chat
[$sel:status:SetChatMemberStatus] :: SetChatMemberStatus -> ChatMemberStatus
-- | Parameter of Function canTransferOwnership
data CanTransferOwnership
-- | Checks whether the current session can be used to transfer a chat
-- ownership to another user
CanTransferOwnership :: CanTransferOwnership
-- | Parameter of Function transferChatOwnership
data TransferChatOwnership
-- | Changes the owner of a chat. The current user must be a current owner
-- of the chat. Use the method canTransferOwnership to check whether the
-- ownership can be transferred from the current session. Available only
-- for supergroups and channel chats
TransferChatOwnership :: I53 -> I32 -> T -> TransferChatOwnership
-- | Chat identifier
[$sel:chatId:TransferChatOwnership] :: TransferChatOwnership -> I53
-- | Identifier of the user to which transfer the ownership. The ownership
-- can't be transferred to a bot or to a deleted user
[$sel:userId:TransferChatOwnership] :: TransferChatOwnership -> I32
-- | The password of the current user
[$sel:password:TransferChatOwnership] :: TransferChatOwnership -> T
-- | Parameter of Function getChatMember
data GetChatMember
-- | Returns information about a single member of a chat
GetChatMember :: I53 -> I32 -> GetChatMember
-- | Chat identifier
[$sel:chatId:GetChatMember] :: GetChatMember -> I53
-- | User identifier
[$sel:userId:GetChatMember] :: GetChatMember -> I32
-- | Parameter of Function searchChatMembers
data SearchChatMembers
-- | Searches for a specified query in the first name, last name and
-- username of the members of a specified chat. Requires administrator
-- rights in channels
SearchChatMembers :: I53 -> T -> I32 -> ChatMembersFilter -> SearchChatMembers
-- | Chat identifier
[$sel:chatId:SearchChatMembers] :: SearchChatMembers -> I53
-- | Query to search for
[$sel:query:SearchChatMembers] :: SearchChatMembers -> T
-- | The maximum number of users to be returned
[$sel:limit:SearchChatMembers] :: SearchChatMembers -> I32
-- | The type of users to return. By default, chatMembersFilterMembers
[$sel:filter:SearchChatMembers] :: SearchChatMembers -> ChatMembersFilter
-- | Parameter of Function getChatAdministrators
data GetChatAdministrators
-- | Returns a list of administrators of the chat with their custom titles
GetChatAdministrators :: I53 -> GetChatAdministrators
-- | Chat identifier
[$sel:chatId:GetChatAdministrators] :: GetChatAdministrators -> I53
-- | Parameter of Function clearAllDraftMessages
data ClearAllDraftMessages
-- | Clears draft messages in all chats
ClearAllDraftMessages :: Bool -> ClearAllDraftMessages
-- | If true, local draft messages in secret chats will not be cleared
[$sel:excludeSecretChats:ClearAllDraftMessages] :: ClearAllDraftMessages -> Bool
-- | Parameter of Function getChatNotificationSettingsExceptions
data GetChatNotificationSettingsExceptions
-- | Returns list of chats with non-default notification settings
GetChatNotificationSettingsExceptions :: NotificationSettingsScope -> Bool -> GetChatNotificationSettingsExceptions
-- | If specified, only chats from the specified scope will be returned
[$sel:scope:GetChatNotificationSettingsExceptions] :: GetChatNotificationSettingsExceptions -> NotificationSettingsScope
-- | If true, also chats with non-default sound will be returned
[$sel:compareSound:GetChatNotificationSettingsExceptions] :: GetChatNotificationSettingsExceptions -> Bool
-- | Parameter of Function getScopeNotificationSettings
data GetScopeNotificationSettings
-- | Returns the notification settings for chats of a given type
GetScopeNotificationSettings :: NotificationSettingsScope -> GetScopeNotificationSettings
-- | Types of chats for which to return the notification settings
-- information
[$sel:scope:GetScopeNotificationSettings] :: GetScopeNotificationSettings -> NotificationSettingsScope
-- | Parameter of Function setScopeNotificationSettings
data SetScopeNotificationSettings
-- | Changes notification settings for chats of a given type
SetScopeNotificationSettings :: NotificationSettingsScope -> ScopeNotificationSettings -> SetScopeNotificationSettings
-- | Types of chats for which to change the notification settings
[$sel:scope:SetScopeNotificationSettings] :: SetScopeNotificationSettings -> NotificationSettingsScope
-- | The new notification settings for the given scope
[$sel:notificationSettings:SetScopeNotificationSettings] :: SetScopeNotificationSettings -> ScopeNotificationSettings
-- | Parameter of Function resetAllNotificationSettings
data ResetAllNotificationSettings
-- | Resets all notification settings to their default values. By default,
-- all chats are unmuted, the sound is set to "default" and message
-- previews are shown
ResetAllNotificationSettings :: ResetAllNotificationSettings
-- | Parameter of Function toggleChatIsPinned
data ToggleChatIsPinned
-- | Changes the pinned state of a chat. You can pin up to
-- GetOption("pinned_chat_count_max")GetOption("pinned_archived_chat_count_max")
-- non-secret chats and the same number of secret chats in the
-- mainarhive chat list
ToggleChatIsPinned :: ChatList -> I53 -> Bool -> ToggleChatIsPinned
-- | Chat list in which to change the pinned state of the chat
[$sel:chatList:ToggleChatIsPinned] :: ToggleChatIsPinned -> ChatList
-- | Chat identifier
[$sel:chatId:ToggleChatIsPinned] :: ToggleChatIsPinned -> I53
-- | True, if the chat is pinned
[$sel:isPinned:ToggleChatIsPinned] :: ToggleChatIsPinned -> Bool
-- | Parameter of Function setPinnedChats
data SetPinnedChats
-- | Changes the order of pinned chats
SetPinnedChats :: ChatList -> [I53] -> SetPinnedChats
-- | Chat list in which to change the order of pinned chats
[$sel:chatList:SetPinnedChats] :: SetPinnedChats -> ChatList
-- | The new list of pinned chats
[$sel:chatIds:SetPinnedChats] :: SetPinnedChats -> [I53]
-- | Parameter of Function downloadFile
data DownloadFile
-- | Downloads a file from the cloud. Download progress and completion of
-- the download will be notified through updateFile updates
DownloadFile :: I32 -> I32 -> I32 -> I32 -> Bool -> DownloadFile
-- | Identifier of the file to download
[$sel:fileId:DownloadFile] :: DownloadFile -> I32
-- | Priority of the download (1-32). The higher the priority, the earlier
-- the file will be downloaded. If the priorities of two files are equal,
-- then the last one for which downloadFile was called will be downloaded
-- first
[$sel:priority:DownloadFile] :: DownloadFile -> I32
-- | The starting position from which the file should be downloaded
[$sel:offset:DownloadFile] :: DownloadFile -> I32
-- | Number of bytes which should be downloaded starting from the "offset"
-- position before the download will be automatically cancelled; use 0 to
-- download without a limit
[$sel:limit:DownloadFile] :: DownloadFile -> I32
-- | If false, this request returns file state just after the download has
-- been started. If true, this request returns file state only after
[$sel:synchronous:DownloadFile] :: DownloadFile -> Bool
-- | Parameter of Function getFileDownloadedPrefixSize
data GetFileDownloadedPrefixSize
-- | Returns file downloaded prefix size from a given offset
GetFileDownloadedPrefixSize :: I32 -> I32 -> GetFileDownloadedPrefixSize
-- | Identifier of the file
[$sel:fileId:GetFileDownloadedPrefixSize] :: GetFileDownloadedPrefixSize -> I32
-- | Offset from which downloaded prefix size should be calculated
[$sel:offset:GetFileDownloadedPrefixSize] :: GetFileDownloadedPrefixSize -> I32
-- | Parameter of Function cancelDownloadFile
data CancelDownloadFile
-- | Stops the downloading of a file. If a file has already been
-- downloaded, does nothing
CancelDownloadFile :: I32 -> Bool -> CancelDownloadFile
-- | Identifier of a file to stop downloading
[$sel:fileId:CancelDownloadFile] :: CancelDownloadFile -> I32
-- | Pass true to stop downloading only if it hasn't been started, i.e.
-- request hasn't been sent to server
[$sel:onlyIfPending:CancelDownloadFile] :: CancelDownloadFile -> Bool
-- | Parameter of Function uploadFile
data UploadFile
-- | Asynchronously uploads a file to the cloud without sending it in a
-- message. updateFile will be used to notify about upload progress and
-- successful completion of the upload. The file will not have a
-- persistent remote identifier until it will be sent in a message
UploadFile :: InputFile -> FileType -> I32 -> UploadFile
-- | File to upload
[$sel:file:UploadFile] :: UploadFile -> InputFile
-- | File type
[$sel:fileType:UploadFile] :: UploadFile -> FileType
-- | Priority of the upload (1-32). The higher the priority, the earlier
-- the file will be uploaded. If the priorities of two files are equal,
-- then the first one for which uploadFile was called will be uploaded
-- first
[$sel:priority:UploadFile] :: UploadFile -> I32
-- | Parameter of Function cancelUploadFile
data CancelUploadFile
-- | Stops the uploading of a file. Supported only for files uploaded by
-- using uploadFile. For other files the behavior is undefined
CancelUploadFile :: I32 -> CancelUploadFile
-- | Identifier of the file to stop uploading
[$sel:fileId:CancelUploadFile] :: CancelUploadFile -> I32
-- | Parameter of Function writeGeneratedFilePart
data WriteGeneratedFilePart
-- | Writes a part of a generated file. This method is intended to be used
-- only if the client has no direct access to TDLib's file system,
-- because it is usually slower than a direct write to the destination
-- file
WriteGeneratedFilePart :: I64 -> I32 -> ByteString64 -> WriteGeneratedFilePart
-- | The identifier of the generation process
[$sel:generationId:WriteGeneratedFilePart] :: WriteGeneratedFilePart -> I64
-- | The offset from which to write the data to the file
[$sel:offset:WriteGeneratedFilePart] :: WriteGeneratedFilePart -> I32
-- | The data to write
[$sel:data_:WriteGeneratedFilePart] :: WriteGeneratedFilePart -> ByteString64
-- | Parameter of Function setFileGenerationProgress
data SetFileGenerationProgress
-- | Informs TDLib on a file generation progress
SetFileGenerationProgress :: I64 -> I32 -> I32 -> SetFileGenerationProgress
-- | The identifier of the generation process
[$sel:generationId:SetFileGenerationProgress] :: SetFileGenerationProgress -> I64
-- | Expected size of the generated file, in bytes; 0 if unknown
[$sel:expectedSize:SetFileGenerationProgress] :: SetFileGenerationProgress -> I32
-- | The number of bytes already generated
[$sel:localPrefixSize:SetFileGenerationProgress] :: SetFileGenerationProgress -> I32
-- | Parameter of Function finishFileGeneration
data FinishFileGeneration
-- | Finishes the file generation
FinishFileGeneration :: I64 -> Error -> FinishFileGeneration
-- | The identifier of the generation process
[$sel:generationId:FinishFileGeneration] :: FinishFileGeneration -> I64
-- | If set, means that file generation has failed and should be terminated
[$sel:error:FinishFileGeneration] :: FinishFileGeneration -> Error
-- | Parameter of Function readFilePart
data ReadFilePart
-- | Reads a part of a file from the TDLib file cache and returns read
-- bytes. This method is intended to be used only if the client has no
-- direct access to TDLib's file system, because it is usually slower
-- than a direct read from the file
ReadFilePart :: I32 -> I32 -> I32 -> ReadFilePart
-- | Identifier of the file. The file must be located in the TDLib file
-- cache
[$sel:fileId:ReadFilePart] :: ReadFilePart -> I32
-- | The offset from which to read the file
[$sel:offset:ReadFilePart] :: ReadFilePart -> I32
-- | Number of bytes to read. An error will be returned if there are not
-- enough bytes available in the file from the specified position. Pass 0
-- to read all available data from the specified position
[$sel:count:ReadFilePart] :: ReadFilePart -> I32
-- | Parameter of Function deleteFile
data DeleteFile
-- | Deletes a file from the TDLib file cache
DeleteFile :: I32 -> DeleteFile
-- | Identifier of the file to delete
[$sel:fileId:DeleteFile] :: DeleteFile -> I32
-- | Parameter of Function generateChatInviteLink
data GenerateChatInviteLink
-- | Generates a new invite link for a chat; the previously generated link
-- is revoked. Available for basic groups, supergroups, and channels.
-- Requires administrator privileges and can_invite_users right
GenerateChatInviteLink :: I53 -> GenerateChatInviteLink
-- | Chat identifier
[$sel:chatId:GenerateChatInviteLink] :: GenerateChatInviteLink -> I53
-- | Parameter of Function checkChatInviteLink
data CheckChatInviteLink
-- | Checks the validity of an invite link for a chat and returns
-- information about the corresponding chat
CheckChatInviteLink :: T -> CheckChatInviteLink
-- | Invite link to be checked; should begin with
-- "https://t.me/joinchat/",
-- "https://telegram.me/joinchat/", or
-- "https://telegram.dog/joinchat/"
[$sel:inviteLink:CheckChatInviteLink] :: CheckChatInviteLink -> T
-- | Parameter of Function joinChatByInviteLink
data JoinChatByInviteLink
-- | Uses an invite link to add the current user to the chat if possible.
-- The new member will not be added until the chat state has been
-- synchronized with the server
JoinChatByInviteLink :: T -> JoinChatByInviteLink
-- | Invite link to import; should begin with
-- "https://t.me/joinchat/",
-- "https://telegram.me/joinchat/", or
-- "https://telegram.dog/joinchat/"
[$sel:inviteLink:JoinChatByInviteLink] :: JoinChatByInviteLink -> T
-- | Parameter of Function createCall
data CreateCall
-- | Creates a new call
CreateCall :: I32 -> CallProtocol -> CreateCall
-- | Identifier of the user to be called
[$sel:userId:CreateCall] :: CreateCall -> I32
-- | Description of the call protocols supported by the client
[$sel:protocol:CreateCall] :: CreateCall -> CallProtocol
-- | Parameter of Function acceptCall
data AcceptCall
-- | Accepts an incoming call
AcceptCall :: I32 -> CallProtocol -> AcceptCall
-- | Call identifier
[$sel:callId:AcceptCall] :: AcceptCall -> I32
-- | Description of the call protocols supported by the client
[$sel:protocol:AcceptCall] :: AcceptCall -> CallProtocol
-- | Parameter of Function discardCall
data DiscardCall
-- | Discards a call
DiscardCall :: I32 -> Bool -> I32 -> I64 -> DiscardCall
-- | Call identifier
[$sel:callId:DiscardCall] :: DiscardCall -> I32
-- | True, if the user was disconnected
[$sel:isDisconnected:DiscardCall] :: DiscardCall -> Bool
-- | The call duration, in seconds
[$sel:duration:DiscardCall] :: DiscardCall -> I32
-- | Identifier of the connection used during the call
[$sel:connectionId:DiscardCall] :: DiscardCall -> I64
-- | Parameter of Function sendCallRating
data SendCallRating
-- | Sends a call rating
SendCallRating :: I32 -> I32 -> T -> [CallProblem] -> SendCallRating
-- | Call identifier
[$sel:callId:SendCallRating] :: SendCallRating -> I32
-- | Call rating; 1-5
[$sel:rating:SendCallRating] :: SendCallRating -> I32
-- | An optional user comment if the rating is less than 5
[$sel:comment:SendCallRating] :: SendCallRating -> T
-- | List of the exact types of problems with the call, specified by the
-- user
[$sel:problems:SendCallRating] :: SendCallRating -> [CallProblem]
-- | Parameter of Function sendCallDebugInformation
data SendCallDebugInformation
-- | Sends debug information for a call
SendCallDebugInformation :: I32 -> T -> SendCallDebugInformation
-- | Call identifier
[$sel:callId:SendCallDebugInformation] :: SendCallDebugInformation -> I32
-- | Debug information in application-specific format
[$sel:debugInformation:SendCallDebugInformation] :: SendCallDebugInformation -> T
-- | Parameter of Function blockUser
data BlockUser
-- | Adds a user to the blacklist
BlockUser :: I32 -> BlockUser
-- | User identifier
[$sel:userId:BlockUser] :: BlockUser -> I32
-- | Parameter of Function unblockUser
data UnblockUser
-- | Removes a user from the blacklist
UnblockUser :: I32 -> UnblockUser
-- | User identifier
[$sel:userId:UnblockUser] :: UnblockUser -> I32
-- | Parameter of Function getBlockedUsers
data GetBlockedUsers
-- | Returns users that were blocked by the current user
GetBlockedUsers :: I32 -> I32 -> GetBlockedUsers
-- | Number of users to skip in the result; must be non-negative
[$sel:offset:GetBlockedUsers] :: GetBlockedUsers -> I32
-- | The maximum number of users to return; up to 100
[$sel:limit:GetBlockedUsers] :: GetBlockedUsers -> I32
-- | Parameter of Function addContact
data AddContact
-- | Adds a user to the contact list or edits an existing contact by their
-- user identifier
AddContact :: Contact -> Bool -> AddContact
-- | The contact to add or edit; phone number can be empty and needs to be
-- specified only if known, vCard is ignored
[$sel:contact:AddContact] :: AddContact -> Contact
-- | True, if the new contact needs to be allowed to see current user's
-- phone number. A corresponding rule to
-- userPrivacySettingShowPhoneNumber will be added if needed. Use the
-- field UserFullInfo.need_phone_number_privacy_exception to check
-- whether the current user needs to be asked to share their phone number
[$sel:sharePhoneNumber:AddContact] :: AddContact -> Bool
-- | Parameter of Function importContacts
data ImportContacts
-- | Adds new contacts or edits existing contacts by their phone numbers;
-- contacts' user identifiers are ignored
ImportContacts :: [Contact] -> ImportContacts
-- | The list of contacts to import or edit; contacts' vCard are ignored
-- and are not imported
[$sel:contacts:ImportContacts] :: ImportContacts -> [Contact]
-- | Parameter of Function getContacts
data GetContacts
-- | Returns all user contacts
GetContacts :: GetContacts
-- | Parameter of Function searchContacts
data SearchContacts
-- | Searches for the specified query in the first names, last names and
-- usernames of the known user contacts
SearchContacts :: T -> I32 -> SearchContacts
-- | Query to search for; may be empty to return all contacts
[$sel:query:SearchContacts] :: SearchContacts -> T
-- | The maximum number of users to be returned
[$sel:limit:SearchContacts] :: SearchContacts -> I32
-- | Parameter of Function removeContacts
data RemoveContacts
-- | Removes users from the contact list
RemoveContacts :: [I32] -> RemoveContacts
-- | Identifiers of users to be deleted
[$sel:userIds:RemoveContacts] :: RemoveContacts -> [I32]
-- | Parameter of Function getImportedContactCount
data GetImportedContactCount
-- | Returns the total number of imported contacts
GetImportedContactCount :: GetImportedContactCount
-- | Parameter of Function changeImportedContacts
data ChangeImportedContacts
-- | Changes imported contacts using the list of current user contacts
-- saved on the device. Imports newly added contacts and, if at least the
-- file database is enabled, deletes recently deleted contacts.
ChangeImportedContacts :: [Contact] -> ChangeImportedContacts
[$sel:contacts:ChangeImportedContacts] :: ChangeImportedContacts -> [Contact]
-- | Parameter of Function clearImportedContacts
data ClearImportedContacts
-- | Clears all imported contacts, contact list remains unchanged
ClearImportedContacts :: ClearImportedContacts
-- | Parameter of Function sharePhoneNumber
data SharePhoneNumber
-- | Shares the phone number of the current user with a mutual contact.
-- Supposed to be called when the user clicks on
-- chatActionBarSharePhoneNumber
SharePhoneNumber :: I32 -> SharePhoneNumber
-- | Identifier of the user with whom to share the phone number. The user
-- must be a mutual contact
[$sel:userId:SharePhoneNumber] :: SharePhoneNumber -> I32
-- | Parameter of Function getUserProfilePhotos
data GetUserProfilePhotos
-- | Returns the profile photos of a user. The result of this query may be
-- outdated: some photos might have been deleted already
GetUserProfilePhotos :: I32 -> I32 -> I32 -> GetUserProfilePhotos
-- | User identifier
[$sel:userId:GetUserProfilePhotos] :: GetUserProfilePhotos -> I32
-- | The number of photos to skip; must be non-negative
[$sel:offset:GetUserProfilePhotos] :: GetUserProfilePhotos -> I32
-- | The maximum number of photos to be returned; up to 100
[$sel:limit:GetUserProfilePhotos] :: GetUserProfilePhotos -> I32
-- | Parameter of Function getStickers
data GetStickers
-- | Returns stickers from the installed sticker sets that correspond to a
-- given emoji. If the emoji is not empty, favorite and recently used
-- stickers may also be returned
GetStickers :: T -> I32 -> GetStickers
-- | String representation of emoji. If empty, returns all known installed
-- stickers
[$sel:emoji:GetStickers] :: GetStickers -> T
-- | The maximum number of stickers to be returned
[$sel:limit:GetStickers] :: GetStickers -> I32
-- | Parameter of Function searchStickers
data SearchStickers
-- | Searches for stickers from public sticker sets that correspond to a
-- given emoji
SearchStickers :: T -> I32 -> SearchStickers
-- | String representation of emoji; must be non-empty
[$sel:emoji:SearchStickers] :: SearchStickers -> T
-- | The maximum number of stickers to be returned
[$sel:limit:SearchStickers] :: SearchStickers -> I32
-- | Parameter of Function getInstalledStickerSets
data GetInstalledStickerSets
-- | Returns a list of installed sticker sets
GetInstalledStickerSets :: Bool -> GetInstalledStickerSets
-- | Pass true to return mask sticker sets; pass false to return ordinary
-- sticker sets
[$sel:isMasks:GetInstalledStickerSets] :: GetInstalledStickerSets -> Bool
-- | Parameter of Function getArchivedStickerSets
data GetArchivedStickerSets
-- | Returns a list of archived sticker sets
GetArchivedStickerSets :: Bool -> I64 -> I32 -> GetArchivedStickerSets
-- | Pass true to return mask stickers sets; pass false to return ordinary
-- sticker sets
[$sel:isMasks:GetArchivedStickerSets] :: GetArchivedStickerSets -> Bool
-- | Identifier of the sticker set from which to return the result
[$sel:offsetStickerSetId:GetArchivedStickerSets] :: GetArchivedStickerSets -> I64
-- | The maximum number of sticker sets to return
[$sel:limit:GetArchivedStickerSets] :: GetArchivedStickerSets -> I32
-- | Parameter of Function getTrendingStickerSets
data GetTrendingStickerSets
-- | Returns a list of trending sticker sets. For the optimal performance
-- the number of returned sticker sets is chosen by the library
GetTrendingStickerSets :: I32 -> I32 -> GetTrendingStickerSets
-- | The offset from which to return the sticker sets; must be non-negative
[$sel:offset:GetTrendingStickerSets] :: GetTrendingStickerSets -> I32
-- | The maximum number of sticker sets to be returned; must be
-- non-negative. Fewer sticker sets may be returned than specified by the
-- limit, even if the end of the list has not been reached
[$sel:limit:GetTrendingStickerSets] :: GetTrendingStickerSets -> I32
-- | Parameter of Function getAttachedStickerSets
data GetAttachedStickerSets
-- | Returns a list of sticker sets attached to a file. Currently only
-- photos and videos can have attached sticker sets
GetAttachedStickerSets :: I32 -> GetAttachedStickerSets
-- | File identifier
[$sel:fileId:GetAttachedStickerSets] :: GetAttachedStickerSets -> I32
-- | Parameter of Function getStickerSet
data GetStickerSet
-- | Returns information about a sticker set by its identifier
GetStickerSet :: I64 -> GetStickerSet
-- | Identifier of the sticker set
[$sel:setId:GetStickerSet] :: GetStickerSet -> I64
-- | Parameter of Function searchStickerSet
data SearchStickerSet
-- | Searches for a sticker set by its name
SearchStickerSet :: T -> SearchStickerSet
-- | Name of the sticker set
[$sel:name:SearchStickerSet] :: SearchStickerSet -> T
-- | Parameter of Function searchInstalledStickerSets
data SearchInstalledStickerSets
-- | Searches for installed sticker sets by looking for specified query in
-- their title and name
SearchInstalledStickerSets :: Bool -> T -> I32 -> SearchInstalledStickerSets
-- | Pass true to return mask sticker sets; pass false to return ordinary
-- sticker sets
[$sel:isMasks:SearchInstalledStickerSets] :: SearchInstalledStickerSets -> Bool
-- | Query to search for
[$sel:query:SearchInstalledStickerSets] :: SearchInstalledStickerSets -> T
-- | The maximum number of sticker sets to return
[$sel:limit:SearchInstalledStickerSets] :: SearchInstalledStickerSets -> I32
-- | Parameter of Function searchStickerSets
data SearchStickerSets
-- | Searches for ordinary sticker sets by looking for specified query in
-- their title and name. Excludes installed sticker sets from the results
SearchStickerSets :: T -> SearchStickerSets
-- | Query to search for
[$sel:query:SearchStickerSets] :: SearchStickerSets -> T
-- | Parameter of Function changeStickerSet
data ChangeStickerSet
-- | Installsuninstalls or activatesarchives a sticker set
ChangeStickerSet :: I64 -> Bool -> Bool -> ChangeStickerSet
-- | Identifier of the sticker set
[$sel:setId:ChangeStickerSet] :: ChangeStickerSet -> I64
-- | The new value of is_installed
[$sel:isInstalled:ChangeStickerSet] :: ChangeStickerSet -> Bool
-- | The new value of is_archived. A sticker set can't be installed and
-- archived simultaneously
[$sel:isArchived:ChangeStickerSet] :: ChangeStickerSet -> Bool
-- | Parameter of Function viewTrendingStickerSets
data ViewTrendingStickerSets
-- | Informs the server that some trending sticker sets have been viewed by
-- the user
ViewTrendingStickerSets :: [I64] -> ViewTrendingStickerSets
-- | Identifiers of viewed trending sticker sets
[$sel:stickerSetIds:ViewTrendingStickerSets] :: ViewTrendingStickerSets -> [I64]
-- | Parameter of Function reorderInstalledStickerSets
data ReorderInstalledStickerSets
-- | Changes the order of installed sticker sets
ReorderInstalledStickerSets :: Bool -> [I64] -> ReorderInstalledStickerSets
-- | Pass true to change the order of mask sticker sets; pass false to
-- change the order of ordinary sticker sets
[$sel:isMasks:ReorderInstalledStickerSets] :: ReorderInstalledStickerSets -> Bool
-- | Identifiers of installed sticker sets in the new correct order
[$sel:stickerSetIds:ReorderInstalledStickerSets] :: ReorderInstalledStickerSets -> [I64]
-- | Parameter of Function getRecentStickers
data GetRecentStickers
-- | Returns a list of recently used stickers
GetRecentStickers :: Bool -> GetRecentStickers
-- | Pass true to return stickers and masks that were recently attached to
-- photos or video files; pass false to return recently sent stickers
[$sel:isAttached:GetRecentStickers] :: GetRecentStickers -> Bool
-- | Parameter of Function addRecentSticker
data AddRecentSticker
-- | Manually adds a new sticker to the list of recently used stickers. The
-- new sticker is added to the top of the list. If the sticker was
-- already in the list, it is removed from the list first. Only stickers
-- belonging to a sticker set can be added to this list
AddRecentSticker :: Bool -> InputFile -> AddRecentSticker
-- | Pass true to add the sticker to the list of stickers recently attached
-- to photo or video files; pass false to add the sticker to the list of
-- recently sent stickers
[$sel:isAttached:AddRecentSticker] :: AddRecentSticker -> Bool
-- | Sticker file to add
[$sel:sticker:AddRecentSticker] :: AddRecentSticker -> InputFile
-- | Parameter of Function removeRecentSticker
data RemoveRecentSticker
-- | Removes a sticker from the list of recently used stickers
RemoveRecentSticker :: Bool -> InputFile -> RemoveRecentSticker
-- | Pass true to remove the sticker from the list of stickers recently
-- attached to photo or video files; pass false to remove the sticker
-- from the list of recently sent stickers
[$sel:isAttached:RemoveRecentSticker] :: RemoveRecentSticker -> Bool
-- | Sticker file to delete
[$sel:sticker:RemoveRecentSticker] :: RemoveRecentSticker -> InputFile
-- | Parameter of Function clearRecentStickers
data ClearRecentStickers
-- | Clears the list of recently used stickers
ClearRecentStickers :: Bool -> ClearRecentStickers
-- | Pass true to clear the list of stickers recently attached to photo or
-- video files; pass false to clear the list of recently sent stickers
[$sel:isAttached:ClearRecentStickers] :: ClearRecentStickers -> Bool
-- | Parameter of Function getFavoriteStickers
data GetFavoriteStickers
-- | Returns favorite stickers
GetFavoriteStickers :: GetFavoriteStickers
-- | Parameter of Function addFavoriteSticker
data AddFavoriteSticker
-- | Adds a new sticker to the list of favorite stickers. The new sticker
-- is added to the top of the list. If the sticker was already in the
-- list, it is removed from the list first. Only stickers belonging to a
-- sticker set can be added to this list
AddFavoriteSticker :: InputFile -> AddFavoriteSticker
-- | Sticker file to add
[$sel:sticker:AddFavoriteSticker] :: AddFavoriteSticker -> InputFile
-- | Parameter of Function removeFavoriteSticker
data RemoveFavoriteSticker
-- | Removes a sticker from the list of favorite stickers
RemoveFavoriteSticker :: InputFile -> RemoveFavoriteSticker
-- | Sticker file to delete from the list
[$sel:sticker:RemoveFavoriteSticker] :: RemoveFavoriteSticker -> InputFile
-- | Parameter of Function getStickerEmojis
data GetStickerEmojis
-- | Returns emoji corresponding to a sticker. The list is only for
-- informational purposes, because a sticker is always sent with a fixed
-- emoji from the corresponding Sticker object
GetStickerEmojis :: InputFile -> GetStickerEmojis
-- | Sticker file identifier
[$sel:sticker:GetStickerEmojis] :: GetStickerEmojis -> InputFile
-- | Parameter of Function searchEmojis
data SearchEmojis
-- | Searches for emojis by keywords. Supported only if the file database
-- is enabled
SearchEmojis :: T -> Bool -> [T] -> SearchEmojis
-- | Text to search for
[$sel:text:SearchEmojis] :: SearchEmojis -> T
-- | True, if only emojis, which exactly match text needs to be returned
[$sel:exactMatch:SearchEmojis] :: SearchEmojis -> Bool
-- | List of possible IETF language tags of the user's input language; may
-- be empty if unknown
[$sel:inputLanguageCodes:SearchEmojis] :: SearchEmojis -> [T]
-- | Parameter of Function getEmojiSuggestionsUrl
data GetEmojiSuggestionsUrl
-- | Returns an HTTP URL which can be used to automatically log in to the
-- translation platform and suggest new emoji replacements. The URL will
-- be valid for 30 seconds after generation
GetEmojiSuggestionsUrl :: T -> GetEmojiSuggestionsUrl
-- | Language code for which the emoji replacements will be suggested
[$sel:languageCode:GetEmojiSuggestionsUrl] :: GetEmojiSuggestionsUrl -> T
-- | Parameter of Function getSavedAnimations
data GetSavedAnimations
-- | Returns saved animations
GetSavedAnimations :: GetSavedAnimations
-- | Parameter of Function addSavedAnimation
data AddSavedAnimation
-- | Manually adds a new animation to the list of saved animations. The new
-- animation is added to the beginning of the list. If the animation was
-- already in the list, it is removed first. Only non-secret video
-- animations with MIME type "video/mp4" can be added to the list
AddSavedAnimation :: InputFile -> AddSavedAnimation
-- | The animation file to be added. Only animations known to the server
-- (i.e. successfully sent via a message) can be added to the list
[$sel:animation:AddSavedAnimation] :: AddSavedAnimation -> InputFile
-- | Parameter of Function removeSavedAnimation
data RemoveSavedAnimation
-- | Removes an animation from the list of saved animations
RemoveSavedAnimation :: InputFile -> RemoveSavedAnimation
-- | Animation file to be removed
[$sel:animation:RemoveSavedAnimation] :: RemoveSavedAnimation -> InputFile
-- | Parameter of Function getRecentInlineBots
data GetRecentInlineBots
-- | Returns up to 20 recently used inline bots in the order of their last
-- usage
GetRecentInlineBots :: GetRecentInlineBots
-- | Parameter of Function searchHashtags
data SearchHashtags
-- | Searches for recently used hashtags by their prefix
SearchHashtags :: T -> I32 -> SearchHashtags
-- | Hashtag prefix to search for
[$sel:prefix:SearchHashtags] :: SearchHashtags -> T
-- | The maximum number of hashtags to be returned
[$sel:limit:SearchHashtags] :: SearchHashtags -> I32
-- | Parameter of Function removeRecentHashtag
data RemoveRecentHashtag
-- | Removes a hashtag from the list of recently used hashtags
RemoveRecentHashtag :: T -> RemoveRecentHashtag
-- | Hashtag to delete
[$sel:hashtag:RemoveRecentHashtag] :: RemoveRecentHashtag -> T
-- | Parameter of Function getWebPagePreview
data GetWebPagePreview
-- | Returns a web page preview by the text of the message. Do not call
-- this function too often. Returns a 404 error if the web page has no
-- preview
GetWebPagePreview :: FormattedText -> GetWebPagePreview
-- | Message text with formatting
[$sel:text:GetWebPagePreview] :: GetWebPagePreview -> FormattedText
-- | Parameter of Function getWebPageInstantView
data GetWebPageInstantView
-- | Returns an instant view version of a web page if available. Returns a
-- 404 error if the web page has no instant view page
GetWebPageInstantView :: T -> Bool -> GetWebPageInstantView
-- | The web page URL
[$sel:url:GetWebPageInstantView] :: GetWebPageInstantView -> T
-- | If true, the full instant view for the web page will be returned
[$sel:forceFull:GetWebPageInstantView] :: GetWebPageInstantView -> Bool
-- | Parameter of Function setProfilePhoto
data SetProfilePhoto
-- | Uploads a new profile photo for the current user. If something
-- changes, updateUser will be sent
SetProfilePhoto :: InputFile -> SetProfilePhoto
-- | Profile photo to set. inputFileId and inputFileRemote may still be
-- unsupported
[$sel:photo:SetProfilePhoto] :: SetProfilePhoto -> InputFile
-- | Parameter of Function deleteProfilePhoto
data DeleteProfilePhoto
-- | Deletes a profile photo. If something changes, updateUser will be sent
DeleteProfilePhoto :: I64 -> DeleteProfilePhoto
-- | Identifier of the profile photo to delete
[$sel:profilePhotoId:DeleteProfilePhoto] :: DeleteProfilePhoto -> I64
-- | Parameter of Function setName
data SetName
-- | Changes the first and last name of the current user. If something
-- changes, updateUser will be sent
SetName :: T -> T -> SetName
-- | The new value of the first name for the user; 1-64 characters
[$sel:firstName:SetName] :: SetName -> T
-- | The new value of the optional last name for the user; 0-64 characters
[$sel:lastName:SetName] :: SetName -> T
-- | Parameter of Function setBio
data SetBio
-- | Changes the bio of the current user
SetBio :: T -> SetBio
-- | The new value of the user bio; 0-70 characters without line feeds
[$sel:bio:SetBio] :: SetBio -> T
-- | Parameter of Function setUsername
data SetUsername
-- | Changes the username of the current user. If something changes,
-- updateUser will be sent
SetUsername :: T -> SetUsername
-- | The new value of the username. Use an empty string to remove the
-- username
[$sel:username:SetUsername] :: SetUsername -> T
-- | Parameter of Function setLocation
data SetLocation
-- | Changes the location of the current user. Needs to be called if
-- GetOption("is_location_visible") is true and location changes for more
-- than 1 kilometer
SetLocation :: Location -> SetLocation
-- | The new location of the user
[$sel:location:SetLocation] :: SetLocation -> Location
-- | Parameter of Function changePhoneNumber
data ChangePhoneNumber
-- | Changes the phone number of the user and sends an authentication code
-- to the user's new phone number. On success, returns information about
-- the sent code
ChangePhoneNumber :: T -> PhoneNumberAuthenticationSettings -> ChangePhoneNumber
-- | The new phone number of the user in international format
[$sel:phoneNumber:ChangePhoneNumber] :: ChangePhoneNumber -> T
-- | Settings for the authentication of the user's phone number
[$sel:settings:ChangePhoneNumber] :: ChangePhoneNumber -> PhoneNumberAuthenticationSettings
-- | Parameter of Function resendChangePhoneNumberCode
data ResendChangePhoneNumberCode
-- | Re-sends the authentication code sent to confirm a new phone number
-- for the user. Works only if the previously received
-- authenticationCodeInfo next_code_type was not null
ResendChangePhoneNumberCode :: ResendChangePhoneNumberCode
-- | Parameter of Function checkChangePhoneNumberCode
data CheckChangePhoneNumberCode
-- | Checks the authentication code sent to confirm a new phone number of
-- the user
CheckChangePhoneNumberCode :: T -> CheckChangePhoneNumberCode
-- | Verification code received by SMS, phone call or flash call
[$sel:code:CheckChangePhoneNumberCode] :: CheckChangePhoneNumberCode -> T
-- | Parameter of Function setCommands
data SetCommands
-- | Sets the list of commands supported by the bot; for bots only
SetCommands :: [BotCommand] -> SetCommands
-- | List of the bot's commands
[$sel:commands:SetCommands] :: SetCommands -> [BotCommand]
-- | Parameter of Function getActiveSessions
data GetActiveSessions
-- | Returns all active sessions of the current user
GetActiveSessions :: GetActiveSessions
-- | Parameter of Function terminateSession
data TerminateSession
-- | Terminates a session of the current user
TerminateSession :: I64 -> TerminateSession
-- | Session identifier
[$sel:sessionId:TerminateSession] :: TerminateSession -> I64
-- | Parameter of Function terminateAllOtherSessions
data TerminateAllOtherSessions
-- | Terminates all other sessions of the current user
TerminateAllOtherSessions :: TerminateAllOtherSessions
-- | Parameter of Function getConnectedWebsites
data GetConnectedWebsites
-- | Returns all website where the current user used Telegram to log in
GetConnectedWebsites :: GetConnectedWebsites
-- | Parameter of Function disconnectWebsite
data DisconnectWebsite
-- | Disconnects website from the current user's Telegram account
DisconnectWebsite :: I64 -> DisconnectWebsite
-- | Website identifier
[$sel:websiteId:DisconnectWebsite] :: DisconnectWebsite -> I64
-- | Parameter of Function disconnectAllWebsites
data DisconnectAllWebsites
-- | Disconnects all websites from the current user's Telegram account
DisconnectAllWebsites :: DisconnectAllWebsites
-- | Parameter of Function setSupergroupUsername
data SetSupergroupUsername
-- | Changes the username of a supergroup or channel, requires owner
-- privileges in the supergroup or channel
SetSupergroupUsername :: I32 -> T -> SetSupergroupUsername
-- | Identifier of the supergroup or channel
[$sel:supergroupId:SetSupergroupUsername] :: SetSupergroupUsername -> I32
-- | New value of the username. Use an empty string to remove the username
[$sel:username:SetSupergroupUsername] :: SetSupergroupUsername -> T
-- | Parameter of Function setSupergroupStickerSet
data SetSupergroupStickerSet
-- | Changes the sticker set of a supergroup; requires can_change_info
-- rights
SetSupergroupStickerSet :: I32 -> I64 -> SetSupergroupStickerSet
-- | Identifier of the supergroup
[$sel:supergroupId:SetSupergroupStickerSet] :: SetSupergroupStickerSet -> I32
-- | New value of the supergroup sticker set identifier. Use 0 to remove
-- the supergroup sticker set
[$sel:stickerSetId:SetSupergroupStickerSet] :: SetSupergroupStickerSet -> I64
-- | Parameter of Function toggleSupergroupSignMessages
data ToggleSupergroupSignMessages
-- | Toggles sender signatures messages sent in a channel; requires
-- can_change_info rights
ToggleSupergroupSignMessages :: I32 -> Bool -> ToggleSupergroupSignMessages
-- | Identifier of the channel
[$sel:supergroupId:ToggleSupergroupSignMessages] :: ToggleSupergroupSignMessages -> I32
-- | New value of sign_messages
[$sel:signMessages:ToggleSupergroupSignMessages] :: ToggleSupergroupSignMessages -> Bool
-- | Parameter of Function toggleSupergroupIsAllHistoryAvailable
data ToggleSupergroupIsAllHistoryAvailable
-- | Toggles whether the message history of a supergroup is available to
-- new members; requires can_change_info rights
ToggleSupergroupIsAllHistoryAvailable :: I32 -> Bool -> ToggleSupergroupIsAllHistoryAvailable
-- | The identifier of the supergroup
[$sel:supergroupId:ToggleSupergroupIsAllHistoryAvailable] :: ToggleSupergroupIsAllHistoryAvailable -> I32
-- | The new value of is_all_history_available
[$sel:isAllHistoryAvailable:ToggleSupergroupIsAllHistoryAvailable] :: ToggleSupergroupIsAllHistoryAvailable -> Bool
-- | Parameter of Function reportSupergroupSpam
data ReportSupergroupSpam
-- | Reports some messages from a user in a supergroup as spam; requires
-- administrator rights in the supergroup
ReportSupergroupSpam :: I32 -> I32 -> [I53] -> ReportSupergroupSpam
-- | Supergroup identifier
[$sel:supergroupId:ReportSupergroupSpam] :: ReportSupergroupSpam -> I32
-- | User identifier
[$sel:userId:ReportSupergroupSpam] :: ReportSupergroupSpam -> I32
-- | Identifiers of messages sent in the supergroup by the user. This list
-- must be non-empty
[$sel:messageIds:ReportSupergroupSpam] :: ReportSupergroupSpam -> [I53]
-- | Parameter of Function getSupergroupMembers
data GetSupergroupMembers
-- | Returns information about members or banned users in a supergroup or
-- channel. Can be used only if SupergroupFullInfo.can_get_members ==
-- true; additionally, administrator privileges may be required for some
-- filters
GetSupergroupMembers :: I32 -> SupergroupMembersFilter -> I32 -> I32 -> GetSupergroupMembers
-- | Identifier of the supergroup or channel
[$sel:supergroupId:GetSupergroupMembers] :: GetSupergroupMembers -> I32
-- | The type of users to return. By default, supergroupMembersRecent
[$sel:filter:GetSupergroupMembers] :: GetSupergroupMembers -> SupergroupMembersFilter
-- | Number of users to skip
[$sel:offset:GetSupergroupMembers] :: GetSupergroupMembers -> I32
-- | The maximum number of users be returned; up to 200
[$sel:limit:GetSupergroupMembers] :: GetSupergroupMembers -> I32
-- | Parameter of Function deleteSupergroup
data DeleteSupergroup
-- | Deletes a supergroup or channel along with all messages in the
-- corresponding chat. This will release the supergroup or channel
-- username and remove all members; requires owner privileges in the
-- supergroup or channel. Chats with more than 1000 members can't be
-- deleted using this method
DeleteSupergroup :: I32 -> DeleteSupergroup
-- | Identifier of the supergroup or channel
[$sel:supergroupId:DeleteSupergroup] :: DeleteSupergroup -> I32
-- | Parameter of Function closeSecretChat
data CloseSecretChat
-- | Closes a secret chat, effectively transferring its state to
-- secretChatStateClosed
CloseSecretChat :: I32 -> CloseSecretChat
-- | Secret chat identifier
[$sel:secretChatId:CloseSecretChat] :: CloseSecretChat -> I32
-- | Parameter of Function getChatEventLog
data GetChatEventLog
-- | Returns a list of service actions taken by chat members and
-- administrators in the last 48 hours. Available only for supergroups
-- and channels. Requires administrator rights. Returns results in
-- reverse chronological order (i. e., in order of decreasing event_id)
GetChatEventLog :: I53 -> T -> I64 -> I32 -> ChatEventLogFilters -> [I32] -> GetChatEventLog
-- | Chat identifier
[$sel:chatId:GetChatEventLog] :: GetChatEventLog -> I53
-- | Search query by which to filter events
[$sel:query:GetChatEventLog] :: GetChatEventLog -> T
-- | Identifier of an event from which to return results. Use 0 to get
-- results from the latest events
[$sel:fromEventId:GetChatEventLog] :: GetChatEventLog -> I64
-- | The maximum number of events to return; up to 100
[$sel:limit:GetChatEventLog] :: GetChatEventLog -> I32
-- | The types of events to return. By default, all types will be returned
[$sel:filters:GetChatEventLog] :: GetChatEventLog -> ChatEventLogFilters
-- | User identifiers by which to filter events. By default, events
-- relating to all users will be returned
[$sel:userIds:GetChatEventLog] :: GetChatEventLog -> [I32]
-- | Parameter of Function getPaymentForm
data GetPaymentForm
-- | Returns an invoice payment form. This method should be called when the
-- user presses inlineKeyboardButtonBuy
GetPaymentForm :: I53 -> I53 -> GetPaymentForm
-- | Chat identifier of the Invoice message
[$sel:chatId:GetPaymentForm] :: GetPaymentForm -> I53
-- | Message identifier
[$sel:messageId:GetPaymentForm] :: GetPaymentForm -> I53
-- | Parameter of Function validateOrderInfo
data ValidateOrderInfo
-- | Validates the order information provided by a user and returns the
-- available shipping options for a flexible invoice
ValidateOrderInfo :: I53 -> I53 -> OrderInfo -> Bool -> ValidateOrderInfo
-- | Chat identifier of the Invoice message
[$sel:chatId:ValidateOrderInfo] :: ValidateOrderInfo -> I53
-- | Message identifier
[$sel:messageId:ValidateOrderInfo] :: ValidateOrderInfo -> I53
-- | The order information, provided by the user
[$sel:orderInfo:ValidateOrderInfo] :: ValidateOrderInfo -> OrderInfo
-- | True, if the order information can be saved
[$sel:allowSave:ValidateOrderInfo] :: ValidateOrderInfo -> Bool
-- | Parameter of Function sendPaymentForm
data SendPaymentForm
-- | Sends a filled-out payment form to the bot for final verification
SendPaymentForm :: I53 -> I53 -> T -> T -> InputCredentials -> SendPaymentForm
-- | Chat identifier of the Invoice message
[$sel:chatId:SendPaymentForm] :: SendPaymentForm -> I53
-- | Message identifier
[$sel:messageId:SendPaymentForm] :: SendPaymentForm -> I53
-- | Identifier returned by ValidateOrderInfo, or an empty string
[$sel:orderInfoId:SendPaymentForm] :: SendPaymentForm -> T
-- | Identifier of a chosen shipping option, if applicable
[$sel:shippingOptionId:SendPaymentForm] :: SendPaymentForm -> T
-- | The credentials chosen by user for payment
[$sel:credentials:SendPaymentForm] :: SendPaymentForm -> InputCredentials
-- | Parameter of Function getPaymentReceipt
data GetPaymentReceipt
-- | Returns information about a successful payment
GetPaymentReceipt :: I53 -> I53 -> GetPaymentReceipt
-- | Chat identifier of the PaymentSuccessful message
[$sel:chatId:GetPaymentReceipt] :: GetPaymentReceipt -> I53
-- | Message identifier
[$sel:messageId:GetPaymentReceipt] :: GetPaymentReceipt -> I53
-- | Parameter of Function getSavedOrderInfo
data GetSavedOrderInfo
-- | Returns saved order info, if any
GetSavedOrderInfo :: GetSavedOrderInfo
-- | Parameter of Function deleteSavedOrderInfo
data DeleteSavedOrderInfo
-- | Deletes saved order info
DeleteSavedOrderInfo :: DeleteSavedOrderInfo
-- | Parameter of Function deleteSavedCredentials
data DeleteSavedCredentials
-- | Deletes saved credentials for all payment provider bots
DeleteSavedCredentials :: DeleteSavedCredentials
-- | Parameter of Function getSupportUser
data GetSupportUser
-- | Returns a user that can be contacted to get support
GetSupportUser :: GetSupportUser
-- | Parameter of Function getBackgrounds
data GetBackgrounds
-- | Returns backgrounds installed by the user
GetBackgrounds :: Bool -> GetBackgrounds
-- | True, if the backgrounds needs to be ordered for dark theme
[$sel:forDarkTheme:GetBackgrounds] :: GetBackgrounds -> Bool
-- | Parameter of Function getBackgroundUrl
data GetBackgroundUrl
-- | Constructs a persistent HTTP URL for a background
GetBackgroundUrl :: T -> BackgroundType -> GetBackgroundUrl
-- | Background name
[$sel:name:GetBackgroundUrl] :: GetBackgroundUrl -> T
-- | Background type
[$sel:type_:GetBackgroundUrl] :: GetBackgroundUrl -> BackgroundType
-- | Parameter of Function searchBackground
data SearchBackground
-- | Searches for a background by its name
SearchBackground :: T -> SearchBackground
-- | The name of the background
[$sel:name:SearchBackground] :: SearchBackground -> T
-- | Parameter of Function setBackground
data SetBackground
-- | Changes the background selected by the user; adds background to the
-- list of installed backgrounds
SetBackground :: InputBackground -> BackgroundType -> Bool -> SetBackground
-- | The input background to use, null for filled backgrounds
[$sel:background:SetBackground] :: SetBackground -> InputBackground
-- | Background type; null for default background. The method will return
-- error 404 if type is null
[$sel:type_:SetBackground] :: SetBackground -> BackgroundType
-- | True, if the background is chosen for dark theme
[$sel:forDarkTheme:SetBackground] :: SetBackground -> Bool
-- | Parameter of Function removeBackground
data RemoveBackground
-- | Removes background from the list of installed backgrounds
RemoveBackground :: I64 -> RemoveBackground
-- | The background identifier
[$sel:backgroundId:RemoveBackground] :: RemoveBackground -> I64
-- | Parameter of Function resetBackgrounds
data ResetBackgrounds
-- | Resets list of installed backgrounds to its default value
ResetBackgrounds :: ResetBackgrounds
-- | Parameter of Function getLocalizationTargetInfo
data GetLocalizationTargetInfo
-- | Returns information about the current localization target. This is an
-- offline request if only_local is true. Can be called before
-- authorization
GetLocalizationTargetInfo :: Bool -> GetLocalizationTargetInfo
-- | If true, returns only locally available information without sending
-- network requests
[$sel:onlyLocal:GetLocalizationTargetInfo] :: GetLocalizationTargetInfo -> Bool
-- | Parameter of Function getLanguagePackInfo
data GetLanguagePackInfo
-- | Returns information about a language pack. Returned language pack
-- identifier may be different from a provided one. Can be called before
-- authorization
GetLanguagePackInfo :: T -> GetLanguagePackInfo
-- | Language pack identifier
[$sel:languagePackId:GetLanguagePackInfo] :: GetLanguagePackInfo -> T
-- | Parameter of Function getLanguagePackStrings
data GetLanguagePackStrings
-- | Returns strings from a language pack in the current localization
-- target by their keys. Can be called before authorization
GetLanguagePackStrings :: T -> [T] -> GetLanguagePackStrings
-- | Language pack identifier of the strings to be returned
[$sel:languagePackId:GetLanguagePackStrings] :: GetLanguagePackStrings -> T
-- | Language pack keys of the strings to be returned; leave empty to
-- request all available strings
[$sel:keys:GetLanguagePackStrings] :: GetLanguagePackStrings -> [T]
-- | Parameter of Function synchronizeLanguagePack
data SynchronizeLanguagePack
-- | Fetches the latest versions of all strings from a language pack in the
-- current localization target from the server. This method doesn't need
-- to be called explicitly for the current used/base language packs. Can
-- be called before authorization
SynchronizeLanguagePack :: T -> SynchronizeLanguagePack
-- | Language pack identifier
[$sel:languagePackId:SynchronizeLanguagePack] :: SynchronizeLanguagePack -> T
-- | Parameter of Function addCustomServerLanguagePack
data AddCustomServerLanguagePack
-- | Adds a custom server language pack to the list of installed language
-- packs in current localization target. Can be called before
-- authorization
AddCustomServerLanguagePack :: T -> AddCustomServerLanguagePack
-- | Identifier of a language pack to be added; may be different from a
-- name that is used in an "https://t.me/setlanguage/" link
[$sel:languagePackId:AddCustomServerLanguagePack] :: AddCustomServerLanguagePack -> T
-- | Parameter of Function setCustomLanguagePack
data SetCustomLanguagePack
-- | Adds or changes a custom local language pack to the current
-- localization target
SetCustomLanguagePack :: LanguagePackInfo -> [LanguagePackString] -> SetCustomLanguagePack
-- | Information about the language pack. Language pack ID must start with
-- X, consist only of English letters, digits and hyphens, and
-- must not exceed 64 characters. Can be called before authorization
[$sel:info:SetCustomLanguagePack] :: SetCustomLanguagePack -> LanguagePackInfo
-- | Strings of the new language pack
[$sel:strings:SetCustomLanguagePack] :: SetCustomLanguagePack -> [LanguagePackString]
-- | Parameter of Function editCustomLanguagePackInfo
data EditCustomLanguagePackInfo
-- | Edits information about a custom local language pack in the current
-- localization target. Can be called before authorization
EditCustomLanguagePackInfo :: LanguagePackInfo -> EditCustomLanguagePackInfo
-- | New information about the custom local language pack
[$sel:info:EditCustomLanguagePackInfo] :: EditCustomLanguagePackInfo -> LanguagePackInfo
-- | Parameter of Function setCustomLanguagePackString
data SetCustomLanguagePackString
-- | Adds, edits or deletes a string in a custom local language pack. Can
-- be called before authorization
SetCustomLanguagePackString :: T -> LanguagePackString -> SetCustomLanguagePackString
-- | Identifier of a previously added custom local language pack in the
-- current localization target
[$sel:languagePackId:SetCustomLanguagePackString] :: SetCustomLanguagePackString -> T
-- | New language pack string
[$sel:newString:SetCustomLanguagePackString] :: SetCustomLanguagePackString -> LanguagePackString
-- | Parameter of Function deleteLanguagePack
data DeleteLanguagePack
-- | Deletes all information about a language pack in the current
-- localization target. The language pack which is currently in use
-- (including base language pack) or is being synchronized can't be
-- deleted. Can be called before authorization
DeleteLanguagePack :: T -> DeleteLanguagePack
-- | Identifier of the language pack to delete
[$sel:languagePackId:DeleteLanguagePack] :: DeleteLanguagePack -> T
-- | Parameter of Function registerDevice
data RegisterDevice
-- | Registers the currently used device for receiving push notifications.
-- Returns a globally unique identifier of the push notification
-- subscription
RegisterDevice :: DeviceToken -> [I32] -> RegisterDevice
-- | Device token
[$sel:deviceToken:RegisterDevice] :: RegisterDevice -> DeviceToken
-- | List of user identifiers of other users currently using the client
[$sel:otherUserIds:RegisterDevice] :: RegisterDevice -> [I32]
-- | Parameter of Function processPushNotification
data ProcessPushNotification
-- | Handles a push notification. Returns error with code 406 if the push
-- notification is not supported and connection to the server is required
-- to fetch new data. Can be called before authorization
ProcessPushNotification :: T -> ProcessPushNotification
-- | JSON-encoded push notification payload with all fields sent by the
-- server, and "google.sent_time" and "google.notification.sound" fields
-- added
[$sel:payload:ProcessPushNotification] :: ProcessPushNotification -> T
-- | Parameter of Function getPushReceiverId
data GetPushReceiverId
-- | Returns a globally unique push notification subscription identifier
-- for identification of an account, which has received a push
-- notification. This is an offline method. Can be called before
-- authorization. Can be called synchronously
GetPushReceiverId :: T -> GetPushReceiverId
-- | JSON-encoded push notification payload
[$sel:payload:GetPushReceiverId] :: GetPushReceiverId -> T
-- | Parameter of Function getRecentlyVisitedTMeUrls
data GetRecentlyVisitedTMeUrls
-- | Returns t.me URLs recently visited by a newly registered user
GetRecentlyVisitedTMeUrls :: T -> GetRecentlyVisitedTMeUrls
-- | Google Play referrer to identify the user
[$sel:referrer:GetRecentlyVisitedTMeUrls] :: GetRecentlyVisitedTMeUrls -> T
-- | Parameter of Function setUserPrivacySettingRules
data SetUserPrivacySettingRules
-- | Changes user privacy settings
SetUserPrivacySettingRules :: UserPrivacySetting -> UserPrivacySettingRules -> SetUserPrivacySettingRules
-- | The privacy setting
[$sel:setting:SetUserPrivacySettingRules] :: SetUserPrivacySettingRules -> UserPrivacySetting
-- | The new privacy rules
[$sel:rules:SetUserPrivacySettingRules] :: SetUserPrivacySettingRules -> UserPrivacySettingRules
-- | Parameter of Function getUserPrivacySettingRules
data GetUserPrivacySettingRules
-- | Returns the current privacy settings
GetUserPrivacySettingRules :: UserPrivacySetting -> GetUserPrivacySettingRules
-- | The privacy setting
[$sel:setting:GetUserPrivacySettingRules] :: GetUserPrivacySettingRules -> UserPrivacySetting
-- | Parameter of Function getOption
data GetOption
-- | Returns the value of an option by its name. (Check the list of
-- available options on https://core.telegram.org/tdlib/options.)
-- Can be called before authorization
GetOption :: T -> GetOption
-- | The name of the option
[$sel:name:GetOption] :: GetOption -> T
-- | Parameter of Function setOption
data SetOption
-- | Sets the value of an option. (Check the list of available options on
-- https://core.telegram.org/tdlib/options.) Only writable options
-- can be set. Can be called before authorization
SetOption :: T -> OptionValue -> SetOption
-- | The name of the option
[$sel:name:SetOption] :: SetOption -> T
-- | The new value of the option
[$sel:value:SetOption] :: SetOption -> OptionValue
-- | Parameter of Function setAccountTtl
data SetAccountTtl
-- | Changes the period of inactivity after which the account of the
-- current user will automatically be deleted
SetAccountTtl :: AccountTtl -> SetAccountTtl
-- | New account TTL
[$sel:ttl:SetAccountTtl] :: SetAccountTtl -> AccountTtl
-- | Parameter of Function getAccountTtl
data GetAccountTtl
-- | Returns the period of inactivity after which the account of the
-- current user will automatically be deleted
GetAccountTtl :: GetAccountTtl
-- | Parameter of Function deleteAccount
data DeleteAccount
-- | Deletes the account of the current user, deleting all information
-- associated with the user from the server. The phone number of the
-- account can be used to create a new account. Can be called before
-- authorization when the current authorization state is
-- authorizationStateWaitPassword
DeleteAccount :: T -> DeleteAccount
-- | The reason why the account was deleted; optional
[$sel:reason:DeleteAccount] :: DeleteAccount -> T
-- | Parameter of Function removeChatActionBar
data RemoveChatActionBar
-- | Removes a chat action bar without any other action
RemoveChatActionBar :: I53 -> RemoveChatActionBar
-- | Chat identifier
[$sel:chatId:RemoveChatActionBar] :: RemoveChatActionBar -> I53
-- | Parameter of Function reportChat
data ReportChat
-- | Reports a chat to the Telegram moderators. A chat can be reported only
-- from the chat action bar, or if this is a private chats with a bot, a
-- private chat with a user sharing their location, a supergroup, or a
-- channel, since other chats can't be checked by moderators
ReportChat :: I53 -> ChatReportReason -> [I53] -> ReportChat
-- | Chat identifier
[$sel:chatId:ReportChat] :: ReportChat -> I53
-- | The reason for reporting the chat
[$sel:reason:ReportChat] :: ReportChat -> ChatReportReason
-- | Identifiers of reported messages, if any
[$sel:messageIds:ReportChat] :: ReportChat -> [I53]
-- | Parameter of Function getChatStatisticsUrl
data GetChatStatisticsUrl
-- | Returns an HTTP URL with the chat statistics. Currently this method of
-- getting the statistics is disabled and can be deleted in the future
GetChatStatisticsUrl :: I53 -> T -> Bool -> GetChatStatisticsUrl
-- | Chat identifier
[$sel:chatId:GetChatStatisticsUrl] :: GetChatStatisticsUrl -> I53
-- | Parameters from "tg://statsrefresh?params=******" link
[$sel:parameters:GetChatStatisticsUrl] :: GetChatStatisticsUrl -> T
-- | Pass true if a URL with the dark theme must be returned
[$sel:isDark:GetChatStatisticsUrl] :: GetChatStatisticsUrl -> Bool
-- | Parameter of Function getChatStatistics
data GetChatStatistics
-- | Returns detailed statistics about a chat. Currently this method can be
-- used only for channels. Requires administrator rights in the channel
GetChatStatistics :: I53 -> Bool -> GetChatStatistics
-- | Chat identifier
[$sel:chatId:GetChatStatistics] :: GetChatStatistics -> I53
-- | Pass true if a dark theme is used by the app
[$sel:isDark:GetChatStatistics] :: GetChatStatistics -> Bool
-- | Parameter of Function getChatStatisticsGraph
data GetChatStatisticsGraph
-- | Loads asynchronous or zoomed in chat statistics graph
GetChatStatisticsGraph :: I53 -> T -> I53 -> GetChatStatisticsGraph
-- | Chat identifier
[$sel:chatId:GetChatStatisticsGraph] :: GetChatStatisticsGraph -> I53
-- | The token for graph loading
[$sel:token:GetChatStatisticsGraph] :: GetChatStatisticsGraph -> T
-- | X-value for zoomed in graph or 0 otherwise
[$sel:x:GetChatStatisticsGraph] :: GetChatStatisticsGraph -> I53
-- | Parameter of Function getStorageStatistics
data GetStorageStatistics
-- | Returns storage usage statistics. Can be called before authorization
GetStorageStatistics :: I32 -> GetStorageStatistics
-- | The maximum number of chats with the largest storage usage for which
-- separate statistics should be returned. All other chats will be
-- grouped in entries with chat_id == 0. If the chat info database is not
-- used, the chat_limit is ignored and is always set to 0
[$sel:chatLimit:GetStorageStatistics] :: GetStorageStatistics -> I32
-- | Parameter of Function getStorageStatisticsFast
data GetStorageStatisticsFast
-- | Quickly returns approximate storage usage statistics. Can be called
-- before authorization
GetStorageStatisticsFast :: GetStorageStatisticsFast
-- | Parameter of Function getDatabaseStatistics
data GetDatabaseStatistics
-- | Returns database statistics
GetDatabaseStatistics :: GetDatabaseStatistics
-- | Parameter of Function optimizeStorage
data OptimizeStorage
-- | Optimizes storage usage, i.e. deletes some files and returns new
-- storage usage statistics. Secret thumbnails can't be deleted
OptimizeStorage :: I53 -> I32 -> I32 -> I32 -> [FileType] -> [I53] -> [I53] -> Bool -> I32 -> OptimizeStorage
-- | Limit on the total size of files after deletion. Pass -1 to use the
-- default limit
[$sel:size:OptimizeStorage] :: OptimizeStorage -> I53
-- | Limit on the time that has passed since the last time a file was
-- accessed (or creation time for some filesystems). Pass -1 to use the
-- default limit
[$sel:ttl:OptimizeStorage] :: OptimizeStorage -> I32
-- | Limit on the total count of files after deletion. Pass -1 to use the
-- default limit
[$sel:count:OptimizeStorage] :: OptimizeStorage -> I32
-- | The amount of time after the creation of a file during which it can't
-- be deleted, in seconds. Pass -1 to use the default value
[$sel:immunityDelay:OptimizeStorage] :: OptimizeStorage -> I32
-- | If not empty, only files with the given type(s) are considered. By
-- default, all types except thumbnails, profile photos, stickers and
-- wallpapers are deleted
[$sel:fileTypes:OptimizeStorage] :: OptimizeStorage -> [FileType]
-- | If not empty, only files from the given chats are considered. Use 0 as
-- chat identifier to delete files not belonging to any chat (e.g.,
-- profile photos)
[$sel:chatIds:OptimizeStorage] :: OptimizeStorage -> [I53]
-- | If not empty, files from the given chats are excluded. Use 0 as chat
-- identifier to exclude all files not belonging to any chat (e.g.,
-- profile photos)
[$sel:excludeChatIds:OptimizeStorage] :: OptimizeStorage -> [I53]
-- | Pass true if deleted file statistics needs to be returned instead of
-- the whole storage usage statistics. Affects only returned statistics
[$sel:returnDeletedFileStatistics:OptimizeStorage] :: OptimizeStorage -> Bool
-- | Same as in getStorageStatistics. Affects only returned statistics
[$sel:chatLimit:OptimizeStorage] :: OptimizeStorage -> I32
-- | Parameter of Function setNetworkType
data SetNetworkType
-- | Sets the current network type. Can be called before authorization.
-- Calling this method forces all network connections to reopen,
-- mitigating the delay in switching between different networks, so it
-- should be called whenever the network is changed, even if the network
-- type remains the same.
SetNetworkType :: NetworkType -> SetNetworkType
[$sel:type_:SetNetworkType] :: SetNetworkType -> NetworkType
-- | Parameter of Function getNetworkStatistics
data GetNetworkStatistics
-- | Returns network data usage statistics. Can be called before
-- authorization
GetNetworkStatistics :: Bool -> GetNetworkStatistics
-- | If true, returns only data for the current library launch
[$sel:onlyCurrent:GetNetworkStatistics] :: GetNetworkStatistics -> Bool
-- | Parameter of Function addNetworkStatistics
data AddNetworkStatistics
-- | Adds the specified data to data usage statistics. Can be called before
-- authorization
AddNetworkStatistics :: NetworkStatisticsEntry -> AddNetworkStatistics
-- | The network statistics entry with the data to be added to statistics
[$sel:entry:AddNetworkStatistics] :: AddNetworkStatistics -> NetworkStatisticsEntry
-- | Parameter of Function resetNetworkStatistics
data ResetNetworkStatistics
-- | Resets all network data usage statistics to zero. Can be called before
-- authorization
ResetNetworkStatistics :: ResetNetworkStatistics
-- | Parameter of Function getAutoDownloadSettingsPresets
data GetAutoDownloadSettingsPresets
-- | Returns auto-download settings presets for the current user
GetAutoDownloadSettingsPresets :: GetAutoDownloadSettingsPresets
-- | Parameter of Function setAutoDownloadSettings
data SetAutoDownloadSettings
-- | Sets auto-download settings
SetAutoDownloadSettings :: AutoDownloadSettings -> NetworkType -> SetAutoDownloadSettings
-- | New user auto-download settings
[$sel:settings:SetAutoDownloadSettings] :: SetAutoDownloadSettings -> AutoDownloadSettings
-- | Type of the network for which the new settings are applied
[$sel:type_:SetAutoDownloadSettings] :: SetAutoDownloadSettings -> NetworkType
-- | Parameter of Function getBankCardInfo
data GetBankCardInfo
-- | Returns information about a bank card
GetBankCardInfo :: T -> GetBankCardInfo
-- | The bank card number
[$sel:bankCardNumber:GetBankCardInfo] :: GetBankCardInfo -> T
-- | Parameter of Function getPassportElement
data GetPassportElement
-- | Returns one of the available Telegram Passport elements
GetPassportElement :: PassportElementType -> T -> GetPassportElement
-- | Telegram Passport element type
[$sel:type_:GetPassportElement] :: GetPassportElement -> PassportElementType
-- | Password of the current user
[$sel:password:GetPassportElement] :: GetPassportElement -> T
-- | Parameter of Function getAllPassportElements
data GetAllPassportElements
-- | Returns all available Telegram Passport elements
GetAllPassportElements :: T -> GetAllPassportElements
-- | Password of the current user
[$sel:password:GetAllPassportElements] :: GetAllPassportElements -> T
-- | Parameter of Function setPassportElement
data SetPassportElement
-- | Adds an element to the user's Telegram Passport. May return an error
-- with a message PHONE_VERIFICATION_NEEDED or
-- EMAIL_VERIFICATION_NEEDED if the chosen phone number or the
-- chosen email address must be verified first
SetPassportElement :: InputPassportElement -> T -> SetPassportElement
-- | Input Telegram Passport element
[$sel:element:SetPassportElement] :: SetPassportElement -> InputPassportElement
-- | Password of the current user
[$sel:password:SetPassportElement] :: SetPassportElement -> T
-- | Parameter of Function deletePassportElement
data DeletePassportElement
-- | Deletes a Telegram Passport element
DeletePassportElement :: PassportElementType -> DeletePassportElement
-- | Element type
[$sel:type_:DeletePassportElement] :: DeletePassportElement -> PassportElementType
-- | Parameter of Function setPassportElementErrors
data SetPassportElementErrors
-- | Informs the user that some of the elements in their Telegram Passport
-- contain errors; for bots only. The user will not be able to resend the
-- elements, until the errors are fixed
SetPassportElementErrors :: I32 -> [InputPassportElementError] -> SetPassportElementErrors
-- | User identifier
[$sel:userId:SetPassportElementErrors] :: SetPassportElementErrors -> I32
-- | The errors
[$sel:errors:SetPassportElementErrors] :: SetPassportElementErrors -> [InputPassportElementError]
-- | Parameter of Function getPreferredCountryLanguage
data GetPreferredCountryLanguage
-- | Returns an IETF language tag of the language preferred in the country,
-- which should be used to fill native fields in Telegram Passport
-- personal details. Returns a 404 error if unknown
GetPreferredCountryLanguage :: T -> GetPreferredCountryLanguage
-- | A two-letter ISO 3166-1 alpha-2 country code
[$sel:countryCode:GetPreferredCountryLanguage] :: GetPreferredCountryLanguage -> T
-- | Parameter of Function sendPhoneNumberVerificationCode
data SendPhoneNumberVerificationCode
-- | Sends a code to verify a phone number to be added to a user's Telegram
-- Passport
SendPhoneNumberVerificationCode :: T -> PhoneNumberAuthenticationSettings -> SendPhoneNumberVerificationCode
-- | The phone number of the user, in international format
[$sel:phoneNumber:SendPhoneNumberVerificationCode] :: SendPhoneNumberVerificationCode -> T
-- | Settings for the authentication of the user's phone number
[$sel:settings:SendPhoneNumberVerificationCode] :: SendPhoneNumberVerificationCode -> PhoneNumberAuthenticationSettings
-- | Parameter of Function resendPhoneNumberVerificationCode
data ResendPhoneNumberVerificationCode
-- | Re-sends the code to verify a phone number to be added to a user's
-- Telegram Passport
ResendPhoneNumberVerificationCode :: ResendPhoneNumberVerificationCode
-- | Parameter of Function checkPhoneNumberVerificationCode
data CheckPhoneNumberVerificationCode
-- | Checks the phone number verification code for Telegram Passport
CheckPhoneNumberVerificationCode :: T -> CheckPhoneNumberVerificationCode
-- | Verification code
[$sel:code:CheckPhoneNumberVerificationCode] :: CheckPhoneNumberVerificationCode -> T
-- | Parameter of Function sendEmailAddressVerificationCode
data SendEmailAddressVerificationCode
-- | Sends a code to verify an email address to be added to a user's
-- Telegram Passport
SendEmailAddressVerificationCode :: T -> SendEmailAddressVerificationCode
-- | Email address
[$sel:emailAddress:SendEmailAddressVerificationCode] :: SendEmailAddressVerificationCode -> T
-- | Parameter of Function resendEmailAddressVerificationCode
data ResendEmailAddressVerificationCode
-- | Re-sends the code to verify an email address to be added to a user's
-- Telegram Passport
ResendEmailAddressVerificationCode :: ResendEmailAddressVerificationCode
-- | Parameter of Function checkEmailAddressVerificationCode
data CheckEmailAddressVerificationCode
-- | Checks the email address verification code for Telegram Passport
CheckEmailAddressVerificationCode :: T -> CheckEmailAddressVerificationCode
-- | Verification code
[$sel:code:CheckEmailAddressVerificationCode] :: CheckEmailAddressVerificationCode -> T
-- | Parameter of Function getPassportAuthorizationForm
data GetPassportAuthorizationForm
-- | Returns a Telegram Passport authorization form for sharing data with a
-- service
GetPassportAuthorizationForm :: I32 -> T -> T -> T -> GetPassportAuthorizationForm
-- | User identifier of the service's bot
[$sel:botUserId:GetPassportAuthorizationForm] :: GetPassportAuthorizationForm -> I32
-- | Telegram Passport element types requested by the service
[$sel:scope:GetPassportAuthorizationForm] :: GetPassportAuthorizationForm -> T
-- | Service's public_key
[$sel:publicKey:GetPassportAuthorizationForm] :: GetPassportAuthorizationForm -> T
-- | Authorization form nonce provided by the service
[$sel:nonce:GetPassportAuthorizationForm] :: GetPassportAuthorizationForm -> T
-- | Parameter of Function getPassportAuthorizationFormAvailableElements
data GetPassportAuthorizationFormAvailableElements
-- | Returns already available Telegram Passport elements suitable for
-- completing a Telegram Passport authorization form. Result can be
-- received only once for each authorization form
GetPassportAuthorizationFormAvailableElements :: I32 -> T -> GetPassportAuthorizationFormAvailableElements
-- | Authorization form identifier
[$sel:autorizationFormId:GetPassportAuthorizationFormAvailableElements] :: GetPassportAuthorizationFormAvailableElements -> I32
-- | Password of the current user
[$sel:password:GetPassportAuthorizationFormAvailableElements] :: GetPassportAuthorizationFormAvailableElements -> T
-- | Parameter of Function sendPassportAuthorizationForm
data SendPassportAuthorizationForm
-- | Sends a Telegram Passport authorization form, effectively sharing data
-- with the service. This method must be called after
-- getPassportAuthorizationFormAvailableElements if some previously
-- available elements need to be used
SendPassportAuthorizationForm :: I32 -> [PassportElementType] -> SendPassportAuthorizationForm
-- | Authorization form identifier
[$sel:autorizationFormId:SendPassportAuthorizationForm] :: SendPassportAuthorizationForm -> I32
-- | Types of Telegram Passport elements chosen by user to complete the
-- authorization form
[$sel:types:SendPassportAuthorizationForm] :: SendPassportAuthorizationForm -> [PassportElementType]
-- | Parameter of Function sendPhoneNumberConfirmationCode
data SendPhoneNumberConfirmationCode
-- | Sends phone number confirmation code. Should be called when user
-- presses
-- "https://t.me/confirmphone?phone=*******&hash=**********"
-- or "tg://confirmphone?phone=*******&hash=**********" link
SendPhoneNumberConfirmationCode :: T -> T -> PhoneNumberAuthenticationSettings -> SendPhoneNumberConfirmationCode
-- | Value of the "hash" parameter from the link
[$sel:hash:SendPhoneNumberConfirmationCode] :: SendPhoneNumberConfirmationCode -> T
-- | Value of the "phone" parameter from the link
[$sel:phoneNumber:SendPhoneNumberConfirmationCode] :: SendPhoneNumberConfirmationCode -> T
-- | Settings for the authentication of the user's phone number
[$sel:settings:SendPhoneNumberConfirmationCode] :: SendPhoneNumberConfirmationCode -> PhoneNumberAuthenticationSettings
-- | Parameter of Function resendPhoneNumberConfirmationCode
data ResendPhoneNumberConfirmationCode
-- | Resends phone number confirmation code
ResendPhoneNumberConfirmationCode :: ResendPhoneNumberConfirmationCode
-- | Parameter of Function checkPhoneNumberConfirmationCode
data CheckPhoneNumberConfirmationCode
-- | Checks phone number confirmation code
CheckPhoneNumberConfirmationCode :: T -> CheckPhoneNumberConfirmationCode
-- | The phone number confirmation code
[$sel:code:CheckPhoneNumberConfirmationCode] :: CheckPhoneNumberConfirmationCode -> T
-- | Parameter of Function setBotUpdatesStatus
data SetBotUpdatesStatus
-- | Informs the server about the number of pending bot updates if they
-- haven't been processed for a long time; for bots only
SetBotUpdatesStatus :: I32 -> T -> SetBotUpdatesStatus
-- | The number of pending updates
[$sel:pendingUpdateCount:SetBotUpdatesStatus] :: SetBotUpdatesStatus -> I32
-- | The last error message
[$sel:errorMessage:SetBotUpdatesStatus] :: SetBotUpdatesStatus -> T
-- | Parameter of Function uploadStickerFile
data UploadStickerFile
-- | Uploads a PNG image with a sticker; for bots only; returns the
-- uploaded file
UploadStickerFile :: I32 -> InputFile -> UploadStickerFile
-- | Sticker file owner
[$sel:userId:UploadStickerFile] :: UploadStickerFile -> I32
-- | PNG image with the sticker; must be up to 512 KB in size and fit in
-- 512x512 square
[$sel:pngSticker:UploadStickerFile] :: UploadStickerFile -> InputFile
-- | Parameter of Function createNewStickerSet
data CreateNewStickerSet
-- | Creates a new sticker set; for bots only. Returns the newly created
-- sticker set
CreateNewStickerSet :: I32 -> T -> T -> Bool -> [InputSticker] -> CreateNewStickerSet
-- | Sticker set owner
[$sel:userId:CreateNewStickerSet] :: CreateNewStickerSet -> I32
-- | Sticker set title; 1-64 characters
[$sel:title:CreateNewStickerSet] :: CreateNewStickerSet -> T
-- | Sticker set name. Can contain only English letters, digits and
-- underscores. Must end with *"_by_username"*
-- (*bot_username* is case insensitive); 1-64 characters
[$sel:name:CreateNewStickerSet] :: CreateNewStickerSet -> T
-- | True, if stickers are masks. Animated stickers can't be masks
[$sel:isMasks:CreateNewStickerSet] :: CreateNewStickerSet -> Bool
-- | List of stickers to be added to the set; must be non-empty. All
-- stickers must be of the same type
[$sel:stickers:CreateNewStickerSet] :: CreateNewStickerSet -> [InputSticker]
-- | Parameter of Function addStickerToSet
data AddStickerToSet
-- | Adds a new sticker to a set; for bots only. Returns the sticker set
AddStickerToSet :: I32 -> T -> InputSticker -> AddStickerToSet
-- | Sticker set owner
[$sel:userId:AddStickerToSet] :: AddStickerToSet -> I32
-- | Sticker set name
[$sel:name:AddStickerToSet] :: AddStickerToSet -> T
-- | Sticker to add to the set
[$sel:sticker:AddStickerToSet] :: AddStickerToSet -> InputSticker
-- | Parameter of Function setStickerSetThumbnail
data SetStickerSetThumbnail
-- | Sets a sticker set thumbnail; for bots only. Returns the sticker set
SetStickerSetThumbnail :: I32 -> T -> InputFile -> SetStickerSetThumbnail
-- | Sticker set owner
[$sel:userId:SetStickerSetThumbnail] :: SetStickerSetThumbnail -> I32
-- | Sticker set name
[$sel:name:SetStickerSetThumbnail] :: SetStickerSetThumbnail -> T
-- | Thumbnail to set in PNG or TGS format. Animated thumbnail must be set
-- for animated sticker sets and only for them. You can use a zero
-- InputFileId to delete the thumbnail
[$sel:thumbnail:SetStickerSetThumbnail] :: SetStickerSetThumbnail -> InputFile
-- | Parameter of Function setStickerPositionInSet
data SetStickerPositionInSet
-- | Changes the position of a sticker in the set to which it belongs; for
-- bots only. The sticker set must have been created by the bot
SetStickerPositionInSet :: InputFile -> I32 -> SetStickerPositionInSet
-- | Sticker
[$sel:sticker:SetStickerPositionInSet] :: SetStickerPositionInSet -> InputFile
-- | New position of the sticker in the set, zero-based
[$sel:position:SetStickerPositionInSet] :: SetStickerPositionInSet -> I32
-- | Parameter of Function removeStickerFromSet
data RemoveStickerFromSet
-- | Removes a sticker from the set to which it belongs; for bots only. The
-- sticker set must have been created by the bot
RemoveStickerFromSet :: InputFile -> RemoveStickerFromSet
-- | Sticker
[$sel:sticker:RemoveStickerFromSet] :: RemoveStickerFromSet -> InputFile
-- | Parameter of Function getMapThumbnailFile
data GetMapThumbnailFile
-- | Returns information about a file with a map thumbnail in PNG format.
-- Only map thumbnail files with size less than 1MB can be downloaded
GetMapThumbnailFile :: Location -> I32 -> I32 -> I32 -> I32 -> I53 -> GetMapThumbnailFile
-- | Location of the map center
[$sel:location:GetMapThumbnailFile] :: GetMapThumbnailFile -> Location
-- | Map zoom level; 13-20
[$sel:zoom:GetMapThumbnailFile] :: GetMapThumbnailFile -> I32
-- | Map width in pixels before applying scale; 16-1024
[$sel:width:GetMapThumbnailFile] :: GetMapThumbnailFile -> I32
-- | Map height in pixels before applying scale; 16-1024
[$sel:height:GetMapThumbnailFile] :: GetMapThumbnailFile -> I32
-- | Map scale; 1-3
[$sel:scale:GetMapThumbnailFile] :: GetMapThumbnailFile -> I32
-- | Identifier of a chat, in which the thumbnail will be shown. Use 0 if
-- unknown
[$sel:chatId:GetMapThumbnailFile] :: GetMapThumbnailFile -> I53
-- | Parameter of Function acceptTermsOfService
data AcceptTermsOfService
-- | Accepts Telegram terms of services
AcceptTermsOfService :: T -> AcceptTermsOfService
-- | Terms of service identifier
[$sel:termsOfServiceId:AcceptTermsOfService] :: AcceptTermsOfService -> T
-- | Parameter of Function sendCustomRequest
data SendCustomRequest
-- | Sends a custom request; for bots only
SendCustomRequest :: T -> T -> SendCustomRequest
-- | The method name
[$sel:method:SendCustomRequest] :: SendCustomRequest -> T
-- | JSON-serialized method parameters
[$sel:parameters:SendCustomRequest] :: SendCustomRequest -> T
-- | Parameter of Function answerCustomQuery
data AnswerCustomQuery
-- | Answers a custom query; for bots only
AnswerCustomQuery :: I64 -> T -> AnswerCustomQuery
-- | Identifier of a custom query
[$sel:customQueryId:AnswerCustomQuery] :: AnswerCustomQuery -> I64
-- | JSON-serialized answer to the query
[$sel:data_:AnswerCustomQuery] :: AnswerCustomQuery -> T
-- | Parameter of Function setAlarm
data SetAlarm
-- | Succeeds after a specified amount of time has passed. Can be called
-- before authorization. Can be called before initialization
SetAlarm :: Double -> SetAlarm
-- | Number of seconds before the function returns
[$sel:seconds:SetAlarm] :: SetAlarm -> Double
-- | Parameter of Function getCountryCode
data GetCountryCode
-- | Uses current user IP address to find their country. Returns two-letter
-- ISO 3166-1 alpha-2 country code. Can be called before authorization
GetCountryCode :: GetCountryCode
-- | Parameter of Function getInviteText
data GetInviteText
-- | Returns the default text for invitation messages to be used as a
-- placeholder when the current user invites friends to Telegram
GetInviteText :: GetInviteText
-- | Parameter of Function getDeepLinkInfo
data GetDeepLinkInfo
-- | Returns information about a tg:/ deep link. Use
-- "tg:/need_update_for_some_feature" or
-- "tg:some_unsupported_feature" for testing. Returns a 404 error for
-- unknown links. Can be called before authorization
GetDeepLinkInfo :: T -> GetDeepLinkInfo
-- | The link
[$sel:link:GetDeepLinkInfo] :: GetDeepLinkInfo -> T
-- | Parameter of Function getApplicationConfig
data GetApplicationConfig
-- | Returns application config, provided by the server. Can be called
-- before authorization
GetApplicationConfig :: GetApplicationConfig
-- | Parameter of Function saveApplicationLogEvent
data SaveApplicationLogEvent
-- | Saves application log event on the server. Can be called before
-- authorization
SaveApplicationLogEvent :: T -> I53 -> JsonValue -> SaveApplicationLogEvent
-- | Event type
[$sel:type_:SaveApplicationLogEvent] :: SaveApplicationLogEvent -> T
-- | Optional chat identifier, associated with the event
[$sel:chatId:SaveApplicationLogEvent] :: SaveApplicationLogEvent -> I53
-- | The log event data
[$sel:data_:SaveApplicationLogEvent] :: SaveApplicationLogEvent -> JsonValue
-- | Parameter of Function addProxy
data AddProxy
-- | Adds a proxy server for network requests. Can be called before
-- authorization
AddProxy :: T -> I32 -> Bool -> ProxyType -> AddProxy
-- | Proxy server IP address
[$sel:server:AddProxy] :: AddProxy -> T
-- | Proxy server port
[$sel:port:AddProxy] :: AddProxy -> I32
-- | True, if the proxy should be enabled
[$sel:enable:AddProxy] :: AddProxy -> Bool
-- | Proxy type
[$sel:type_:AddProxy] :: AddProxy -> ProxyType
-- | Parameter of Function editProxy
data EditProxy
-- | Edits an existing proxy server for network requests. Can be called
-- before authorization
EditProxy :: I32 -> T -> I32 -> Bool -> ProxyType -> EditProxy
-- | Proxy identifier
[$sel:proxyId:EditProxy] :: EditProxy -> I32
-- | Proxy server IP address
[$sel:server:EditProxy] :: EditProxy -> T
-- | Proxy server port
[$sel:port:EditProxy] :: EditProxy -> I32
-- | True, if the proxy should be enabled
[$sel:enable:EditProxy] :: EditProxy -> Bool
-- | Proxy type
[$sel:type_:EditProxy] :: EditProxy -> ProxyType
-- | Parameter of Function enableProxy
data EnableProxy
-- | Enables a proxy. Only one proxy can be enabled at a time. Can be
-- called before authorization
EnableProxy :: I32 -> EnableProxy
-- | Proxy identifier
[$sel:proxyId:EnableProxy] :: EnableProxy -> I32
-- | Parameter of Function disableProxy
data DisableProxy
-- | Disables the currently enabled proxy. Can be called before
-- authorization
DisableProxy :: DisableProxy
-- | Parameter of Function removeProxy
data RemoveProxy
-- | Removes a proxy server. Can be called before authorization
RemoveProxy :: I32 -> RemoveProxy
-- | Proxy identifier
[$sel:proxyId:RemoveProxy] :: RemoveProxy -> I32
-- | Parameter of Function getProxies
data GetProxies
-- | Returns list of proxies that are currently set up. Can be called
-- before authorization
GetProxies :: GetProxies
-- | Parameter of Function getProxyLink
data GetProxyLink
-- | Returns an HTTPS link, which can be used to add a proxy. Available
-- only for SOCKS5 and MTProto proxies. Can be called before
-- authorization
GetProxyLink :: I32 -> GetProxyLink
-- | Proxy identifier
[$sel:proxyId:GetProxyLink] :: GetProxyLink -> I32
-- | Parameter of Function pingProxy
data PingProxy
-- | Computes time needed to receive a response from a Telegram server
-- through a proxy. Can be called before authorization
PingProxy :: I32 -> PingProxy
-- | Proxy identifier. Use 0 to ping a Telegram server without a proxy
[$sel:proxyId:PingProxy] :: PingProxy -> I32
-- | Parameter of Function setLogStream
data SetLogStream
-- | Sets new log stream for internal logging of TDLib. This is an offline
-- method. Can be called before authorization. Can be called
-- synchronously
SetLogStream :: LogStream -> SetLogStream
-- | New log stream
[$sel:logStream:SetLogStream] :: SetLogStream -> LogStream
-- | Parameter of Function getLogStream
data GetLogStream
-- | Returns information about currently used log stream for internal
-- logging of TDLib. This is an offline method. Can be called before
-- authorization. Can be called synchronously
GetLogStream :: GetLogStream
-- | Parameter of Function setLogVerbosityLevel
data SetLogVerbosityLevel
-- | Sets the verbosity level of the internal logging of TDLib. This is an
-- offline method. Can be called before authorization. Can be called
-- synchronously
SetLogVerbosityLevel :: I32 -> SetLogVerbosityLevel
-- | New value of the verbosity level for logging. Value 0 corresponds to
-- fatal errors, value 1 corresponds to errors, value 2 corresponds to
-- warnings and debug warnings, value 3 corresponds to informational,
-- value 4 corresponds to debug, value 5 corresponds to verbose debug,
-- value greater than 5 and up to 1023 can be used to enable even more
-- logging
[$sel:newVerbosityLevel:SetLogVerbosityLevel] :: SetLogVerbosityLevel -> I32
-- | Parameter of Function getLogVerbosityLevel
data GetLogVerbosityLevel
-- | Returns current verbosity level of the internal logging of TDLib. This
-- is an offline method. Can be called before authorization. Can be
-- called synchronously
GetLogVerbosityLevel :: GetLogVerbosityLevel
-- | Parameter of Function getLogTags
data GetLogTags
-- | Returns list of available TDLib internal log tags, for example,
-- ["actor", "binlog", "connections", "notifications", "proxy"]. This is
-- an offline method. Can be called before authorization. Can be called
-- synchronously
GetLogTags :: GetLogTags
-- | Parameter of Function setLogTagVerbosityLevel
data SetLogTagVerbosityLevel
-- | Sets the verbosity level for a specified TDLib internal log tag. This
-- is an offline method. Can be called before authorization. Can be
-- called synchronously
SetLogTagVerbosityLevel :: T -> I32 -> SetLogTagVerbosityLevel
-- | Logging tag to change verbosity level
[$sel:tag:SetLogTagVerbosityLevel] :: SetLogTagVerbosityLevel -> T
-- | New verbosity level; 1-1024
[$sel:newVerbosityLevel:SetLogTagVerbosityLevel] :: SetLogTagVerbosityLevel -> I32
-- | Parameter of Function getLogTagVerbosityLevel
data GetLogTagVerbosityLevel
-- | Returns current verbosity level for a specified TDLib internal log
-- tag. This is an offline method. Can be called before authorization.
-- Can be called synchronously
GetLogTagVerbosityLevel :: T -> GetLogTagVerbosityLevel
-- | Logging tag to change verbosity level
[$sel:tag:GetLogTagVerbosityLevel] :: GetLogTagVerbosityLevel -> T
-- | Parameter of Function addLogMessage
data AddLogMessage
-- | Adds a message to TDLib internal log. This is an offline method. Can
-- be called before authorization. Can be called synchronously
AddLogMessage :: I32 -> T -> AddLogMessage
-- | The minimum verbosity level needed for the message to be logged,
-- 0-1023
[$sel:verbosityLevel:AddLogMessage] :: AddLogMessage -> I32
-- | Text of a message to log
[$sel:text:AddLogMessage] :: AddLogMessage -> T
-- | Parameter of Function testCallEmpty
data TestCallEmpty
-- | Does nothing; for testing only. This is an offline method. Can be
-- called before authorization
TestCallEmpty :: TestCallEmpty
-- | Parameter of Function testCallString
data TestCallString
-- | Returns the received string; for testing only. This is an offline
-- method. Can be called before authorization
TestCallString :: T -> TestCallString
-- | String to return
[$sel:x:TestCallString] :: TestCallString -> T
-- | Parameter of Function testCallBytes
data TestCallBytes
-- | Returns the received bytes; for testing only. This is an offline
-- method. Can be called before authorization
TestCallBytes :: ByteString64 -> TestCallBytes
-- | Bytes to return
[$sel:x:TestCallBytes] :: TestCallBytes -> ByteString64
-- | Parameter of Function testCallVectorInt
data TestCallVectorInt
-- | Returns the received vector of numbers; for testing only. This is an
-- offline method. Can be called before authorization
TestCallVectorInt :: [I32] -> TestCallVectorInt
-- | Vector of numbers to return
[$sel:x:TestCallVectorInt] :: TestCallVectorInt -> [I32]
-- | Parameter of Function testCallVectorIntObject
data TestCallVectorIntObject
-- | Returns the received vector of objects containing a number; for
-- testing only. This is an offline method. Can be called before
-- authorization
TestCallVectorIntObject :: [TestInt] -> TestCallVectorIntObject
-- | Vector of objects to return
[$sel:x:TestCallVectorIntObject] :: TestCallVectorIntObject -> [TestInt]
-- | Parameter of Function testCallVectorString
data TestCallVectorString
-- | Returns the received vector of strings; for testing only. This is an
-- offline method. Can be called before authorization
TestCallVectorString :: [T] -> TestCallVectorString
-- | Vector of strings to return
[$sel:x:TestCallVectorString] :: TestCallVectorString -> [T]
-- | Parameter of Function testCallVectorStringObject
data TestCallVectorStringObject
-- | Returns the received vector of objects containing a string; for
-- testing only. This is an offline method. Can be called before
-- authorization
TestCallVectorStringObject :: [TestString] -> TestCallVectorStringObject
-- | Vector of objects to return
[$sel:x:TestCallVectorStringObject] :: TestCallVectorStringObject -> [TestString]
-- | Parameter of Function testSquareInt
data TestSquareInt
-- | Returns the squared received number; for testing only. This is an
-- offline method. Can be called before authorization
TestSquareInt :: I32 -> TestSquareInt
-- | Number to square
[$sel:x:TestSquareInt] :: TestSquareInt -> I32
-- | Parameter of Function testNetwork
data TestNetwork
-- | Sends a simple network request to the Telegram servers; for testing
-- only. Can be called before authorization
TestNetwork :: TestNetwork
-- | Parameter of Function testProxy
data TestProxy
-- | Sends a simple network request to the Telegram servers via proxy; for
-- testing only. Can be called before authorization
TestProxy :: T -> I32 -> ProxyType -> I32 -> Double -> TestProxy
-- | Proxy server IP address
[$sel:server:TestProxy] :: TestProxy -> T
-- | Proxy server port
[$sel:port:TestProxy] :: TestProxy -> I32
-- | Proxy type
[$sel:type_:TestProxy] :: TestProxy -> ProxyType
-- | Identifier of a datacenter, with which to test connection
[$sel:dcId:TestProxy] :: TestProxy -> I32
-- | The maximum overall timeout for the request
[$sel:timeout:TestProxy] :: TestProxy -> Double
-- | Parameter of Function testGetDifference
data TestGetDifference
-- | Forces an updates.getDifference call to the Telegram servers; for
-- testing only
TestGetDifference :: TestGetDifference
-- | Parameter of Function testUseUpdate
data TestUseUpdate
-- | Does nothing and ensures that the Update object is used; for testing
-- only. This is an offline method. Can be called before authorization
TestUseUpdate :: TestUseUpdate
-- | Parameter of Function testReturnError
data TestReturnError
-- | Returns the specified error and ensures that the Error object is used;
-- for testing only. This is an offline method. Can be called before
-- authorization. Can be called synchronously
TestReturnError :: Error -> TestReturnError
-- | The error to be returned
[$sel:error:TestReturnError] :: TestReturnError -> Error
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetAuthorizationState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetAuthorizationState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetTdlibParameters
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetTdlibParameters
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CheckDatabaseEncryptionKey
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CheckDatabaseEncryptionKey
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetAuthenticationPhoneNumber
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetAuthenticationPhoneNumber
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ResendAuthenticationCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ResendAuthenticationCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CheckAuthenticationCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CheckAuthenticationCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RequestQrCodeAuthentication
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RequestQrCodeAuthentication
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RegisterUser
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RegisterUser
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CheckAuthenticationPassword
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CheckAuthenticationPassword
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RequestAuthenticationPasswordRecovery
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RequestAuthenticationPasswordRecovery
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RecoverAuthenticationPassword
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RecoverAuthenticationPassword
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CheckAuthenticationBotToken
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CheckAuthenticationBotToken
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.LogOut
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.LogOut
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.Close
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.Close
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.Destroy
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.Destroy
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ConfirmQrCodeAuthentication
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ConfirmQrCodeAuthentication
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetCurrentState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetCurrentState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetDatabaseEncryptionKey
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetDatabaseEncryptionKey
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetPasswordState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetPasswordState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetPassword
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetPassword
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetRecoveryEmailAddress
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetRecoveryEmailAddress
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetRecoveryEmailAddress
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetRecoveryEmailAddress
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CheckRecoveryEmailAddressCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CheckRecoveryEmailAddressCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ResendRecoveryEmailAddressCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ResendRecoveryEmailAddressCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RequestPasswordRecovery
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RequestPasswordRecovery
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RecoverPassword
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RecoverPassword
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CreateTemporaryPassword
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CreateTemporaryPassword
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetTemporaryPasswordState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetTemporaryPasswordState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetMe
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetMe
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetUser
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetUser
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetUserFullInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetUserFullInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetBasicGroup
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetBasicGroup
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetBasicGroupFullInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetBasicGroupFullInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetSupergroup
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetSupergroup
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetSupergroupFullInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetSupergroupFullInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetSecretChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetSecretChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetMessageLocally
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetMessageLocally
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetRepliedMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetRepliedMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatPinnedMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatPinnedMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetRemoteFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetRemoteFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChats
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChats
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchPublicChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchPublicChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchPublicChats
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchPublicChats
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchChats
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchChats
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchChatsOnServer
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchChatsOnServer
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchChatsNearby
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchChatsNearby
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetTopChats
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetTopChats
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveTopChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveTopChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddRecentlyFoundChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddRecentlyFoundChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveRecentlyFoundChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveRecentlyFoundChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ClearRecentlyFoundChats
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ClearRecentlyFoundChats
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CheckChatUsername
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CheckChatUsername
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetCreatedPublicChats
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetCreatedPublicChats
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CheckCreatedPublicChatsLimit
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CheckCreatedPublicChatsLimit
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetSuitableDiscussionChats
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetSuitableDiscussionChats
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetInactiveSupergroupChats
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetInactiveSupergroupChats
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetGroupsInCommon
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetGroupsInCommon
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatHistory
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatHistory
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeleteChatHistory
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeleteChatHistory
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchChatMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchChatMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchSecretMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchSecretMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchCallMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchCallMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchChatRecentLocationMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchChatRecentLocationMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetActiveLiveLocationMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetActiveLiveLocationMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatMessageByDate
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatMessageByDate
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatMessageCount
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatMessageCount
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatScheduledMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatScheduledMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveNotification
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveNotification
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveNotificationGroup
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveNotificationGroup
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetPublicMessageLink
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetPublicMessageLink
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetMessageLink
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetMessageLink
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetMessageLinkInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetMessageLinkInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendMessageAlbum
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendMessageAlbum
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendBotStartMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendBotStartMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendInlineQueryResultMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendInlineQueryResultMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ForwardMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ForwardMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ResendMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ResendMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendChatSetTtlMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendChatSetTtlMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendChatScreenshotTakenNotification
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendChatScreenshotTakenNotification
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddLocalMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddLocalMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeleteMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeleteMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeleteChatMessagesFromUser
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeleteChatMessagesFromUser
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditMessageText
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditMessageText
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditMessageLiveLocation
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditMessageLiveLocation
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditMessageMedia
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditMessageMedia
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditMessageCaption
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditMessageCaption
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditMessageReplyMarkup
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditMessageReplyMarkup
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditInlineMessageText
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditInlineMessageText
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditInlineMessageLiveLocation
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditInlineMessageLiveLocation
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditInlineMessageMedia
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditInlineMessageMedia
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditInlineMessageCaption
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditInlineMessageCaption
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditInlineMessageReplyMarkup
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditInlineMessageReplyMarkup
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditMessageSchedulingState
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditMessageSchedulingState
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetTextEntities
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetTextEntities
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ParseTextEntities
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ParseTextEntities
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ParseMarkdown
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ParseMarkdown
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetMarkdownText
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetMarkdownText
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetFileMimeType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetFileMimeType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetFileExtension
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetFileExtension
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CleanFileName
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CleanFileName
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetLanguagePackString
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetLanguagePackString
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetJsonValue
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetJsonValue
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetJsonString
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetJsonString
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetPollAnswer
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetPollAnswer
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetPollVoters
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetPollVoters
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.StopPoll
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.StopPoll
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetLoginUrlInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetLoginUrlInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetLoginUrl
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetLoginUrl
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetInlineQueryResults
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetInlineQueryResults
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AnswerInlineQuery
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AnswerInlineQuery
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetCallbackQueryAnswer
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetCallbackQueryAnswer
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AnswerCallbackQuery
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AnswerCallbackQuery
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AnswerShippingQuery
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AnswerShippingQuery
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AnswerPreCheckoutQuery
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AnswerPreCheckoutQuery
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetGameScore
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetGameScore
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetInlineGameScore
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetInlineGameScore
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetGameHighScores
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetGameHighScores
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetInlineGameHighScores
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetInlineGameHighScores
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeleteChatReplyMarkup
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeleteChatReplyMarkup
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendChatAction
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendChatAction
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.OpenChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.OpenChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CloseChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CloseChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ViewMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ViewMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.OpenMessageContent
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.OpenMessageContent
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ReadAllChatMentions
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ReadAllChatMentions
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CreatePrivateChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CreatePrivateChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CreateBasicGroupChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CreateBasicGroupChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CreateSupergroupChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CreateSupergroupChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CreateSecretChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CreateSecretChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CreateNewBasicGroupChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CreateNewBasicGroupChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CreateNewSupergroupChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CreateNewSupergroupChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CreateNewSecretChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CreateNewSecretChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.UpgradeBasicGroupChatToSupergroupChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.UpgradeBasicGroupChatToSupergroupChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatListsToAddChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatListsToAddChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddChatToList
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddChatToList
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatFilter
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatFilter
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CreateChatFilter
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CreateChatFilter
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditChatFilter
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditChatFilter
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeleteChatFilter
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeleteChatFilter
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ReorderChatFilters
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ReorderChatFilters
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetRecommendedChatFilters
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetRecommendedChatFilters
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatFilterDefaultIconName
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatFilterDefaultIconName
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetChatTitle
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetChatTitle
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetChatPhoto
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetChatPhoto
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetChatPermissions
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetChatPermissions
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetChatDraftMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetChatDraftMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetChatNotificationSettings
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetChatNotificationSettings
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ToggleChatIsMarkedAsUnread
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ToggleChatIsMarkedAsUnread
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ToggleChatDefaultDisableNotification
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ToggleChatDefaultDisableNotification
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetChatClientData
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetChatClientData
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetChatDescription
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetChatDescription
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetChatDiscussionGroup
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetChatDiscussionGroup
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetChatLocation
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetChatLocation
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetChatSlowModeDelay
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetChatSlowModeDelay
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.PinChatMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.PinChatMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.UnpinChatMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.UnpinChatMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.JoinChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.JoinChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.LeaveChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.LeaveChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddChatMember
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddChatMember
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddChatMembers
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddChatMembers
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetChatMemberStatus
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetChatMemberStatus
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CanTransferOwnership
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CanTransferOwnership
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TransferChatOwnership
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TransferChatOwnership
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatMember
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatMember
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchChatMembers
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchChatMembers
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatAdministrators
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatAdministrators
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ClearAllDraftMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ClearAllDraftMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatNotificationSettingsExceptions
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatNotificationSettingsExceptions
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetScopeNotificationSettings
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetScopeNotificationSettings
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetScopeNotificationSettings
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetScopeNotificationSettings
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ResetAllNotificationSettings
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ResetAllNotificationSettings
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ToggleChatIsPinned
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ToggleChatIsPinned
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetPinnedChats
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetPinnedChats
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DownloadFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DownloadFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetFileDownloadedPrefixSize
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetFileDownloadedPrefixSize
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CancelDownloadFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CancelDownloadFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.UploadFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.UploadFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CancelUploadFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CancelUploadFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.WriteGeneratedFilePart
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.WriteGeneratedFilePart
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetFileGenerationProgress
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetFileGenerationProgress
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.FinishFileGeneration
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.FinishFileGeneration
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ReadFilePart
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ReadFilePart
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeleteFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeleteFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GenerateChatInviteLink
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GenerateChatInviteLink
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CheckChatInviteLink
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CheckChatInviteLink
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.JoinChatByInviteLink
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.JoinChatByInviteLink
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CreateCall
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CreateCall
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AcceptCall
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AcceptCall
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DiscardCall
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DiscardCall
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendCallRating
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendCallRating
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendCallDebugInformation
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendCallDebugInformation
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.BlockUser
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.BlockUser
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.UnblockUser
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.UnblockUser
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetBlockedUsers
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetBlockedUsers
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddContact
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddContact
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ImportContacts
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ImportContacts
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetContacts
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetContacts
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchContacts
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchContacts
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveContacts
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveContacts
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetImportedContactCount
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetImportedContactCount
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ChangeImportedContacts
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ChangeImportedContacts
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ClearImportedContacts
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ClearImportedContacts
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SharePhoneNumber
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SharePhoneNumber
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetUserProfilePhotos
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetUserProfilePhotos
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetStickers
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetStickers
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchStickers
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchStickers
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetInstalledStickerSets
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetInstalledStickerSets
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetArchivedStickerSets
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetArchivedStickerSets
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetTrendingStickerSets
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetTrendingStickerSets
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetAttachedStickerSets
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetAttachedStickerSets
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetStickerSet
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetStickerSet
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchStickerSet
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchStickerSet
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchInstalledStickerSets
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchInstalledStickerSets
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchStickerSets
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchStickerSets
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ChangeStickerSet
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ChangeStickerSet
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ViewTrendingStickerSets
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ViewTrendingStickerSets
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ReorderInstalledStickerSets
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ReorderInstalledStickerSets
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetRecentStickers
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetRecentStickers
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddRecentSticker
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddRecentSticker
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveRecentSticker
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveRecentSticker
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ClearRecentStickers
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ClearRecentStickers
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetFavoriteStickers
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetFavoriteStickers
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddFavoriteSticker
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddFavoriteSticker
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveFavoriteSticker
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveFavoriteSticker
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetStickerEmojis
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetStickerEmojis
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchEmojis
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchEmojis
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetEmojiSuggestionsUrl
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetEmojiSuggestionsUrl
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetSavedAnimations
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetSavedAnimations
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddSavedAnimation
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddSavedAnimation
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveSavedAnimation
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveSavedAnimation
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetRecentInlineBots
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetRecentInlineBots
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchHashtags
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchHashtags
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveRecentHashtag
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveRecentHashtag
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetWebPagePreview
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetWebPagePreview
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetWebPageInstantView
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetWebPageInstantView
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetProfilePhoto
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetProfilePhoto
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeleteProfilePhoto
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeleteProfilePhoto
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetName
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetName
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetBio
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetBio
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetUsername
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetUsername
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetLocation
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetLocation
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ChangePhoneNumber
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ChangePhoneNumber
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ResendChangePhoneNumberCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ResendChangePhoneNumberCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CheckChangePhoneNumberCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CheckChangePhoneNumberCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetCommands
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetCommands
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetActiveSessions
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetActiveSessions
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TerminateSession
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TerminateSession
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TerminateAllOtherSessions
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TerminateAllOtherSessions
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetConnectedWebsites
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetConnectedWebsites
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DisconnectWebsite
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DisconnectWebsite
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DisconnectAllWebsites
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DisconnectAllWebsites
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetSupergroupUsername
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetSupergroupUsername
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetSupergroupStickerSet
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetSupergroupStickerSet
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ToggleSupergroupSignMessages
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ToggleSupergroupSignMessages
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ToggleSupergroupIsAllHistoryAvailable
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ToggleSupergroupIsAllHistoryAvailable
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ReportSupergroupSpam
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ReportSupergroupSpam
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetSupergroupMembers
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetSupergroupMembers
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeleteSupergroup
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeleteSupergroup
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CloseSecretChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CloseSecretChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatEventLog
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatEventLog
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetPaymentForm
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetPaymentForm
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ValidateOrderInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ValidateOrderInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendPaymentForm
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendPaymentForm
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetPaymentReceipt
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetPaymentReceipt
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetSavedOrderInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetSavedOrderInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeleteSavedOrderInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeleteSavedOrderInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeleteSavedCredentials
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeleteSavedCredentials
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetSupportUser
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetSupportUser
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetBackgrounds
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetBackgrounds
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetBackgroundUrl
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetBackgroundUrl
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SearchBackground
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SearchBackground
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetBackground
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetBackground
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveBackground
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveBackground
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ResetBackgrounds
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ResetBackgrounds
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetLocalizationTargetInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetLocalizationTargetInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetLanguagePackInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetLanguagePackInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetLanguagePackStrings
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetLanguagePackStrings
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SynchronizeLanguagePack
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SynchronizeLanguagePack
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddCustomServerLanguagePack
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddCustomServerLanguagePack
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetCustomLanguagePack
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetCustomLanguagePack
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditCustomLanguagePackInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditCustomLanguagePackInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetCustomLanguagePackString
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetCustomLanguagePackString
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeleteLanguagePack
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeleteLanguagePack
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RegisterDevice
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RegisterDevice
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ProcessPushNotification
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ProcessPushNotification
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetPushReceiverId
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetPushReceiverId
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetRecentlyVisitedTMeUrls
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetRecentlyVisitedTMeUrls
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetUserPrivacySettingRules
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetUserPrivacySettingRules
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetUserPrivacySettingRules
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetUserPrivacySettingRules
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetOption
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetOption
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetOption
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetOption
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetAccountTtl
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetAccountTtl
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetAccountTtl
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetAccountTtl
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeleteAccount
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeleteAccount
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveChatActionBar
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveChatActionBar
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ReportChat
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ReportChat
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatStatisticsUrl
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatStatisticsUrl
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatStatistics
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatStatistics
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetChatStatisticsGraph
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetChatStatisticsGraph
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetStorageStatistics
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetStorageStatistics
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetStorageStatisticsFast
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetStorageStatisticsFast
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetDatabaseStatistics
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetDatabaseStatistics
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.OptimizeStorage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.OptimizeStorage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetNetworkType
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetNetworkType
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetNetworkStatistics
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetNetworkStatistics
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddNetworkStatistics
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddNetworkStatistics
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ResetNetworkStatistics
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ResetNetworkStatistics
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetAutoDownloadSettingsPresets
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetAutoDownloadSettingsPresets
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetAutoDownloadSettings
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetAutoDownloadSettings
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetBankCardInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetBankCardInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetPassportElement
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetPassportElement
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetAllPassportElements
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetAllPassportElements
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetPassportElement
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetPassportElement
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DeletePassportElement
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DeletePassportElement
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetPassportElementErrors
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetPassportElementErrors
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetPreferredCountryLanguage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetPreferredCountryLanguage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendPhoneNumberVerificationCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendPhoneNumberVerificationCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ResendPhoneNumberVerificationCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ResendPhoneNumberVerificationCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CheckPhoneNumberVerificationCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CheckPhoneNumberVerificationCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendEmailAddressVerificationCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendEmailAddressVerificationCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ResendEmailAddressVerificationCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ResendEmailAddressVerificationCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CheckEmailAddressVerificationCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CheckEmailAddressVerificationCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetPassportAuthorizationForm
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetPassportAuthorizationForm
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetPassportAuthorizationFormAvailableElements
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetPassportAuthorizationFormAvailableElements
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendPassportAuthorizationForm
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendPassportAuthorizationForm
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendPhoneNumberConfirmationCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendPhoneNumberConfirmationCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.ResendPhoneNumberConfirmationCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.ResendPhoneNumberConfirmationCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CheckPhoneNumberConfirmationCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CheckPhoneNumberConfirmationCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetBotUpdatesStatus
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetBotUpdatesStatus
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.UploadStickerFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.UploadStickerFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.CreateNewStickerSet
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.CreateNewStickerSet
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddStickerToSet
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddStickerToSet
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetStickerSetThumbnail
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetStickerSetThumbnail
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetStickerPositionInSet
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetStickerPositionInSet
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveStickerFromSet
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveStickerFromSet
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetMapThumbnailFile
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetMapThumbnailFile
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AcceptTermsOfService
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AcceptTermsOfService
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SendCustomRequest
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SendCustomRequest
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AnswerCustomQuery
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AnswerCustomQuery
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetAlarm
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetAlarm
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetCountryCode
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetCountryCode
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetInviteText
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetInviteText
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetDeepLinkInfo
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetDeepLinkInfo
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetApplicationConfig
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetApplicationConfig
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SaveApplicationLogEvent
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SaveApplicationLogEvent
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddProxy
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddProxy
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EditProxy
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EditProxy
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.EnableProxy
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.EnableProxy
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.DisableProxy
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.DisableProxy
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.RemoveProxy
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.RemoveProxy
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetProxies
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetProxies
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetProxyLink
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetProxyLink
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.PingProxy
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.PingProxy
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetLogStream
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetLogStream
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetLogStream
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetLogStream
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetLogVerbosityLevel
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetLogVerbosityLevel
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetLogVerbosityLevel
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetLogVerbosityLevel
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetLogTags
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetLogTags
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.SetLogTagVerbosityLevel
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.SetLogTagVerbosityLevel
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.GetLogTagVerbosityLevel
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.GetLogTagVerbosityLevel
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.AddLogMessage
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.AddLogMessage
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestCallEmpty
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestCallEmpty
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestCallString
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestCallString
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestCallBytes
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestCallBytes
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestCallVectorInt
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestCallVectorInt
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestCallVectorIntObject
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestCallVectorIntObject
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestCallVectorString
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestCallVectorString
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestCallVectorStringObject
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestCallVectorStringObject
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestSquareInt
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestSquareInt
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestNetwork
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestNetwork
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestProxy
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestProxy
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestGetDifference
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestGetDifference
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestUseUpdate
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestUseUpdate
instance Data.Aeson.Types.ToJSON.ToJSON TDLib.Generated.FunArgs.TestReturnError
instance Data.Aeson.Types.FromJSON.FromJSON TDLib.Generated.FunArgs.TestReturnError
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestReturnError
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestReturnError
instance GHC.Show.Show TDLib.Generated.FunArgs.TestReturnError
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestUseUpdate
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestUseUpdate
instance GHC.Show.Show TDLib.Generated.FunArgs.TestUseUpdate
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestGetDifference
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestGetDifference
instance GHC.Show.Show TDLib.Generated.FunArgs.TestGetDifference
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestProxy
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestProxy
instance GHC.Show.Show TDLib.Generated.FunArgs.TestProxy
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestNetwork
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestNetwork
instance GHC.Show.Show TDLib.Generated.FunArgs.TestNetwork
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestSquareInt
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestSquareInt
instance GHC.Show.Show TDLib.Generated.FunArgs.TestSquareInt
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestCallVectorStringObject
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestCallVectorStringObject
instance GHC.Show.Show TDLib.Generated.FunArgs.TestCallVectorStringObject
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestCallVectorString
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestCallVectorString
instance GHC.Show.Show TDLib.Generated.FunArgs.TestCallVectorString
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestCallVectorIntObject
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestCallVectorIntObject
instance GHC.Show.Show TDLib.Generated.FunArgs.TestCallVectorIntObject
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestCallVectorInt
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestCallVectorInt
instance GHC.Show.Show TDLib.Generated.FunArgs.TestCallVectorInt
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestCallBytes
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestCallBytes
instance GHC.Show.Show TDLib.Generated.FunArgs.TestCallBytes
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestCallString
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestCallString
instance GHC.Show.Show TDLib.Generated.FunArgs.TestCallString
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TestCallEmpty
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TestCallEmpty
instance GHC.Show.Show TDLib.Generated.FunArgs.TestCallEmpty
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddLogMessage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddLogMessage
instance GHC.Show.Show TDLib.Generated.FunArgs.AddLogMessage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetLogTagVerbosityLevel
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetLogTagVerbosityLevel
instance GHC.Show.Show TDLib.Generated.FunArgs.GetLogTagVerbosityLevel
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetLogTagVerbosityLevel
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetLogTagVerbosityLevel
instance GHC.Show.Show TDLib.Generated.FunArgs.SetLogTagVerbosityLevel
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetLogTags
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetLogTags
instance GHC.Show.Show TDLib.Generated.FunArgs.GetLogTags
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetLogVerbosityLevel
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetLogVerbosityLevel
instance GHC.Show.Show TDLib.Generated.FunArgs.GetLogVerbosityLevel
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetLogVerbosityLevel
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetLogVerbosityLevel
instance GHC.Show.Show TDLib.Generated.FunArgs.SetLogVerbosityLevel
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetLogStream
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetLogStream
instance GHC.Show.Show TDLib.Generated.FunArgs.GetLogStream
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetLogStream
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetLogStream
instance GHC.Show.Show TDLib.Generated.FunArgs.SetLogStream
instance GHC.Generics.Generic TDLib.Generated.FunArgs.PingProxy
instance GHC.Classes.Eq TDLib.Generated.FunArgs.PingProxy
instance GHC.Show.Show TDLib.Generated.FunArgs.PingProxy
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetProxyLink
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetProxyLink
instance GHC.Show.Show TDLib.Generated.FunArgs.GetProxyLink
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetProxies
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetProxies
instance GHC.Show.Show TDLib.Generated.FunArgs.GetProxies
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveProxy
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveProxy
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveProxy
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DisableProxy
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DisableProxy
instance GHC.Show.Show TDLib.Generated.FunArgs.DisableProxy
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EnableProxy
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EnableProxy
instance GHC.Show.Show TDLib.Generated.FunArgs.EnableProxy
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditProxy
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditProxy
instance GHC.Show.Show TDLib.Generated.FunArgs.EditProxy
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddProxy
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddProxy
instance GHC.Show.Show TDLib.Generated.FunArgs.AddProxy
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SaveApplicationLogEvent
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SaveApplicationLogEvent
instance GHC.Show.Show TDLib.Generated.FunArgs.SaveApplicationLogEvent
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetApplicationConfig
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetApplicationConfig
instance GHC.Show.Show TDLib.Generated.FunArgs.GetApplicationConfig
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetDeepLinkInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetDeepLinkInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.GetDeepLinkInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetInviteText
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetInviteText
instance GHC.Show.Show TDLib.Generated.FunArgs.GetInviteText
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetCountryCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetCountryCode
instance GHC.Show.Show TDLib.Generated.FunArgs.GetCountryCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetAlarm
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetAlarm
instance GHC.Show.Show TDLib.Generated.FunArgs.SetAlarm
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AnswerCustomQuery
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AnswerCustomQuery
instance GHC.Show.Show TDLib.Generated.FunArgs.AnswerCustomQuery
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendCustomRequest
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendCustomRequest
instance GHC.Show.Show TDLib.Generated.FunArgs.SendCustomRequest
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AcceptTermsOfService
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AcceptTermsOfService
instance GHC.Show.Show TDLib.Generated.FunArgs.AcceptTermsOfService
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetMapThumbnailFile
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetMapThumbnailFile
instance GHC.Show.Show TDLib.Generated.FunArgs.GetMapThumbnailFile
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveStickerFromSet
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveStickerFromSet
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveStickerFromSet
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetStickerPositionInSet
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetStickerPositionInSet
instance GHC.Show.Show TDLib.Generated.FunArgs.SetStickerPositionInSet
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetStickerSetThumbnail
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetStickerSetThumbnail
instance GHC.Show.Show TDLib.Generated.FunArgs.SetStickerSetThumbnail
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddStickerToSet
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddStickerToSet
instance GHC.Show.Show TDLib.Generated.FunArgs.AddStickerToSet
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CreateNewStickerSet
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CreateNewStickerSet
instance GHC.Show.Show TDLib.Generated.FunArgs.CreateNewStickerSet
instance GHC.Generics.Generic TDLib.Generated.FunArgs.UploadStickerFile
instance GHC.Classes.Eq TDLib.Generated.FunArgs.UploadStickerFile
instance GHC.Show.Show TDLib.Generated.FunArgs.UploadStickerFile
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetBotUpdatesStatus
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetBotUpdatesStatus
instance GHC.Show.Show TDLib.Generated.FunArgs.SetBotUpdatesStatus
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CheckPhoneNumberConfirmationCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CheckPhoneNumberConfirmationCode
instance GHC.Show.Show TDLib.Generated.FunArgs.CheckPhoneNumberConfirmationCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ResendPhoneNumberConfirmationCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ResendPhoneNumberConfirmationCode
instance GHC.Show.Show TDLib.Generated.FunArgs.ResendPhoneNumberConfirmationCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendPhoneNumberConfirmationCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendPhoneNumberConfirmationCode
instance GHC.Show.Show TDLib.Generated.FunArgs.SendPhoneNumberConfirmationCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendPassportAuthorizationForm
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendPassportAuthorizationForm
instance GHC.Show.Show TDLib.Generated.FunArgs.SendPassportAuthorizationForm
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetPassportAuthorizationFormAvailableElements
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetPassportAuthorizationFormAvailableElements
instance GHC.Show.Show TDLib.Generated.FunArgs.GetPassportAuthorizationFormAvailableElements
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetPassportAuthorizationForm
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetPassportAuthorizationForm
instance GHC.Show.Show TDLib.Generated.FunArgs.GetPassportAuthorizationForm
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CheckEmailAddressVerificationCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CheckEmailAddressVerificationCode
instance GHC.Show.Show TDLib.Generated.FunArgs.CheckEmailAddressVerificationCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ResendEmailAddressVerificationCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ResendEmailAddressVerificationCode
instance GHC.Show.Show TDLib.Generated.FunArgs.ResendEmailAddressVerificationCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendEmailAddressVerificationCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendEmailAddressVerificationCode
instance GHC.Show.Show TDLib.Generated.FunArgs.SendEmailAddressVerificationCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CheckPhoneNumberVerificationCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CheckPhoneNumberVerificationCode
instance GHC.Show.Show TDLib.Generated.FunArgs.CheckPhoneNumberVerificationCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ResendPhoneNumberVerificationCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ResendPhoneNumberVerificationCode
instance GHC.Show.Show TDLib.Generated.FunArgs.ResendPhoneNumberVerificationCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendPhoneNumberVerificationCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendPhoneNumberVerificationCode
instance GHC.Show.Show TDLib.Generated.FunArgs.SendPhoneNumberVerificationCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetPreferredCountryLanguage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetPreferredCountryLanguage
instance GHC.Show.Show TDLib.Generated.FunArgs.GetPreferredCountryLanguage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetPassportElementErrors
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetPassportElementErrors
instance GHC.Show.Show TDLib.Generated.FunArgs.SetPassportElementErrors
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeletePassportElement
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeletePassportElement
instance GHC.Show.Show TDLib.Generated.FunArgs.DeletePassportElement
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetPassportElement
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetPassportElement
instance GHC.Show.Show TDLib.Generated.FunArgs.SetPassportElement
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetAllPassportElements
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetAllPassportElements
instance GHC.Show.Show TDLib.Generated.FunArgs.GetAllPassportElements
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetPassportElement
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetPassportElement
instance GHC.Show.Show TDLib.Generated.FunArgs.GetPassportElement
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetBankCardInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetBankCardInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.GetBankCardInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetAutoDownloadSettings
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetAutoDownloadSettings
instance GHC.Show.Show TDLib.Generated.FunArgs.SetAutoDownloadSettings
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetAutoDownloadSettingsPresets
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetAutoDownloadSettingsPresets
instance GHC.Show.Show TDLib.Generated.FunArgs.GetAutoDownloadSettingsPresets
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ResetNetworkStatistics
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ResetNetworkStatistics
instance GHC.Show.Show TDLib.Generated.FunArgs.ResetNetworkStatistics
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddNetworkStatistics
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddNetworkStatistics
instance GHC.Show.Show TDLib.Generated.FunArgs.AddNetworkStatistics
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetNetworkStatistics
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetNetworkStatistics
instance GHC.Show.Show TDLib.Generated.FunArgs.GetNetworkStatistics
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetNetworkType
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetNetworkType
instance GHC.Show.Show TDLib.Generated.FunArgs.SetNetworkType
instance GHC.Generics.Generic TDLib.Generated.FunArgs.OptimizeStorage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.OptimizeStorage
instance GHC.Show.Show TDLib.Generated.FunArgs.OptimizeStorage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetDatabaseStatistics
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetDatabaseStatistics
instance GHC.Show.Show TDLib.Generated.FunArgs.GetDatabaseStatistics
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetStorageStatisticsFast
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetStorageStatisticsFast
instance GHC.Show.Show TDLib.Generated.FunArgs.GetStorageStatisticsFast
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetStorageStatistics
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetStorageStatistics
instance GHC.Show.Show TDLib.Generated.FunArgs.GetStorageStatistics
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatStatisticsGraph
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatStatisticsGraph
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatStatisticsGraph
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatStatistics
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatStatistics
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatStatistics
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatStatisticsUrl
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatStatisticsUrl
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatStatisticsUrl
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ReportChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ReportChat
instance GHC.Show.Show TDLib.Generated.FunArgs.ReportChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveChatActionBar
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveChatActionBar
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveChatActionBar
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeleteAccount
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeleteAccount
instance GHC.Show.Show TDLib.Generated.FunArgs.DeleteAccount
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetAccountTtl
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetAccountTtl
instance GHC.Show.Show TDLib.Generated.FunArgs.GetAccountTtl
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetAccountTtl
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetAccountTtl
instance GHC.Show.Show TDLib.Generated.FunArgs.SetAccountTtl
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetOption
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetOption
instance GHC.Show.Show TDLib.Generated.FunArgs.SetOption
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetOption
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetOption
instance GHC.Show.Show TDLib.Generated.FunArgs.GetOption
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetUserPrivacySettingRules
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetUserPrivacySettingRules
instance GHC.Show.Show TDLib.Generated.FunArgs.GetUserPrivacySettingRules
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetUserPrivacySettingRules
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetUserPrivacySettingRules
instance GHC.Show.Show TDLib.Generated.FunArgs.SetUserPrivacySettingRules
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetRecentlyVisitedTMeUrls
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetRecentlyVisitedTMeUrls
instance GHC.Show.Show TDLib.Generated.FunArgs.GetRecentlyVisitedTMeUrls
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetPushReceiverId
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetPushReceiverId
instance GHC.Show.Show TDLib.Generated.FunArgs.GetPushReceiverId
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ProcessPushNotification
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ProcessPushNotification
instance GHC.Show.Show TDLib.Generated.FunArgs.ProcessPushNotification
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RegisterDevice
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RegisterDevice
instance GHC.Show.Show TDLib.Generated.FunArgs.RegisterDevice
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeleteLanguagePack
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeleteLanguagePack
instance GHC.Show.Show TDLib.Generated.FunArgs.DeleteLanguagePack
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetCustomLanguagePackString
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetCustomLanguagePackString
instance GHC.Show.Show TDLib.Generated.FunArgs.SetCustomLanguagePackString
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditCustomLanguagePackInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditCustomLanguagePackInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.EditCustomLanguagePackInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetCustomLanguagePack
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetCustomLanguagePack
instance GHC.Show.Show TDLib.Generated.FunArgs.SetCustomLanguagePack
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddCustomServerLanguagePack
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddCustomServerLanguagePack
instance GHC.Show.Show TDLib.Generated.FunArgs.AddCustomServerLanguagePack
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SynchronizeLanguagePack
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SynchronizeLanguagePack
instance GHC.Show.Show TDLib.Generated.FunArgs.SynchronizeLanguagePack
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetLanguagePackStrings
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetLanguagePackStrings
instance GHC.Show.Show TDLib.Generated.FunArgs.GetLanguagePackStrings
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetLanguagePackInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetLanguagePackInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.GetLanguagePackInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetLocalizationTargetInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetLocalizationTargetInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.GetLocalizationTargetInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ResetBackgrounds
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ResetBackgrounds
instance GHC.Show.Show TDLib.Generated.FunArgs.ResetBackgrounds
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveBackground
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveBackground
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveBackground
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetBackground
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetBackground
instance GHC.Show.Show TDLib.Generated.FunArgs.SetBackground
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchBackground
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchBackground
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchBackground
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetBackgroundUrl
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetBackgroundUrl
instance GHC.Show.Show TDLib.Generated.FunArgs.GetBackgroundUrl
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetBackgrounds
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetBackgrounds
instance GHC.Show.Show TDLib.Generated.FunArgs.GetBackgrounds
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetSupportUser
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetSupportUser
instance GHC.Show.Show TDLib.Generated.FunArgs.GetSupportUser
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeleteSavedCredentials
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeleteSavedCredentials
instance GHC.Show.Show TDLib.Generated.FunArgs.DeleteSavedCredentials
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeleteSavedOrderInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeleteSavedOrderInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.DeleteSavedOrderInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetSavedOrderInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetSavedOrderInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.GetSavedOrderInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetPaymentReceipt
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetPaymentReceipt
instance GHC.Show.Show TDLib.Generated.FunArgs.GetPaymentReceipt
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendPaymentForm
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendPaymentForm
instance GHC.Show.Show TDLib.Generated.FunArgs.SendPaymentForm
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ValidateOrderInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ValidateOrderInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.ValidateOrderInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetPaymentForm
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetPaymentForm
instance GHC.Show.Show TDLib.Generated.FunArgs.GetPaymentForm
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatEventLog
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatEventLog
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatEventLog
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CloseSecretChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CloseSecretChat
instance GHC.Show.Show TDLib.Generated.FunArgs.CloseSecretChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeleteSupergroup
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeleteSupergroup
instance GHC.Show.Show TDLib.Generated.FunArgs.DeleteSupergroup
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetSupergroupMembers
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetSupergroupMembers
instance GHC.Show.Show TDLib.Generated.FunArgs.GetSupergroupMembers
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ReportSupergroupSpam
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ReportSupergroupSpam
instance GHC.Show.Show TDLib.Generated.FunArgs.ReportSupergroupSpam
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ToggleSupergroupIsAllHistoryAvailable
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ToggleSupergroupIsAllHistoryAvailable
instance GHC.Show.Show TDLib.Generated.FunArgs.ToggleSupergroupIsAllHistoryAvailable
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ToggleSupergroupSignMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ToggleSupergroupSignMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.ToggleSupergroupSignMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetSupergroupStickerSet
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetSupergroupStickerSet
instance GHC.Show.Show TDLib.Generated.FunArgs.SetSupergroupStickerSet
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetSupergroupUsername
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetSupergroupUsername
instance GHC.Show.Show TDLib.Generated.FunArgs.SetSupergroupUsername
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DisconnectAllWebsites
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DisconnectAllWebsites
instance GHC.Show.Show TDLib.Generated.FunArgs.DisconnectAllWebsites
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DisconnectWebsite
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DisconnectWebsite
instance GHC.Show.Show TDLib.Generated.FunArgs.DisconnectWebsite
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetConnectedWebsites
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetConnectedWebsites
instance GHC.Show.Show TDLib.Generated.FunArgs.GetConnectedWebsites
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TerminateAllOtherSessions
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TerminateAllOtherSessions
instance GHC.Show.Show TDLib.Generated.FunArgs.TerminateAllOtherSessions
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TerminateSession
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TerminateSession
instance GHC.Show.Show TDLib.Generated.FunArgs.TerminateSession
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetActiveSessions
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetActiveSessions
instance GHC.Show.Show TDLib.Generated.FunArgs.GetActiveSessions
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetCommands
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetCommands
instance GHC.Show.Show TDLib.Generated.FunArgs.SetCommands
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CheckChangePhoneNumberCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CheckChangePhoneNumberCode
instance GHC.Show.Show TDLib.Generated.FunArgs.CheckChangePhoneNumberCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ResendChangePhoneNumberCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ResendChangePhoneNumberCode
instance GHC.Show.Show TDLib.Generated.FunArgs.ResendChangePhoneNumberCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ChangePhoneNumber
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ChangePhoneNumber
instance GHC.Show.Show TDLib.Generated.FunArgs.ChangePhoneNumber
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetLocation
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetLocation
instance GHC.Show.Show TDLib.Generated.FunArgs.SetLocation
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetUsername
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetUsername
instance GHC.Show.Show TDLib.Generated.FunArgs.SetUsername
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetBio
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetBio
instance GHC.Show.Show TDLib.Generated.FunArgs.SetBio
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetName
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetName
instance GHC.Show.Show TDLib.Generated.FunArgs.SetName
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeleteProfilePhoto
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeleteProfilePhoto
instance GHC.Show.Show TDLib.Generated.FunArgs.DeleteProfilePhoto
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetProfilePhoto
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetProfilePhoto
instance GHC.Show.Show TDLib.Generated.FunArgs.SetProfilePhoto
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetWebPageInstantView
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetWebPageInstantView
instance GHC.Show.Show TDLib.Generated.FunArgs.GetWebPageInstantView
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetWebPagePreview
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetWebPagePreview
instance GHC.Show.Show TDLib.Generated.FunArgs.GetWebPagePreview
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveRecentHashtag
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveRecentHashtag
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveRecentHashtag
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchHashtags
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchHashtags
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchHashtags
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetRecentInlineBots
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetRecentInlineBots
instance GHC.Show.Show TDLib.Generated.FunArgs.GetRecentInlineBots
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveSavedAnimation
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveSavedAnimation
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveSavedAnimation
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddSavedAnimation
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddSavedAnimation
instance GHC.Show.Show TDLib.Generated.FunArgs.AddSavedAnimation
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetSavedAnimations
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetSavedAnimations
instance GHC.Show.Show TDLib.Generated.FunArgs.GetSavedAnimations
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetEmojiSuggestionsUrl
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetEmojiSuggestionsUrl
instance GHC.Show.Show TDLib.Generated.FunArgs.GetEmojiSuggestionsUrl
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchEmojis
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchEmojis
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchEmojis
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetStickerEmojis
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetStickerEmojis
instance GHC.Show.Show TDLib.Generated.FunArgs.GetStickerEmojis
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveFavoriteSticker
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveFavoriteSticker
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveFavoriteSticker
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddFavoriteSticker
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddFavoriteSticker
instance GHC.Show.Show TDLib.Generated.FunArgs.AddFavoriteSticker
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetFavoriteStickers
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetFavoriteStickers
instance GHC.Show.Show TDLib.Generated.FunArgs.GetFavoriteStickers
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ClearRecentStickers
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ClearRecentStickers
instance GHC.Show.Show TDLib.Generated.FunArgs.ClearRecentStickers
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveRecentSticker
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveRecentSticker
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveRecentSticker
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddRecentSticker
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddRecentSticker
instance GHC.Show.Show TDLib.Generated.FunArgs.AddRecentSticker
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetRecentStickers
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetRecentStickers
instance GHC.Show.Show TDLib.Generated.FunArgs.GetRecentStickers
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ReorderInstalledStickerSets
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ReorderInstalledStickerSets
instance GHC.Show.Show TDLib.Generated.FunArgs.ReorderInstalledStickerSets
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ViewTrendingStickerSets
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ViewTrendingStickerSets
instance GHC.Show.Show TDLib.Generated.FunArgs.ViewTrendingStickerSets
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ChangeStickerSet
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ChangeStickerSet
instance GHC.Show.Show TDLib.Generated.FunArgs.ChangeStickerSet
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchStickerSets
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchStickerSets
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchStickerSets
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchInstalledStickerSets
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchInstalledStickerSets
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchInstalledStickerSets
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchStickerSet
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchStickerSet
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchStickerSet
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetStickerSet
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetStickerSet
instance GHC.Show.Show TDLib.Generated.FunArgs.GetStickerSet
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetAttachedStickerSets
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetAttachedStickerSets
instance GHC.Show.Show TDLib.Generated.FunArgs.GetAttachedStickerSets
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetTrendingStickerSets
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetTrendingStickerSets
instance GHC.Show.Show TDLib.Generated.FunArgs.GetTrendingStickerSets
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetArchivedStickerSets
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetArchivedStickerSets
instance GHC.Show.Show TDLib.Generated.FunArgs.GetArchivedStickerSets
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetInstalledStickerSets
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetInstalledStickerSets
instance GHC.Show.Show TDLib.Generated.FunArgs.GetInstalledStickerSets
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchStickers
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchStickers
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchStickers
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetStickers
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetStickers
instance GHC.Show.Show TDLib.Generated.FunArgs.GetStickers
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetUserProfilePhotos
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetUserProfilePhotos
instance GHC.Show.Show TDLib.Generated.FunArgs.GetUserProfilePhotos
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SharePhoneNumber
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SharePhoneNumber
instance GHC.Show.Show TDLib.Generated.FunArgs.SharePhoneNumber
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ClearImportedContacts
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ClearImportedContacts
instance GHC.Show.Show TDLib.Generated.FunArgs.ClearImportedContacts
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ChangeImportedContacts
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ChangeImportedContacts
instance GHC.Show.Show TDLib.Generated.FunArgs.ChangeImportedContacts
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetImportedContactCount
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetImportedContactCount
instance GHC.Show.Show TDLib.Generated.FunArgs.GetImportedContactCount
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveContacts
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveContacts
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveContacts
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchContacts
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchContacts
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchContacts
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetContacts
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetContacts
instance GHC.Show.Show TDLib.Generated.FunArgs.GetContacts
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ImportContacts
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ImportContacts
instance GHC.Show.Show TDLib.Generated.FunArgs.ImportContacts
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddContact
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddContact
instance GHC.Show.Show TDLib.Generated.FunArgs.AddContact
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetBlockedUsers
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetBlockedUsers
instance GHC.Show.Show TDLib.Generated.FunArgs.GetBlockedUsers
instance GHC.Generics.Generic TDLib.Generated.FunArgs.UnblockUser
instance GHC.Classes.Eq TDLib.Generated.FunArgs.UnblockUser
instance GHC.Show.Show TDLib.Generated.FunArgs.UnblockUser
instance GHC.Generics.Generic TDLib.Generated.FunArgs.BlockUser
instance GHC.Classes.Eq TDLib.Generated.FunArgs.BlockUser
instance GHC.Show.Show TDLib.Generated.FunArgs.BlockUser
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendCallDebugInformation
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendCallDebugInformation
instance GHC.Show.Show TDLib.Generated.FunArgs.SendCallDebugInformation
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendCallRating
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendCallRating
instance GHC.Show.Show TDLib.Generated.FunArgs.SendCallRating
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DiscardCall
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DiscardCall
instance GHC.Show.Show TDLib.Generated.FunArgs.DiscardCall
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AcceptCall
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AcceptCall
instance GHC.Show.Show TDLib.Generated.FunArgs.AcceptCall
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CreateCall
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CreateCall
instance GHC.Show.Show TDLib.Generated.FunArgs.CreateCall
instance GHC.Generics.Generic TDLib.Generated.FunArgs.JoinChatByInviteLink
instance GHC.Classes.Eq TDLib.Generated.FunArgs.JoinChatByInviteLink
instance GHC.Show.Show TDLib.Generated.FunArgs.JoinChatByInviteLink
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CheckChatInviteLink
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CheckChatInviteLink
instance GHC.Show.Show TDLib.Generated.FunArgs.CheckChatInviteLink
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GenerateChatInviteLink
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GenerateChatInviteLink
instance GHC.Show.Show TDLib.Generated.FunArgs.GenerateChatInviteLink
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeleteFile
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeleteFile
instance GHC.Show.Show TDLib.Generated.FunArgs.DeleteFile
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ReadFilePart
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ReadFilePart
instance GHC.Show.Show TDLib.Generated.FunArgs.ReadFilePart
instance GHC.Generics.Generic TDLib.Generated.FunArgs.FinishFileGeneration
instance GHC.Classes.Eq TDLib.Generated.FunArgs.FinishFileGeneration
instance GHC.Show.Show TDLib.Generated.FunArgs.FinishFileGeneration
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetFileGenerationProgress
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetFileGenerationProgress
instance GHC.Show.Show TDLib.Generated.FunArgs.SetFileGenerationProgress
instance GHC.Generics.Generic TDLib.Generated.FunArgs.WriteGeneratedFilePart
instance GHC.Classes.Eq TDLib.Generated.FunArgs.WriteGeneratedFilePart
instance GHC.Show.Show TDLib.Generated.FunArgs.WriteGeneratedFilePart
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CancelUploadFile
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CancelUploadFile
instance GHC.Show.Show TDLib.Generated.FunArgs.CancelUploadFile
instance GHC.Generics.Generic TDLib.Generated.FunArgs.UploadFile
instance GHC.Classes.Eq TDLib.Generated.FunArgs.UploadFile
instance GHC.Show.Show TDLib.Generated.FunArgs.UploadFile
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CancelDownloadFile
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CancelDownloadFile
instance GHC.Show.Show TDLib.Generated.FunArgs.CancelDownloadFile
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetFileDownloadedPrefixSize
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetFileDownloadedPrefixSize
instance GHC.Show.Show TDLib.Generated.FunArgs.GetFileDownloadedPrefixSize
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DownloadFile
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DownloadFile
instance GHC.Show.Show TDLib.Generated.FunArgs.DownloadFile
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetPinnedChats
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetPinnedChats
instance GHC.Show.Show TDLib.Generated.FunArgs.SetPinnedChats
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ToggleChatIsPinned
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ToggleChatIsPinned
instance GHC.Show.Show TDLib.Generated.FunArgs.ToggleChatIsPinned
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ResetAllNotificationSettings
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ResetAllNotificationSettings
instance GHC.Show.Show TDLib.Generated.FunArgs.ResetAllNotificationSettings
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetScopeNotificationSettings
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetScopeNotificationSettings
instance GHC.Show.Show TDLib.Generated.FunArgs.SetScopeNotificationSettings
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetScopeNotificationSettings
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetScopeNotificationSettings
instance GHC.Show.Show TDLib.Generated.FunArgs.GetScopeNotificationSettings
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatNotificationSettingsExceptions
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatNotificationSettingsExceptions
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatNotificationSettingsExceptions
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ClearAllDraftMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ClearAllDraftMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.ClearAllDraftMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatAdministrators
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatAdministrators
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatAdministrators
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchChatMembers
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchChatMembers
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchChatMembers
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatMember
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatMember
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatMember
instance GHC.Generics.Generic TDLib.Generated.FunArgs.TransferChatOwnership
instance GHC.Classes.Eq TDLib.Generated.FunArgs.TransferChatOwnership
instance GHC.Show.Show TDLib.Generated.FunArgs.TransferChatOwnership
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CanTransferOwnership
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CanTransferOwnership
instance GHC.Show.Show TDLib.Generated.FunArgs.CanTransferOwnership
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetChatMemberStatus
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetChatMemberStatus
instance GHC.Show.Show TDLib.Generated.FunArgs.SetChatMemberStatus
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddChatMembers
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddChatMembers
instance GHC.Show.Show TDLib.Generated.FunArgs.AddChatMembers
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddChatMember
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddChatMember
instance GHC.Show.Show TDLib.Generated.FunArgs.AddChatMember
instance GHC.Generics.Generic TDLib.Generated.FunArgs.LeaveChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.LeaveChat
instance GHC.Show.Show TDLib.Generated.FunArgs.LeaveChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.JoinChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.JoinChat
instance GHC.Show.Show TDLib.Generated.FunArgs.JoinChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.UnpinChatMessage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.UnpinChatMessage
instance GHC.Show.Show TDLib.Generated.FunArgs.UnpinChatMessage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.PinChatMessage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.PinChatMessage
instance GHC.Show.Show TDLib.Generated.FunArgs.PinChatMessage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetChatSlowModeDelay
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetChatSlowModeDelay
instance GHC.Show.Show TDLib.Generated.FunArgs.SetChatSlowModeDelay
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetChatLocation
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetChatLocation
instance GHC.Show.Show TDLib.Generated.FunArgs.SetChatLocation
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetChatDiscussionGroup
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetChatDiscussionGroup
instance GHC.Show.Show TDLib.Generated.FunArgs.SetChatDiscussionGroup
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetChatDescription
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetChatDescription
instance GHC.Show.Show TDLib.Generated.FunArgs.SetChatDescription
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetChatClientData
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetChatClientData
instance GHC.Show.Show TDLib.Generated.FunArgs.SetChatClientData
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ToggleChatDefaultDisableNotification
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ToggleChatDefaultDisableNotification
instance GHC.Show.Show TDLib.Generated.FunArgs.ToggleChatDefaultDisableNotification
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ToggleChatIsMarkedAsUnread
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ToggleChatIsMarkedAsUnread
instance GHC.Show.Show TDLib.Generated.FunArgs.ToggleChatIsMarkedAsUnread
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetChatNotificationSettings
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetChatNotificationSettings
instance GHC.Show.Show TDLib.Generated.FunArgs.SetChatNotificationSettings
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetChatDraftMessage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetChatDraftMessage
instance GHC.Show.Show TDLib.Generated.FunArgs.SetChatDraftMessage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetChatPermissions
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetChatPermissions
instance GHC.Show.Show TDLib.Generated.FunArgs.SetChatPermissions
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetChatPhoto
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetChatPhoto
instance GHC.Show.Show TDLib.Generated.FunArgs.SetChatPhoto
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetChatTitle
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetChatTitle
instance GHC.Show.Show TDLib.Generated.FunArgs.SetChatTitle
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatFilterDefaultIconName
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatFilterDefaultIconName
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatFilterDefaultIconName
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetRecommendedChatFilters
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetRecommendedChatFilters
instance GHC.Show.Show TDLib.Generated.FunArgs.GetRecommendedChatFilters
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ReorderChatFilters
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ReorderChatFilters
instance GHC.Show.Show TDLib.Generated.FunArgs.ReorderChatFilters
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeleteChatFilter
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeleteChatFilter
instance GHC.Show.Show TDLib.Generated.FunArgs.DeleteChatFilter
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditChatFilter
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditChatFilter
instance GHC.Show.Show TDLib.Generated.FunArgs.EditChatFilter
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CreateChatFilter
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CreateChatFilter
instance GHC.Show.Show TDLib.Generated.FunArgs.CreateChatFilter
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatFilter
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatFilter
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatFilter
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddChatToList
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddChatToList
instance GHC.Show.Show TDLib.Generated.FunArgs.AddChatToList
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatListsToAddChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatListsToAddChat
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatListsToAddChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.UpgradeBasicGroupChatToSupergroupChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.UpgradeBasicGroupChatToSupergroupChat
instance GHC.Show.Show TDLib.Generated.FunArgs.UpgradeBasicGroupChatToSupergroupChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CreateNewSecretChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CreateNewSecretChat
instance GHC.Show.Show TDLib.Generated.FunArgs.CreateNewSecretChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CreateNewSupergroupChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CreateNewSupergroupChat
instance GHC.Show.Show TDLib.Generated.FunArgs.CreateNewSupergroupChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CreateNewBasicGroupChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CreateNewBasicGroupChat
instance GHC.Show.Show TDLib.Generated.FunArgs.CreateNewBasicGroupChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CreateSecretChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CreateSecretChat
instance GHC.Show.Show TDLib.Generated.FunArgs.CreateSecretChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CreateSupergroupChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CreateSupergroupChat
instance GHC.Show.Show TDLib.Generated.FunArgs.CreateSupergroupChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CreateBasicGroupChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CreateBasicGroupChat
instance GHC.Show.Show TDLib.Generated.FunArgs.CreateBasicGroupChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CreatePrivateChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CreatePrivateChat
instance GHC.Show.Show TDLib.Generated.FunArgs.CreatePrivateChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ReadAllChatMentions
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ReadAllChatMentions
instance GHC.Show.Show TDLib.Generated.FunArgs.ReadAllChatMentions
instance GHC.Generics.Generic TDLib.Generated.FunArgs.OpenMessageContent
instance GHC.Classes.Eq TDLib.Generated.FunArgs.OpenMessageContent
instance GHC.Show.Show TDLib.Generated.FunArgs.OpenMessageContent
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ViewMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ViewMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.ViewMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CloseChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CloseChat
instance GHC.Show.Show TDLib.Generated.FunArgs.CloseChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.OpenChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.OpenChat
instance GHC.Show.Show TDLib.Generated.FunArgs.OpenChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendChatAction
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendChatAction
instance GHC.Show.Show TDLib.Generated.FunArgs.SendChatAction
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeleteChatReplyMarkup
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeleteChatReplyMarkup
instance GHC.Show.Show TDLib.Generated.FunArgs.DeleteChatReplyMarkup
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetInlineGameHighScores
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetInlineGameHighScores
instance GHC.Show.Show TDLib.Generated.FunArgs.GetInlineGameHighScores
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetGameHighScores
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetGameHighScores
instance GHC.Show.Show TDLib.Generated.FunArgs.GetGameHighScores
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetInlineGameScore
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetInlineGameScore
instance GHC.Show.Show TDLib.Generated.FunArgs.SetInlineGameScore
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetGameScore
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetGameScore
instance GHC.Show.Show TDLib.Generated.FunArgs.SetGameScore
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AnswerPreCheckoutQuery
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AnswerPreCheckoutQuery
instance GHC.Show.Show TDLib.Generated.FunArgs.AnswerPreCheckoutQuery
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AnswerShippingQuery
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AnswerShippingQuery
instance GHC.Show.Show TDLib.Generated.FunArgs.AnswerShippingQuery
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AnswerCallbackQuery
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AnswerCallbackQuery
instance GHC.Show.Show TDLib.Generated.FunArgs.AnswerCallbackQuery
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetCallbackQueryAnswer
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetCallbackQueryAnswer
instance GHC.Show.Show TDLib.Generated.FunArgs.GetCallbackQueryAnswer
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AnswerInlineQuery
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AnswerInlineQuery
instance GHC.Show.Show TDLib.Generated.FunArgs.AnswerInlineQuery
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetInlineQueryResults
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetInlineQueryResults
instance GHC.Show.Show TDLib.Generated.FunArgs.GetInlineQueryResults
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetLoginUrl
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetLoginUrl
instance GHC.Show.Show TDLib.Generated.FunArgs.GetLoginUrl
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetLoginUrlInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetLoginUrlInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.GetLoginUrlInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.StopPoll
instance GHC.Classes.Eq TDLib.Generated.FunArgs.StopPoll
instance GHC.Show.Show TDLib.Generated.FunArgs.StopPoll
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetPollVoters
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetPollVoters
instance GHC.Show.Show TDLib.Generated.FunArgs.GetPollVoters
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetPollAnswer
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetPollAnswer
instance GHC.Show.Show TDLib.Generated.FunArgs.SetPollAnswer
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetJsonString
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetJsonString
instance GHC.Show.Show TDLib.Generated.FunArgs.GetJsonString
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetJsonValue
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetJsonValue
instance GHC.Show.Show TDLib.Generated.FunArgs.GetJsonValue
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetLanguagePackString
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetLanguagePackString
instance GHC.Show.Show TDLib.Generated.FunArgs.GetLanguagePackString
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CleanFileName
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CleanFileName
instance GHC.Show.Show TDLib.Generated.FunArgs.CleanFileName
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetFileExtension
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetFileExtension
instance GHC.Show.Show TDLib.Generated.FunArgs.GetFileExtension
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetFileMimeType
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetFileMimeType
instance GHC.Show.Show TDLib.Generated.FunArgs.GetFileMimeType
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetMarkdownText
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetMarkdownText
instance GHC.Show.Show TDLib.Generated.FunArgs.GetMarkdownText
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ParseMarkdown
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ParseMarkdown
instance GHC.Show.Show TDLib.Generated.FunArgs.ParseMarkdown
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ParseTextEntities
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ParseTextEntities
instance GHC.Show.Show TDLib.Generated.FunArgs.ParseTextEntities
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetTextEntities
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetTextEntities
instance GHC.Show.Show TDLib.Generated.FunArgs.GetTextEntities
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditMessageSchedulingState
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditMessageSchedulingState
instance GHC.Show.Show TDLib.Generated.FunArgs.EditMessageSchedulingState
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditInlineMessageReplyMarkup
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditInlineMessageReplyMarkup
instance GHC.Show.Show TDLib.Generated.FunArgs.EditInlineMessageReplyMarkup
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditInlineMessageCaption
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditInlineMessageCaption
instance GHC.Show.Show TDLib.Generated.FunArgs.EditInlineMessageCaption
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditInlineMessageMedia
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditInlineMessageMedia
instance GHC.Show.Show TDLib.Generated.FunArgs.EditInlineMessageMedia
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditInlineMessageLiveLocation
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditInlineMessageLiveLocation
instance GHC.Show.Show TDLib.Generated.FunArgs.EditInlineMessageLiveLocation
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditInlineMessageText
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditInlineMessageText
instance GHC.Show.Show TDLib.Generated.FunArgs.EditInlineMessageText
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditMessageReplyMarkup
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditMessageReplyMarkup
instance GHC.Show.Show TDLib.Generated.FunArgs.EditMessageReplyMarkup
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditMessageCaption
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditMessageCaption
instance GHC.Show.Show TDLib.Generated.FunArgs.EditMessageCaption
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditMessageMedia
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditMessageMedia
instance GHC.Show.Show TDLib.Generated.FunArgs.EditMessageMedia
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditMessageLiveLocation
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditMessageLiveLocation
instance GHC.Show.Show TDLib.Generated.FunArgs.EditMessageLiveLocation
instance GHC.Generics.Generic TDLib.Generated.FunArgs.EditMessageText
instance GHC.Classes.Eq TDLib.Generated.FunArgs.EditMessageText
instance GHC.Show.Show TDLib.Generated.FunArgs.EditMessageText
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeleteChatMessagesFromUser
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeleteChatMessagesFromUser
instance GHC.Show.Show TDLib.Generated.FunArgs.DeleteChatMessagesFromUser
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeleteMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeleteMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.DeleteMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddLocalMessage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddLocalMessage
instance GHC.Show.Show TDLib.Generated.FunArgs.AddLocalMessage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendChatScreenshotTakenNotification
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendChatScreenshotTakenNotification
instance GHC.Show.Show TDLib.Generated.FunArgs.SendChatScreenshotTakenNotification
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendChatSetTtlMessage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendChatSetTtlMessage
instance GHC.Show.Show TDLib.Generated.FunArgs.SendChatSetTtlMessage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ResendMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ResendMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.ResendMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ForwardMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ForwardMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.ForwardMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendInlineQueryResultMessage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendInlineQueryResultMessage
instance GHC.Show.Show TDLib.Generated.FunArgs.SendInlineQueryResultMessage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendBotStartMessage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendBotStartMessage
instance GHC.Show.Show TDLib.Generated.FunArgs.SendBotStartMessage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendMessageAlbum
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendMessageAlbum
instance GHC.Show.Show TDLib.Generated.FunArgs.SendMessageAlbum
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SendMessage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SendMessage
instance GHC.Show.Show TDLib.Generated.FunArgs.SendMessage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetMessageLinkInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetMessageLinkInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.GetMessageLinkInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetMessageLink
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetMessageLink
instance GHC.Show.Show TDLib.Generated.FunArgs.GetMessageLink
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetPublicMessageLink
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetPublicMessageLink
instance GHC.Show.Show TDLib.Generated.FunArgs.GetPublicMessageLink
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveNotificationGroup
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveNotificationGroup
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveNotificationGroup
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveNotification
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveNotification
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveNotification
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatScheduledMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatScheduledMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatScheduledMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatMessageCount
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatMessageCount
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatMessageCount
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatMessageByDate
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatMessageByDate
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatMessageByDate
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetActiveLiveLocationMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetActiveLiveLocationMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.GetActiveLiveLocationMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchChatRecentLocationMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchChatRecentLocationMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchChatRecentLocationMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchCallMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchCallMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchCallMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchSecretMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchSecretMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchSecretMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchChatMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchChatMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchChatMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.DeleteChatHistory
instance GHC.Classes.Eq TDLib.Generated.FunArgs.DeleteChatHistory
instance GHC.Show.Show TDLib.Generated.FunArgs.DeleteChatHistory
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatHistory
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatHistory
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatHistory
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetGroupsInCommon
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetGroupsInCommon
instance GHC.Show.Show TDLib.Generated.FunArgs.GetGroupsInCommon
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetInactiveSupergroupChats
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetInactiveSupergroupChats
instance GHC.Show.Show TDLib.Generated.FunArgs.GetInactiveSupergroupChats
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetSuitableDiscussionChats
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetSuitableDiscussionChats
instance GHC.Show.Show TDLib.Generated.FunArgs.GetSuitableDiscussionChats
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CheckCreatedPublicChatsLimit
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CheckCreatedPublicChatsLimit
instance GHC.Show.Show TDLib.Generated.FunArgs.CheckCreatedPublicChatsLimit
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetCreatedPublicChats
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetCreatedPublicChats
instance GHC.Show.Show TDLib.Generated.FunArgs.GetCreatedPublicChats
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CheckChatUsername
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CheckChatUsername
instance GHC.Show.Show TDLib.Generated.FunArgs.CheckChatUsername
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ClearRecentlyFoundChats
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ClearRecentlyFoundChats
instance GHC.Show.Show TDLib.Generated.FunArgs.ClearRecentlyFoundChats
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveRecentlyFoundChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveRecentlyFoundChat
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveRecentlyFoundChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.AddRecentlyFoundChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.AddRecentlyFoundChat
instance GHC.Show.Show TDLib.Generated.FunArgs.AddRecentlyFoundChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RemoveTopChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RemoveTopChat
instance GHC.Show.Show TDLib.Generated.FunArgs.RemoveTopChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetTopChats
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetTopChats
instance GHC.Show.Show TDLib.Generated.FunArgs.GetTopChats
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchChatsNearby
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchChatsNearby
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchChatsNearby
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchChatsOnServer
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchChatsOnServer
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchChatsOnServer
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchChats
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchChats
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchChats
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchPublicChats
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchPublicChats
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchPublicChats
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SearchPublicChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SearchPublicChat
instance GHC.Show.Show TDLib.Generated.FunArgs.SearchPublicChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChats
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChats
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChats
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetRemoteFile
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetRemoteFile
instance GHC.Show.Show TDLib.Generated.FunArgs.GetRemoteFile
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetFile
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetFile
instance GHC.Show.Show TDLib.Generated.FunArgs.GetFile
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetMessages
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetMessages
instance GHC.Show.Show TDLib.Generated.FunArgs.GetMessages
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChatPinnedMessage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChatPinnedMessage
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChatPinnedMessage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetRepliedMessage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetRepliedMessage
instance GHC.Show.Show TDLib.Generated.FunArgs.GetRepliedMessage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetMessageLocally
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetMessageLocally
instance GHC.Show.Show TDLib.Generated.FunArgs.GetMessageLocally
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetMessage
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetMessage
instance GHC.Show.Show TDLib.Generated.FunArgs.GetMessage
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetChat
instance GHC.Show.Show TDLib.Generated.FunArgs.GetChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetSecretChat
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetSecretChat
instance GHC.Show.Show TDLib.Generated.FunArgs.GetSecretChat
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetSupergroupFullInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetSupergroupFullInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.GetSupergroupFullInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetSupergroup
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetSupergroup
instance GHC.Show.Show TDLib.Generated.FunArgs.GetSupergroup
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetBasicGroupFullInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetBasicGroupFullInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.GetBasicGroupFullInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetBasicGroup
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetBasicGroup
instance GHC.Show.Show TDLib.Generated.FunArgs.GetBasicGroup
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetUserFullInfo
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetUserFullInfo
instance GHC.Show.Show TDLib.Generated.FunArgs.GetUserFullInfo
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetUser
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetUser
instance GHC.Show.Show TDLib.Generated.FunArgs.GetUser
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetMe
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetMe
instance GHC.Show.Show TDLib.Generated.FunArgs.GetMe
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetTemporaryPasswordState
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetTemporaryPasswordState
instance GHC.Show.Show TDLib.Generated.FunArgs.GetTemporaryPasswordState
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CreateTemporaryPassword
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CreateTemporaryPassword
instance GHC.Show.Show TDLib.Generated.FunArgs.CreateTemporaryPassword
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RecoverPassword
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RecoverPassword
instance GHC.Show.Show TDLib.Generated.FunArgs.RecoverPassword
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RequestPasswordRecovery
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RequestPasswordRecovery
instance GHC.Show.Show TDLib.Generated.FunArgs.RequestPasswordRecovery
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ResendRecoveryEmailAddressCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ResendRecoveryEmailAddressCode
instance GHC.Show.Show TDLib.Generated.FunArgs.ResendRecoveryEmailAddressCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CheckRecoveryEmailAddressCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CheckRecoveryEmailAddressCode
instance GHC.Show.Show TDLib.Generated.FunArgs.CheckRecoveryEmailAddressCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetRecoveryEmailAddress
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetRecoveryEmailAddress
instance GHC.Show.Show TDLib.Generated.FunArgs.SetRecoveryEmailAddress
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetRecoveryEmailAddress
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetRecoveryEmailAddress
instance GHC.Show.Show TDLib.Generated.FunArgs.GetRecoveryEmailAddress
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetPassword
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetPassword
instance GHC.Show.Show TDLib.Generated.FunArgs.SetPassword
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetPasswordState
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetPasswordState
instance GHC.Show.Show TDLib.Generated.FunArgs.GetPasswordState
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetDatabaseEncryptionKey
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetDatabaseEncryptionKey
instance GHC.Show.Show TDLib.Generated.FunArgs.SetDatabaseEncryptionKey
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetCurrentState
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetCurrentState
instance GHC.Show.Show TDLib.Generated.FunArgs.GetCurrentState
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ConfirmQrCodeAuthentication
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ConfirmQrCodeAuthentication
instance GHC.Show.Show TDLib.Generated.FunArgs.ConfirmQrCodeAuthentication
instance GHC.Generics.Generic TDLib.Generated.FunArgs.Destroy
instance GHC.Classes.Eq TDLib.Generated.FunArgs.Destroy
instance GHC.Show.Show TDLib.Generated.FunArgs.Destroy
instance GHC.Generics.Generic TDLib.Generated.FunArgs.Close
instance GHC.Classes.Eq TDLib.Generated.FunArgs.Close
instance GHC.Show.Show TDLib.Generated.FunArgs.Close
instance GHC.Generics.Generic TDLib.Generated.FunArgs.LogOut
instance GHC.Classes.Eq TDLib.Generated.FunArgs.LogOut
instance GHC.Show.Show TDLib.Generated.FunArgs.LogOut
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CheckAuthenticationBotToken
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CheckAuthenticationBotToken
instance GHC.Show.Show TDLib.Generated.FunArgs.CheckAuthenticationBotToken
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RecoverAuthenticationPassword
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RecoverAuthenticationPassword
instance GHC.Show.Show TDLib.Generated.FunArgs.RecoverAuthenticationPassword
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RequestAuthenticationPasswordRecovery
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RequestAuthenticationPasswordRecovery
instance GHC.Show.Show TDLib.Generated.FunArgs.RequestAuthenticationPasswordRecovery
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CheckAuthenticationPassword
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CheckAuthenticationPassword
instance GHC.Show.Show TDLib.Generated.FunArgs.CheckAuthenticationPassword
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RegisterUser
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RegisterUser
instance GHC.Show.Show TDLib.Generated.FunArgs.RegisterUser
instance GHC.Generics.Generic TDLib.Generated.FunArgs.RequestQrCodeAuthentication
instance GHC.Classes.Eq TDLib.Generated.FunArgs.RequestQrCodeAuthentication
instance GHC.Show.Show TDLib.Generated.FunArgs.RequestQrCodeAuthentication
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CheckAuthenticationCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CheckAuthenticationCode
instance GHC.Show.Show TDLib.Generated.FunArgs.CheckAuthenticationCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.ResendAuthenticationCode
instance GHC.Classes.Eq TDLib.Generated.FunArgs.ResendAuthenticationCode
instance GHC.Show.Show TDLib.Generated.FunArgs.ResendAuthenticationCode
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetAuthenticationPhoneNumber
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetAuthenticationPhoneNumber
instance GHC.Show.Show TDLib.Generated.FunArgs.SetAuthenticationPhoneNumber
instance GHC.Generics.Generic TDLib.Generated.FunArgs.CheckDatabaseEncryptionKey
instance GHC.Classes.Eq TDLib.Generated.FunArgs.CheckDatabaseEncryptionKey
instance GHC.Show.Show TDLib.Generated.FunArgs.CheckDatabaseEncryptionKey
instance GHC.Generics.Generic TDLib.Generated.FunArgs.SetTdlibParameters
instance GHC.Classes.Eq TDLib.Generated.FunArgs.SetTdlibParameters
instance GHC.Show.Show TDLib.Generated.FunArgs.SetTdlibParameters
instance GHC.Generics.Generic TDLib.Generated.FunArgs.GetAuthorizationState
instance GHC.Classes.Eq TDLib.Generated.FunArgs.GetAuthorizationState
instance GHC.Show.Show TDLib.Generated.FunArgs.GetAuthorizationState
module TDLib.Types.Common
-- | Tagged union that parses to either a or b
data a ∪ b
Inl :: a -> (∪) a b
Inr :: b -> (∪) a b
-- | Logging verbosity
data Verbosity
Fatal :: Verbosity
Error :: Verbosity
Warning :: Verbosity
Info :: Verbosity
Debug :: Verbosity
Verbose :: Verbosity
instance GHC.Enum.Enum TDLib.Types.Common.Verbosity
instance GHC.Classes.Eq TDLib.Types.Common.Verbosity
instance GHC.Show.Show TDLib.Types.Common.Verbosity
instance (GHC.Classes.Eq a, GHC.Classes.Eq b) => GHC.Classes.Eq (a TDLib.Types.Common.∪ b)
instance (GHC.Show.Show a, GHC.Show.Show b) => GHC.Show.Show (a TDLib.Types.Common.∪ b)
instance (Data.Aeson.Types.FromJSON.FromJSON a, Data.Aeson.Types.FromJSON.FromJSON b) => Data.Aeson.Types.FromJSON.FromJSON (a TDLib.Types.Common.∪ b)
module TDLib.Effect
data TDLib (m :: Type -> Type) a
[RunCmd] :: (ToJSON cmd, FromJSON res) => cmd -> TDLib m res
[SetVerbosity] :: Verbosity -> TDLib m ()
[SetFatalErrorCallback] :: (ByteString -> IO ()) -> TDLib m ()
[SetLogPath] :: ByteString -> TDLib m Bool
[SetLogMaxSize] :: Int64 -> TDLib m ()
-- | runs a command and waits fot its result
runCmd :: forall cmd res r. (ToJSON cmd, FromJSON res, Member TDLib r) => cmd -> Sem r res
setVerbosity :: forall r. Member TDLib r => Verbosity -> Sem r ()
setFatalErrorCallback :: forall r. Member TDLib r => (ByteString -> IO ()) -> Sem r ()
setLogPath :: forall r. Member TDLib r => ByteString -> Sem r Bool
setLogMaxSize :: forall r. Member TDLib r => Int64 -> Sem r ()
-- | TD API functions (methods) generated by tdlib-gen
module TDLib.Generated.Functions
-- | Returns the current authorization state; this is an offline request.
-- For informational purposes only. Use updateAuthorizationState instead
-- to maintain the current authorization state
getAuthorizationState :: Member TDLib r => Sem r (Error ∪ AuthorizationState)
-- | Sets the parameters for TDLib initialization. Works only when the
-- current authorization state is authorizationStateWaitTdlibParameters
setTdlibParameters :: Member TDLib r => TdlibParameters -> Sem r (Error ∪ Ok)
-- | Checks the database encryption key for correctness. Works only when
-- the current authorization state is authorizationStateWaitEncryptionKey
checkDatabaseEncryptionKey :: Member TDLib r => ByteString64 -> Sem r (Error ∪ Ok)
-- | Sets the phone number of the user and sends an authentication code to
-- the user. Works only when the current authorization state is
-- authorizationStateWaitPhoneNumber,
setAuthenticationPhoneNumber :: Member TDLib r => T -> PhoneNumberAuthenticationSettings -> Sem r (Error ∪ Ok)
-- | Re-sends an authentication code to the user. Works only when the
-- current authorization state is authorizationStateWaitCode and the
-- next_code_type of the result is not null
resendAuthenticationCode :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Checks the authentication code. Works only when the current
-- authorization state is authorizationStateWaitCode
checkAuthenticationCode :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Requests QR code authentication by scanning a QR code on another
-- logged in device. Works only when the current authorization state is
-- authorizationStateWaitPhoneNumber,
requestQrCodeAuthentication :: Member TDLib r => [I32] -> Sem r (Error ∪ Ok)
-- | Finishes user registration. Works only when the current authorization
-- state is authorizationStateWaitRegistration
registerUser :: Member TDLib r => T -> T -> Sem r (Error ∪ Ok)
-- | Checks the authentication password for correctness. Works only when
-- the current authorization state is authorizationStateWaitPassword
checkAuthenticationPassword :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Requests to send a password recovery code to an email address that was
-- previously set up. Works only when the current authorization state is
-- authorizationStateWaitPassword
requestAuthenticationPasswordRecovery :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Recovers the password with a password recovery code sent to an email
-- address that was previously set up. Works only when the current
-- authorization state is authorizationStateWaitPassword
recoverAuthenticationPassword :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Checks the authentication token of a bot; to log in as a bot. Works
-- only when the current authorization state is
-- authorizationStateWaitPhoneNumber. Can be used instead of
-- setAuthenticationPhoneNumber and checkAuthenticationCode to log in
checkAuthenticationBotToken :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Closes the TDLib instance after a proper logout. Requires an available
-- network connection. All local data will be destroyed. After the logout
-- completes, updateAuthorizationState with authorizationStateClosed will
-- be sent
logOut :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Closes the TDLib instance. All databases will be flushed to disk and
-- properly closed. After the close completes, updateAuthorizationState
-- with authorizationStateClosed will be sent
close :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Closes the TDLib instance, destroying all local data without a proper
-- logout. The current user session will remain in the list of all active
-- sessions. All local data will be destroyed. After the destruction
-- completes updateAuthorizationState with authorizationStateClosed will
-- be sent
destroy :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Confirms QR code authentication on another device. Returns created
-- session on success
confirmQrCodeAuthentication :: Member TDLib r => T -> Sem r (Error ∪ Session)
-- | Returns all updates needed to restore current TDLib state, i.e. all
-- actual UpdateAuthorizationStateUpdateUserUpdateNewChat and
-- others. This is especially useful if TDLib is run in a separate
-- process. This is an offline method. Can be called before authorization
getCurrentState :: Member TDLib r => Sem r (Error ∪ Updates)
-- | Changes the database encryption key. Usually the encryption key is
-- never changed and is stored in some OS keychain
setDatabaseEncryptionKey :: Member TDLib r => ByteString64 -> Sem r (Error ∪ Ok)
-- | Returns the current state of 2-step verification
getPasswordState :: Member TDLib r => Sem r (Error ∪ PasswordState)
-- | Changes the password for the user. If a new recovery email address is
-- specified, then the change will not be applied until the new recovery
-- email address is confirmed
setPassword :: Member TDLib r => T -> T -> T -> Bool -> T -> Sem r (Error ∪ PasswordState)
-- | Returns a 2-step verification recovery email address that was
-- previously set up. This method can be used to verify a password
-- provided by the user
getRecoveryEmailAddress :: Member TDLib r => T -> Sem r (Error ∪ RecoveryEmailAddress)
-- | Changes the 2-step verification recovery email address of the user. If
-- a new recovery email address is specified, then the change will not be
-- applied until the new recovery email address is confirmed.
setRecoveryEmailAddress :: Member TDLib r => T -> T -> Sem r (Error ∪ PasswordState)
-- | Checks the 2-step verification recovery email address verification
-- code
checkRecoveryEmailAddressCode :: Member TDLib r => T -> Sem r (Error ∪ PasswordState)
-- | Resends the 2-step verification recovery email address verification
-- code
resendRecoveryEmailAddressCode :: Member TDLib r => Sem r (Error ∪ PasswordState)
-- | Requests to send a password recovery code to an email address that was
-- previously set up
requestPasswordRecovery :: Member TDLib r => Sem r (Error ∪ EmailAddressAuthenticationCodeInfo)
-- | Recovers the password using a recovery code sent to an email address
-- that was previously set up
recoverPassword :: Member TDLib r => T -> Sem r (Error ∪ PasswordState)
-- | Creates a new temporary password for processing payments
createTemporaryPassword :: Member TDLib r => T -> I32 -> Sem r (Error ∪ TemporaryPasswordState)
-- | Returns information about the current temporary password
getTemporaryPasswordState :: Member TDLib r => Sem r (Error ∪ TemporaryPasswordState)
-- | Returns the current user
getMe :: Member TDLib r => Sem r (Error ∪ User)
-- | Returns information about a user by their identifier. This is an
-- offline request if the current user is not a bot
getUser :: Member TDLib r => I32 -> Sem r (Error ∪ User)
-- | Returns full information about a user by their identifier
getUserFullInfo :: Member TDLib r => I32 -> Sem r (Error ∪ UserFullInfo)
-- | Returns information about a basic group by its identifier. This is an
-- offline request if the current user is not a bot
getBasicGroup :: Member TDLib r => I32 -> Sem r (Error ∪ BasicGroup)
-- | Returns full information about a basic group by its identifier
getBasicGroupFullInfo :: Member TDLib r => I32 -> Sem r (Error ∪ BasicGroupFullInfo)
-- | Returns information about a supergroup or a channel by its identifier.
-- This is an offline request if the current user is not a bot
getSupergroup :: Member TDLib r => I32 -> Sem r (Error ∪ Supergroup)
-- | Returns full information about a supergroup or a channel by its
-- identifier, cached for up to 1 minute
getSupergroupFullInfo :: Member TDLib r => I32 -> Sem r (Error ∪ SupergroupFullInfo)
-- | Returns information about a secret chat by its identifier. This is an
-- offline request
getSecretChat :: Member TDLib r => I32 -> Sem r (Error ∪ SecretChat)
-- | Returns information about a chat by its identifier, this is an offline
-- request if the current user is not a bot
getChat :: Member TDLib r => I53 -> Sem r (Error ∪ Chat)
-- | Returns information about a message
getMessage :: Member TDLib r => I53 -> I53 -> Sem r (Error ∪ Message)
-- | Returns information about a message, if it is available locally
-- without sending network request. This is an offline request
getMessageLocally :: Member TDLib r => I53 -> I53 -> Sem r (Error ∪ Message)
-- | Returns information about a message that is replied by given message
getRepliedMessage :: Member TDLib r => I53 -> I53 -> Sem r (Error ∪ Message)
-- | Returns information about a pinned chat message
getChatPinnedMessage :: Member TDLib r => I53 -> Sem r (Error ∪ Message)
-- | Returns information about messages. If a message is not found, returns
-- null on the corresponding position of the result
getMessages :: Member TDLib r => I53 -> [I53] -> Sem r (Error ∪ Messages)
-- | Returns information about a file; this is an offline request
getFile :: Member TDLib r => I32 -> Sem r (Error ∪ File)
-- | Returns information about a file by its remote ID; this is an offline
-- request. Can be used to register a URL as a file for further
-- uploading, or sending as a message. Even the request succeeds, the
-- file can be used only if it is still accessible to the user.
getRemoteFile :: Member TDLib r => T -> FileType -> Sem r (Error ∪ File)
-- | Returns an ordered list of chats in a chat list. Chats are sorted by
-- the pair (chat.position.order, chat.id) in descending order. (For
-- example, to get a list of chats from the beginning, the offset_order
-- should be equal to a biggest signed 64-bit number 9223372036854775807
-- == 2^63 - 1).
getChats :: Member TDLib r => ChatList -> I64 -> I53 -> I32 -> Sem r (Error ∪ Chats)
-- | Searches a public chat by its username. Currently only private chats,
-- supergroups and channels can be public. Returns the chat if found;
-- otherwise an error is returned
searchPublicChat :: Member TDLib r => T -> Sem r (Error ∪ Chat)
-- | Searches public chats by looking for specified query in their username
-- and title. Currently only private chats, supergroups and channels can
-- be public. Returns a meaningful number of results. Returns nothing if
-- the length of the searched username prefix is less than 5. Excludes
-- private chats with contacts and chats from the chat list from the
-- results
searchPublicChats :: Member TDLib r => T -> Sem r (Error ∪ Chats)
-- | Searches for the specified query in the title and username of already
-- known chats, this is an offline request. Returns chats in the order
-- seen in the main chat list
searchChats :: Member TDLib r => T -> I32 -> Sem r (Error ∪ Chats)
-- | Searches for the specified query in the title and username of already
-- known chats via request to the server. Returns chats in the order seen
-- in the main chat list
searchChatsOnServer :: Member TDLib r => T -> I32 -> Sem r (Error ∪ Chats)
-- | Returns a list of users and location-based supergroups nearby. The
-- list of users nearby will be updated for 60 seconds after the request
-- by the updates updateUsersNearby. The request should be sent again
-- every 25 seconds with adjusted location to not miss new chats
searchChatsNearby :: Member TDLib r => Location -> Sem r (Error ∪ ChatsNearby)
-- | Returns a list of frequently used chats. Supported only if the chat
-- info database is enabled
getTopChats :: Member TDLib r => TopChatCategory -> I32 -> Sem r (Error ∪ Chats)
-- | Removes a chat from the list of frequently used chats. Supported only
-- if the chat info database is enabled
removeTopChat :: Member TDLib r => TopChatCategory -> I53 -> Sem r (Error ∪ Ok)
-- | Adds a chat to the list of recently found chats. The chat is added to
-- the beginning of the list. If the chat is already in the list, it will
-- be removed from the list first
addRecentlyFoundChat :: Member TDLib r => I53 -> Sem r (Error ∪ Ok)
-- | Removes a chat from the list of recently found chats
removeRecentlyFoundChat :: Member TDLib r => I53 -> Sem r (Error ∪ Ok)
-- | Clears the list of recently found chats
clearRecentlyFoundChats :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Checks whether a username can be set for a chat
checkChatUsername :: Member TDLib r => I53 -> T -> Sem r (Error ∪ CheckChatUsernameResult)
-- | Returns a list of public chats of the specified type, owned by the
-- user
getCreatedPublicChats :: Member TDLib r => PublicChatType -> Sem r (Error ∪ Chats)
-- | Checks whether the maximum number of owned public chats has been
-- reached. Returns corresponding error if the limit was reached
checkCreatedPublicChatsLimit :: Member TDLib r => PublicChatType -> Sem r (Error ∪ Ok)
-- | Returns a list of basic group and supergroup chats, which can be used
-- as a discussion group for a channel. Basic group chats need to be
-- first upgraded to supergroups before they can be set as a discussion
-- group
getSuitableDiscussionChats :: Member TDLib r => Sem r (Error ∪ Chats)
-- | Returns a list of recently inactive supergroups and channels. Can be
-- used when user reaches limit on the number of joined supergroups and
-- channels and receives CHANNELS_TOO_MUCH error
getInactiveSupergroupChats :: Member TDLib r => Sem r (Error ∪ Chats)
-- | Returns a list of common group chats with a given user. Chats are
-- sorted by their type and creation date
getGroupsInCommon :: Member TDLib r => I32 -> I53 -> I32 -> Sem r (Error ∪ Chats)
-- | Returns messages in a chat. The messages are returned in a reverse
-- chronological order (i.e., in order of decreasing message_id).
getChatHistory :: Member TDLib r => I53 -> I53 -> I32 -> I32 -> Bool -> Sem r (Error ∪ Messages)
-- | Deletes all messages in the chat. Use
-- Chat.can_be_deleted_only_for_self and
-- Chat.can_be_deleted_for_all_users fields to find whether and how the
-- method can be applied to the chat
deleteChatHistory :: Member TDLib r => I53 -> Bool -> Bool -> Sem r (Error ∪ Ok)
-- | Searches for messages with given words in the chat. Returns the
-- results in reverse chronological order, i.e. in order of decreasing
-- message_id. Cannot be used in secret chats with a non-empty query
searchChatMessages :: Member TDLib r => I53 -> T -> I32 -> I53 -> I32 -> I32 -> SearchMessagesFilter -> Sem r (Error ∪ Messages)
-- | Searches for messages in all chats except secret chats. Returns the
-- results in reverse chronological order (i.e., in order of decreasing
-- (date, chat_id, message_id)).
searchMessages :: Member TDLib r => ChatList -> T -> I32 -> I53 -> I53 -> I32 -> Sem r (Error ∪ Messages)
-- | Searches for messages in secret chats. Returns the results in reverse
-- chronological order. For optimal performance the number of returned
-- messages is chosen by the library
searchSecretMessages :: Member TDLib r => I53 -> T -> I64 -> I32 -> SearchMessagesFilter -> Sem r (Error ∪ FoundMessages)
-- | Searches for call messages. Returns the results in reverse
-- chronological order (i. e., in order of decreasing message_id). For
-- optimal performance the number of returned messages is chosen by the
-- library
searchCallMessages :: Member TDLib r => I53 -> I32 -> Bool -> Sem r (Error ∪ Messages)
-- | Returns information about the recent locations of chat members that
-- were sent to the chat. Returns up to 1 location message per user
searchChatRecentLocationMessages :: Member TDLib r => I53 -> I32 -> Sem r (Error ∪ Messages)
-- | Returns all active live locations that should be updated by the
-- client. The list is persistent across application restarts only if the
-- message database is used
getActiveLiveLocationMessages :: Member TDLib r => Sem r (Error ∪ Messages)
-- | Returns the last message sent in a chat no later than the specified
-- date
getChatMessageByDate :: Member TDLib r => I53 -> I32 -> Sem r (Error ∪ Message)
-- | Returns approximate number of messages of the specified type in the
-- chat
getChatMessageCount :: Member TDLib r => I53 -> SearchMessagesFilter -> Bool -> Sem r (Error ∪ Count)
-- | Returns all scheduled messages in a chat. The messages are returned in
-- a reverse chronological order (i.e., in order of decreasing
-- message_id)
getChatScheduledMessages :: Member TDLib r => I53 -> Sem r (Error ∪ Messages)
-- | Removes an active notification from notification list. Needs to be
-- called only if the notification is removed by the current user
removeNotification :: Member TDLib r => I32 -> I32 -> Sem r (Error ∪ Ok)
-- | Removes a group of active notifications. Needs to be called only if
-- the notification group is removed by the current user
removeNotificationGroup :: Member TDLib r => I32 -> I32 -> Sem r (Error ∪ Ok)
-- | Returns a public HTTPS link to a message. Available only for messages
-- in supergroups and channels with a username
getPublicMessageLink :: Member TDLib r => I53 -> I53 -> Bool -> Sem r (Error ∪ PublicMessageLink)
-- | Returns a private HTTPS link to a message in a chat. Available only
-- for already sent messages in supergroups and channels. The link will
-- work only for members of the chat
getMessageLink :: Member TDLib r => I53 -> I53 -> Sem r (Error ∪ HttpUrl)
-- | Returns information about a public or private message link
getMessageLinkInfo :: Member TDLib r => T -> Sem r (Error ∪ MessageLinkInfo)
-- | Sends a message. Returns the sent message
sendMessage :: Member TDLib r => I53 -> I53 -> SendMessageOptions -> ReplyMarkup -> InputMessageContent -> Sem r (Error ∪ Message)
-- | Sends messages grouped together into an album. Currently only photo
-- and video messages can be grouped into an album. Returns sent messages
sendMessageAlbum :: Member TDLib r => I53 -> I53 -> SendMessageOptions -> [InputMessageContent] -> Sem r (Error ∪ Messages)
-- | Invites a bot to a chat (if it is not yet a member) and sends it the
-- /start command. Bots can't be invited to a private chat other than the
-- chat with the bot. Bots can't be invited to channels (although they
-- can be added as admins) and secret chats. Returns the sent message
sendBotStartMessage :: Member TDLib r => I32 -> I53 -> T -> Sem r (Error ∪ Message)
-- | Sends the result of an inline query as a message. Returns the sent
-- message. Always clears a chat draft message
sendInlineQueryResultMessage :: Member TDLib r => I53 -> I53 -> SendMessageOptions -> I64 -> T -> Bool -> Sem r (Error ∪ Message)
-- | Forwards previously sent messages. Returns the forwarded messages in
-- the same order as the message identifiers passed in message_ids. If a
-- message can't be forwarded, null will be returned instead of the
-- message
forwardMessages :: Member TDLib r => I53 -> I53 -> [I53] -> SendMessageOptions -> Bool -> Bool -> Bool -> Sem r (Error ∪ Messages)
-- | Resends messages which failed to send. Can be called only for messages
-- for which messageSendingStateFailed.can_retry is true and after
-- specified in messageSendingStateFailed.retry_after time passed.
resendMessages :: Member TDLib r => I53 -> [I53] -> Sem r (Error ∪ Messages)
-- | Changes the current TTL setting (sets a new self-destruct timer) in a
-- secret chat and sends the corresponding message
sendChatSetTtlMessage :: Member TDLib r => I53 -> I32 -> Sem r (Error ∪ Message)
-- | Sends a notification about a screenshot taken in a chat. Supported
-- only in private and secret chats
sendChatScreenshotTakenNotification :: Member TDLib r => I53 -> Sem r (Error ∪ Ok)
-- | Adds a local message to a chat. The message is persistent across
-- application restarts only if the message database is used. Returns the
-- added message
addLocalMessage :: Member TDLib r => I53 -> I32 -> I53 -> Bool -> InputMessageContent -> Sem r (Error ∪ Message)
-- | Deletes messages
deleteMessages :: Member TDLib r => I53 -> [I53] -> Bool -> Sem r (Error ∪ Ok)
-- | Deletes all messages sent by the specified user to a chat. Supported
-- only for supergroups; requires can_delete_messages administrator
-- privileges
deleteChatMessagesFromUser :: Member TDLib r => I53 -> I32 -> Sem r (Error ∪ Ok)
-- | Edits the text of a message (or a text of a game message). Returns the
-- edited message after the edit is completed on the server side
editMessageText :: Member TDLib r => I53 -> I53 -> ReplyMarkup -> InputMessageContent -> Sem r (Error ∪ Message)
-- | Edits the message content of a live location. Messages can be edited
-- for a limited period of time specified in the live location. Returns
-- the edited message after the edit is completed on the server side
editMessageLiveLocation :: Member TDLib r => I53 -> I53 -> ReplyMarkup -> Maybe Location -> Sem r (Error ∪ Message)
-- | Edits the content of a message with an animation, an audio, a
-- document, a photo or a video. The media in the message can't be
-- replaced if the message was set to self-destruct. Media can't be
-- replaced by self-destructing media. Media in an album can be edited
-- only to contain a photo or a video. Returns the edited message after
-- the edit is completed on the server side
editMessageMedia :: Member TDLib r => I53 -> I53 -> ReplyMarkup -> InputMessageContent -> Sem r (Error ∪ Message)
-- | Edits the message content caption. Returns the edited message after
-- the edit is completed on the server side
editMessageCaption :: Member TDLib r => I53 -> I53 -> ReplyMarkup -> FormattedText -> Sem r (Error ∪ Message)
-- | Edits the message reply markup; for bots only. Returns the edited
-- message after the edit is completed on the server side
editMessageReplyMarkup :: Member TDLib r => I53 -> I53 -> ReplyMarkup -> Sem r (Error ∪ Message)
-- | Edits the text of an inline text or game message sent via a bot; for
-- bots only
editInlineMessageText :: Member TDLib r => T -> ReplyMarkup -> InputMessageContent -> Sem r (Error ∪ Ok)
-- | Edits the content of a live location in an inline message sent via a
-- bot; for bots only
editInlineMessageLiveLocation :: Member TDLib r => T -> ReplyMarkup -> Maybe Location -> Sem r (Error ∪ Ok)
-- | Edits the content of a message with an animation, an audio, a
-- document, a photo or a video in an inline message sent via a bot; for
-- bots only
editInlineMessageMedia :: Member TDLib r => T -> ReplyMarkup -> InputMessageContent -> Sem r (Error ∪ Ok)
-- | Edits the caption of an inline message sent via a bot; for bots only
editInlineMessageCaption :: Member TDLib r => T -> ReplyMarkup -> FormattedText -> Sem r (Error ∪ Ok)
-- | Edits the reply markup of an inline message sent via a bot; for bots
-- only
editInlineMessageReplyMarkup :: Member TDLib r => T -> ReplyMarkup -> Sem r (Error ∪ Ok)
-- | Edits the time when a scheduled message will be sent. Scheduling state
-- of all messages in the same album or forwarded together with the
-- message will be also changed
editMessageSchedulingState :: Member TDLib r => I53 -> I53 -> MessageSchedulingState -> Sem r (Error ∪ Ok)
-- | Returns all entities (mentions, hashtags, cashtags, bot commands, bank
-- card numbers, URLs, and email addresses) contained in the text. This
-- is an offline method. Can be called before authorization. Can be
-- called synchronously
getTextEntities :: Member TDLib r => T -> Sem r (Error ∪ TextEntities)
-- | Parses Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode,
-- TextUrl and MentionName entities contained in the text. This is an
-- offline method. Can be called before authorization. Can be called
-- synchronously
parseTextEntities :: Member TDLib r => T -> TextParseMode -> Sem r (Error ∪ FormattedText)
-- | Parses Markdown entities in a human-friendly format, ignoring mark up
-- errors. This is an offline method. Can be called before authorization.
-- Can be called synchronously
parseMarkdown :: Member TDLib r => FormattedText -> Sem r (Error ∪ FormattedText)
-- | Replaces text entities with Markdown formatting in a human-friendly
-- format. Entities that can't be represented in Markdown unambiguously
-- are kept as is. This is an offline method. Can be called before
-- authorization. Can be called synchronously
getMarkdownText :: Member TDLib r => FormattedText -> Sem r (Error ∪ FormattedText)
-- | Returns the MIME type of a file, guessed by its extension. Returns an
-- empty string on failure. This is an offline method. Can be called
-- before authorization. Can be called synchronously
getFileMimeType :: Member TDLib r => T -> Sem r (Error ∪ Text)
-- | Returns the extension of a file, guessed by its MIME type. Returns an
-- empty string on failure. This is an offline method. Can be called
-- before authorization. Can be called synchronously
getFileExtension :: Member TDLib r => T -> Sem r (Error ∪ Text)
-- | Removes potentially dangerous characters from the name of a file. The
-- encoding of the file name is supposed to be UTF-8. Returns an empty
-- string on failure. This is an offline method. Can be called before
-- authorization. Can be called synchronously
cleanFileName :: Member TDLib r => T -> Sem r (Error ∪ Text)
-- | Returns a string stored in the local database from the specified
-- localization target and language pack by its key. Returns a 404 error
-- if the string is not found. This is an offline method. Can be called
-- before authorization. Can be called synchronously
getLanguagePackString :: Member TDLib r => T -> T -> T -> T -> Sem r (Error ∪ LanguagePackStringValue)
-- | Converts a JSON-serialized string to corresponding JsonValue object.
-- This is an offline method. Can be called before authorization. Can be
-- called synchronously
getJsonValue :: Member TDLib r => T -> Sem r (Error ∪ JsonValue)
-- | Converts a JsonValue object to corresponding JSON-serialized string.
-- This is an offline method. Can be called before authorization. Can be
-- called synchronously
getJsonString :: Member TDLib r => JsonValue -> Sem r (Error ∪ Text)
-- | Changes the user answer to a poll. A poll in quiz mode can be answered
-- only once
setPollAnswer :: Member TDLib r => I53 -> I53 -> [I32] -> Sem r (Error ∪ Ok)
-- | Returns users voted for the specified option in a non-anonymous polls.
-- For the optimal performance the number of returned users is chosen by
-- the library
getPollVoters :: Member TDLib r => I53 -> I53 -> I32 -> I32 -> I32 -> Sem r (Error ∪ Users)
-- | Stops a poll. A poll in a message can be stopped when the message has
-- can_be_edited flag set
stopPoll :: Member TDLib r => I53 -> I53 -> ReplyMarkup -> Sem r (Error ∪ Ok)
-- | Returns information about a button of type
-- inlineKeyboardButtonTypeLoginUrl. The method needs to be called when
-- the user presses the button
getLoginUrlInfo :: Member TDLib r => I53 -> I53 -> I32 -> Sem r (Error ∪ LoginUrlInfo)
-- | Returns an HTTP URL which can be used to automatically authorize the
-- user on a website after clicking an inline button of type
-- inlineKeyboardButtonTypeLoginUrl.
getLoginUrl :: Member TDLib r => I53 -> I53 -> I32 -> Bool -> Sem r (Error ∪ HttpUrl)
-- | Sends an inline query to a bot and returns its results. Returns an
-- error with code 502 if the bot fails to answer the query before the
-- query timeout expires
getInlineQueryResults :: Member TDLib r => I32 -> I53 -> Location -> T -> T -> Sem r (Error ∪ InlineQueryResults)
-- | Sets the result of an inline query; for bots only
answerInlineQuery :: Member TDLib r => I64 -> Bool -> [InputInlineQueryResult] -> I32 -> T -> T -> T -> Sem r (Error ∪ Ok)
-- | Sends a callback query to a bot and returns an answer. Returns an
-- error with code 502 if the bot fails to answer the query before the
-- query timeout expires
getCallbackQueryAnswer :: Member TDLib r => I53 -> I53 -> CallbackQueryPayload -> Sem r (Error ∪ CallbackQueryAnswer)
-- | Sets the result of a callback query; for bots only
answerCallbackQuery :: Member TDLib r => I64 -> T -> Bool -> T -> I32 -> Sem r (Error ∪ Ok)
-- | Sets the result of a shipping query; for bots only
answerShippingQuery :: Member TDLib r => I64 -> [ShippingOption] -> T -> Sem r (Error ∪ Ok)
-- | Sets the result of a pre-checkout query; for bots only
answerPreCheckoutQuery :: Member TDLib r => I64 -> T -> Sem r (Error ∪ Ok)
-- | Updates the game score of the specified user in the game; for bots
-- only
setGameScore :: Member TDLib r => I53 -> I53 -> Bool -> I32 -> I32 -> Bool -> Sem r (Error ∪ Message)
-- | Updates the game score of the specified user in a game; for bots only
setInlineGameScore :: Member TDLib r => T -> Bool -> I32 -> I32 -> Bool -> Sem r (Error ∪ Ok)
-- | Returns the high scores for a game and some part of the high score
-- table in the range of the specified user; for bots only
getGameHighScores :: Member TDLib r => I53 -> I53 -> I32 -> Sem r (Error ∪ GameHighScores)
-- | Returns game high scores and some part of the high score table in the
-- range of the specified user; for bots only
getInlineGameHighScores :: Member TDLib r => T -> I32 -> Sem r (Error ∪ GameHighScores)
-- | Deletes the default reply markup from a chat. Must be called after a
-- one-time keyboard or a ForceReply reply markup has been used.
-- UpdateChatReplyMarkup will be sent if the reply markup will be changed
deleteChatReplyMarkup :: Member TDLib r => I53 -> I53 -> Sem r (Error ∪ Ok)
-- | Sends a notification about user activity in a chat
sendChatAction :: Member TDLib r => I53 -> ChatAction -> Sem r (Error ∪ Ok)
-- | Informs TDLib that the chat is opened by the user. Many useful
-- activities depend on the chat being opened or closed (e.g., in
-- supergroups and channels all updates are received only for opened
-- chats)
openChat :: Member TDLib r => I53 -> Sem r (Error ∪ Ok)
-- | Informs TDLib that the chat is closed by the user. Many useful
-- activities depend on the chat being opened or closed
closeChat :: Member TDLib r => I53 -> Sem r (Error ∪ Ok)
-- | Informs TDLib that messages are being viewed by the user. Many useful
-- activities depend on whether the messages are currently being viewed
-- or not (e.g., marking messages as read, incrementing a view counter,
-- updating a view counter, removing deleted messages in supergroups and
-- channels)
viewMessages :: Member TDLib r => I53 -> [I53] -> Bool -> Sem r (Error ∪ Ok)
-- | Informs TDLib that the message content has been opened (e.g., the user
-- has opened a photo, video, document, location or venue, or has
-- listened to an audio file or voice note message). An
-- updateMessageContentOpened update will be generated if something has
-- changed
openMessageContent :: Member TDLib r => I53 -> I53 -> Sem r (Error ∪ Ok)
-- | Marks all mentions in a chat as read
readAllChatMentions :: Member TDLib r => I53 -> Sem r (Error ∪ Ok)
-- | Returns an existing chat corresponding to a given user
createPrivateChat :: Member TDLib r => I32 -> Bool -> Sem r (Error ∪ Chat)
-- | Returns an existing chat corresponding to a known basic group
createBasicGroupChat :: Member TDLib r => I32 -> Bool -> Sem r (Error ∪ Chat)
-- | Returns an existing chat corresponding to a known supergroup or
-- channel
createSupergroupChat :: Member TDLib r => I32 -> Bool -> Sem r (Error ∪ Chat)
-- | Returns an existing chat corresponding to a known secret chat
createSecretChat :: Member TDLib r => I32 -> Sem r (Error ∪ Chat)
-- | Creates a new basic group and sends a corresponding
-- messageBasicGroupChatCreate. Returns the newly created chat
createNewBasicGroupChat :: Member TDLib r => [I32] -> T -> Sem r (Error ∪ Chat)
-- | Creates a new supergroup or channel and sends a corresponding
-- messageSupergroupChatCreate. Returns the newly created chat
createNewSupergroupChat :: Member TDLib r => T -> Bool -> T -> ChatLocation -> Sem r (Error ∪ Chat)
-- | Creates a new secret chat. Returns the newly created chat
createNewSecretChat :: Member TDLib r => I32 -> Sem r (Error ∪ Chat)
-- | Creates a new supergroup from an existing basic group and sends a
-- corresponding messageChatUpgradeTo and messageChatUpgradeFrom;
-- requires creator privileges. Deactivates the original basic group
upgradeBasicGroupChatToSupergroupChat :: Member TDLib r => I53 -> Sem r (Error ∪ Chat)
-- | Returns chat lists to which the chat can be added. This is an offline
-- request
getChatListsToAddChat :: Member TDLib r => I53 -> Sem r (Error ∪ ChatLists)
-- | Adds a chat to a chat list. A chat can't be simultaneously in Main and
-- Archive chat lists, so it is automatically removed from another one if
-- needed
addChatToList :: Member TDLib r => I53 -> ChatList -> Sem r (Error ∪ Ok)
-- | Returns information about a chat filter by its identifier
getChatFilter :: Member TDLib r => I32 -> Sem r (Error ∪ ChatFilter)
-- | Creates new chat filter. Returns information about the created chat
-- filter
createChatFilter :: Member TDLib r => ChatFilter -> Sem r (Error ∪ ChatFilterInfo)
-- | Edits existing chat filter. Returns information about the edited chat
-- filter
editChatFilter :: Member TDLib r => I32 -> ChatFilter -> Sem r (Error ∪ ChatFilterInfo)
-- | Deletes existing chat filter
deleteChatFilter :: Member TDLib r => I32 -> Sem r (Error ∪ Ok)
-- | Changes the order of chat filters
reorderChatFilters :: Member TDLib r => [I32] -> Sem r (Error ∪ Ok)
-- | Returns recommended chat filters for the current user
getRecommendedChatFilters :: Member TDLib r => Sem r (Error ∪ RecommendedChatFilters)
-- | Returns default icon name for a filter. This is an offline method. Can
-- be called before authorization. Can be called synchronously
getChatFilterDefaultIconName :: Member TDLib r => ChatFilter -> Sem r (Error ∪ Text)
-- | Changes the chat title. Supported only for basic groups, supergroups
-- and channels. Requires can_change_info rights. The title will not be
-- changed until the request to the server has been completed
setChatTitle :: Member TDLib r => I53 -> T -> Sem r (Error ∪ Ok)
-- | Changes the photo of a chat. Supported only for basic groups,
-- supergroups and channels. Requires can_change_info rights. The photo
-- will not be changed before request to the server has been completed
setChatPhoto :: Member TDLib r => I53 -> InputFile -> Sem r (Error ∪ Ok)
-- | Changes the chat members permissions. Supported only for basic groups
-- and supergroups. Requires can_restrict_members administrator right
setChatPermissions :: Member TDLib r => I53 -> ChatPermissions -> Sem r (Error ∪ Ok)
-- | Changes the draft message in a chat
setChatDraftMessage :: Member TDLib r => I53 -> Maybe DraftMessage -> Sem r (Error ∪ Ok)
-- | Changes the notification settings of a chat. Notification settings of
-- a chat with the current user (Saved Messages) can't be changed
setChatNotificationSettings :: Member TDLib r => I53 -> ChatNotificationSettings -> Sem r (Error ∪ Ok)
-- | Changes the marked as unread state of a chat
toggleChatIsMarkedAsUnread :: Member TDLib r => I53 -> Bool -> Sem r (Error ∪ Ok)
-- | Changes the value of the default disable_notification parameter, used
-- when a message is sent to a chat
toggleChatDefaultDisableNotification :: Member TDLib r => I53 -> Bool -> Sem r (Error ∪ Ok)
-- | Changes client data associated with a chat
setChatClientData :: Member TDLib r => I53 -> T -> Sem r (Error ∪ Ok)
-- | Changes information about a chat. Available for basic groups,
-- supergroups, and channels. Requires can_change_info rights
setChatDescription :: Member TDLib r => I53 -> T -> Sem r (Error ∪ Ok)
-- | Changes the discussion group of a channel chat; requires
-- can_change_info rights in the channel if it is specified
setChatDiscussionGroup :: Member TDLib r => I53 -> I53 -> Sem r (Error ∪ Ok)
-- | Changes the location of a chat. Available only for some location-based
-- supergroups, use supergroupFullInfo.can_set_location to check whether
-- the method is allowed to use
setChatLocation :: Member TDLib r => I53 -> ChatLocation -> Sem r (Error ∪ Ok)
-- | Changes the slow mode delay of a chat. Available only for supergroups;
-- requires can_restrict_members rights
setChatSlowModeDelay :: Member TDLib r => I53 -> I32 -> Sem r (Error ∪ Ok)
-- | Pins a message in a chat; requires can_pin_messages rights
pinChatMessage :: Member TDLib r => I53 -> I53 -> Bool -> Sem r (Error ∪ Ok)
-- | Removes the pinned message from a chat; requires can_pin_messages
-- rights in the group or channel
unpinChatMessage :: Member TDLib r => I53 -> Sem r (Error ∪ Ok)
-- | Adds current user as a new member to a chat. Private and secret chats
-- can't be joined using this method
joinChat :: Member TDLib r => I53 -> Sem r (Error ∪ Ok)
-- | Removes current user from chat members. Private and secret chats can't
-- be left using this method
leaveChat :: Member TDLib r => I53 -> Sem r (Error ∪ Ok)
-- | Adds a new member to a chat. Members can't be added to private or
-- secret chats. Members will not be added until the chat state has been
-- synchronized with the server
addChatMember :: Member TDLib r => I53 -> I32 -> I32 -> Sem r (Error ∪ Ok)
-- | Adds multiple new members to a chat. Currently this option is only
-- available for supergroups and channels. This option can't be used to
-- join a chat. Members can't be added to a channel if it has more than
-- 200 members. Members will not be added until the chat state has been
-- synchronized with the server
addChatMembers :: Member TDLib r => I53 -> [I32] -> Sem r (Error ∪ Ok)
-- | Changes the status of a chat member, needs appropriate privileges.
-- This function is currently not suitable for adding new members to the
-- chat and transferring chat ownership; instead, use addChatMember or
-- transferChatOwnership. The chat member status will not be changed
-- until it has been synchronized with the server
setChatMemberStatus :: Member TDLib r => I53 -> I32 -> ChatMemberStatus -> Sem r (Error ∪ Ok)
-- | Checks whether the current session can be used to transfer a chat
-- ownership to another user
canTransferOwnership :: Member TDLib r => Sem r (Error ∪ CanTransferOwnershipResult)
-- | Changes the owner of a chat. The current user must be a current owner
-- of the chat. Use the method canTransferOwnership to check whether the
-- ownership can be transferred from the current session. Available only
-- for supergroups and channel chats
transferChatOwnership :: Member TDLib r => I53 -> I32 -> T -> Sem r (Error ∪ Ok)
-- | Returns information about a single member of a chat
getChatMember :: Member TDLib r => I53 -> I32 -> Sem r (Error ∪ ChatMember)
-- | Searches for a specified query in the first name, last name and
-- username of the members of a specified chat. Requires administrator
-- rights in channels
searchChatMembers :: Member TDLib r => I53 -> T -> I32 -> ChatMembersFilter -> Sem r (Error ∪ ChatMembers)
-- | Returns a list of administrators of the chat with their custom titles
getChatAdministrators :: Member TDLib r => I53 -> Sem r (Error ∪ ChatAdministrators)
-- | Clears draft messages in all chats
clearAllDraftMessages :: Member TDLib r => Bool -> Sem r (Error ∪ Ok)
-- | Returns list of chats with non-default notification settings
getChatNotificationSettingsExceptions :: Member TDLib r => NotificationSettingsScope -> Bool -> Sem r (Error ∪ Chats)
-- | Returns the notification settings for chats of a given type
getScopeNotificationSettings :: Member TDLib r => NotificationSettingsScope -> Sem r (Error ∪ ScopeNotificationSettings)
-- | Changes notification settings for chats of a given type
setScopeNotificationSettings :: Member TDLib r => NotificationSettingsScope -> ScopeNotificationSettings -> Sem r (Error ∪ Ok)
-- | Resets all notification settings to their default values. By default,
-- all chats are unmuted, the sound is set to "default" and message
-- previews are shown
resetAllNotificationSettings :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Changes the pinned state of a chat. You can pin up to
-- GetOption("pinned_chat_count_max")GetOption("pinned_archived_chat_count_max")
-- non-secret chats and the same number of secret chats in the
-- mainarhive chat list
toggleChatIsPinned :: Member TDLib r => ChatList -> I53 -> Bool -> Sem r (Error ∪ Ok)
-- | Changes the order of pinned chats
setPinnedChats :: Member TDLib r => ChatList -> [I53] -> Sem r (Error ∪ Ok)
-- | Downloads a file from the cloud. Download progress and completion of
-- the download will be notified through updateFile updates
downloadFile :: Member TDLib r => I32 -> I32 -> I32 -> I32 -> Bool -> Sem r (Error ∪ File)
-- | Returns file downloaded prefix size from a given offset
getFileDownloadedPrefixSize :: Member TDLib r => I32 -> I32 -> Sem r (Error ∪ Count)
-- | Stops the downloading of a file. If a file has already been
-- downloaded, does nothing
cancelDownloadFile :: Member TDLib r => I32 -> Bool -> Sem r (Error ∪ Ok)
-- | Asynchronously uploads a file to the cloud without sending it in a
-- message. updateFile will be used to notify about upload progress and
-- successful completion of the upload. The file will not have a
-- persistent remote identifier until it will be sent in a message
uploadFile :: Member TDLib r => InputFile -> FileType -> I32 -> Sem r (Error ∪ File)
-- | Stops the uploading of a file. Supported only for files uploaded by
-- using uploadFile. For other files the behavior is undefined
cancelUploadFile :: Member TDLib r => I32 -> Sem r (Error ∪ Ok)
-- | Writes a part of a generated file. This method is intended to be used
-- only if the client has no direct access to TDLib's file system,
-- because it is usually slower than a direct write to the destination
-- file
writeGeneratedFilePart :: Member TDLib r => I64 -> I32 -> ByteString64 -> Sem r (Error ∪ Ok)
-- | Informs TDLib on a file generation progress
setFileGenerationProgress :: Member TDLib r => I64 -> I32 -> I32 -> Sem r (Error ∪ Ok)
-- | Finishes the file generation
finishFileGeneration :: Member TDLib r => I64 -> Error -> Sem r (Error ∪ Ok)
-- | Reads a part of a file from the TDLib file cache and returns read
-- bytes. This method is intended to be used only if the client has no
-- direct access to TDLib's file system, because it is usually slower
-- than a direct read from the file
readFilePart :: Member TDLib r => I32 -> I32 -> I32 -> Sem r (Error ∪ FilePart)
-- | Deletes a file from the TDLib file cache
deleteFile :: Member TDLib r => I32 -> Sem r (Error ∪ Ok)
-- | Generates a new invite link for a chat; the previously generated link
-- is revoked. Available for basic groups, supergroups, and channels.
-- Requires administrator privileges and can_invite_users right
generateChatInviteLink :: Member TDLib r => I53 -> Sem r (Error ∪ ChatInviteLink)
-- | Checks the validity of an invite link for a chat and returns
-- information about the corresponding chat
checkChatInviteLink :: Member TDLib r => T -> Sem r (Error ∪ ChatInviteLinkInfo)
-- | Uses an invite link to add the current user to the chat if possible.
-- The new member will not be added until the chat state has been
-- synchronized with the server
joinChatByInviteLink :: Member TDLib r => T -> Sem r (Error ∪ Chat)
-- | Creates a new call
createCall :: Member TDLib r => I32 -> CallProtocol -> Sem r (Error ∪ CallId)
-- | Accepts an incoming call
acceptCall :: Member TDLib r => I32 -> CallProtocol -> Sem r (Error ∪ Ok)
-- | Discards a call
discardCall :: Member TDLib r => I32 -> Bool -> I32 -> I64 -> Sem r (Error ∪ Ok)
-- | Sends a call rating
sendCallRating :: Member TDLib r => I32 -> I32 -> T -> [CallProblem] -> Sem r (Error ∪ Ok)
-- | Sends debug information for a call
sendCallDebugInformation :: Member TDLib r => I32 -> T -> Sem r (Error ∪ Ok)
-- | Adds a user to the blacklist
blockUser :: Member TDLib r => I32 -> Sem r (Error ∪ Ok)
-- | Removes a user from the blacklist
unblockUser :: Member TDLib r => I32 -> Sem r (Error ∪ Ok)
-- | Returns users that were blocked by the current user
getBlockedUsers :: Member TDLib r => I32 -> I32 -> Sem r (Error ∪ Users)
-- | Adds a user to the contact list or edits an existing contact by their
-- user identifier
addContact :: Member TDLib r => Contact -> Bool -> Sem r (Error ∪ Ok)
-- | Adds new contacts or edits existing contacts by their phone numbers;
-- contacts' user identifiers are ignored
importContacts :: Member TDLib r => [Contact] -> Sem r (Error ∪ ImportedContacts)
-- | Returns all user contacts
getContacts :: Member TDLib r => Sem r (Error ∪ Users)
-- | Searches for the specified query in the first names, last names and
-- usernames of the known user contacts
searchContacts :: Member TDLib r => T -> I32 -> Sem r (Error ∪ Users)
-- | Removes users from the contact list
removeContacts :: Member TDLib r => [I32] -> Sem r (Error ∪ Ok)
-- | Returns the total number of imported contacts
getImportedContactCount :: Member TDLib r => Sem r (Error ∪ Count)
-- | Changes imported contacts using the list of current user contacts
-- saved on the device. Imports newly added contacts and, if at least the
-- file database is enabled, deletes recently deleted contacts.
changeImportedContacts :: Member TDLib r => [Contact] -> Sem r (Error ∪ ImportedContacts)
-- | Clears all imported contacts, contact list remains unchanged
clearImportedContacts :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Shares the phone number of the current user with a mutual contact.
-- Supposed to be called when the user clicks on
-- chatActionBarSharePhoneNumber
sharePhoneNumber :: Member TDLib r => I32 -> Sem r (Error ∪ Ok)
-- | Returns the profile photos of a user. The result of this query may be
-- outdated: some photos might have been deleted already
getUserProfilePhotos :: Member TDLib r => I32 -> I32 -> I32 -> Sem r (Error ∪ UserProfilePhotos)
-- | Returns stickers from the installed sticker sets that correspond to a
-- given emoji. If the emoji is not empty, favorite and recently used
-- stickers may also be returned
getStickers :: Member TDLib r => T -> I32 -> Sem r (Error ∪ Stickers)
-- | Searches for stickers from public sticker sets that correspond to a
-- given emoji
searchStickers :: Member TDLib r => T -> I32 -> Sem r (Error ∪ Stickers)
-- | Returns a list of installed sticker sets
getInstalledStickerSets :: Member TDLib r => Bool -> Sem r (Error ∪ StickerSets)
-- | Returns a list of archived sticker sets
getArchivedStickerSets :: Member TDLib r => Bool -> I64 -> I32 -> Sem r (Error ∪ StickerSets)
-- | Returns a list of trending sticker sets. For the optimal performance
-- the number of returned sticker sets is chosen by the library
getTrendingStickerSets :: Member TDLib r => I32 -> I32 -> Sem r (Error ∪ StickerSets)
-- | Returns a list of sticker sets attached to a file. Currently only
-- photos and videos can have attached sticker sets
getAttachedStickerSets :: Member TDLib r => I32 -> Sem r (Error ∪ StickerSets)
-- | Returns information about a sticker set by its identifier
getStickerSet :: Member TDLib r => I64 -> Sem r (Error ∪ StickerSet)
-- | Searches for a sticker set by its name
searchStickerSet :: Member TDLib r => T -> Sem r (Error ∪ StickerSet)
-- | Searches for installed sticker sets by looking for specified query in
-- their title and name
searchInstalledStickerSets :: Member TDLib r => Bool -> T -> I32 -> Sem r (Error ∪ StickerSets)
-- | Searches for ordinary sticker sets by looking for specified query in
-- their title and name. Excludes installed sticker sets from the results
searchStickerSets :: Member TDLib r => T -> Sem r (Error ∪ StickerSets)
-- | Installsuninstalls or activatesarchives a sticker set
changeStickerSet :: Member TDLib r => I64 -> Bool -> Bool -> Sem r (Error ∪ Ok)
-- | Informs the server that some trending sticker sets have been viewed by
-- the user
viewTrendingStickerSets :: Member TDLib r => [I64] -> Sem r (Error ∪ Ok)
-- | Changes the order of installed sticker sets
reorderInstalledStickerSets :: Member TDLib r => Bool -> [I64] -> Sem r (Error ∪ Ok)
-- | Returns a list of recently used stickers
getRecentStickers :: Member TDLib r => Bool -> Sem r (Error ∪ Stickers)
-- | Manually adds a new sticker to the list of recently used stickers. The
-- new sticker is added to the top of the list. If the sticker was
-- already in the list, it is removed from the list first. Only stickers
-- belonging to a sticker set can be added to this list
addRecentSticker :: Member TDLib r => Bool -> InputFile -> Sem r (Error ∪ Stickers)
-- | Removes a sticker from the list of recently used stickers
removeRecentSticker :: Member TDLib r => Bool -> InputFile -> Sem r (Error ∪ Ok)
-- | Clears the list of recently used stickers
clearRecentStickers :: Member TDLib r => Bool -> Sem r (Error ∪ Ok)
-- | Returns favorite stickers
getFavoriteStickers :: Member TDLib r => Sem r (Error ∪ Stickers)
-- | Adds a new sticker to the list of favorite stickers. The new sticker
-- is added to the top of the list. If the sticker was already in the
-- list, it is removed from the list first. Only stickers belonging to a
-- sticker set can be added to this list
addFavoriteSticker :: Member TDLib r => InputFile -> Sem r (Error ∪ Ok)
-- | Removes a sticker from the list of favorite stickers
removeFavoriteSticker :: Member TDLib r => InputFile -> Sem r (Error ∪ Ok)
-- | Returns emoji corresponding to a sticker. The list is only for
-- informational purposes, because a sticker is always sent with a fixed
-- emoji from the corresponding Sticker object
getStickerEmojis :: Member TDLib r => InputFile -> Sem r (Error ∪ Emojis)
-- | Searches for emojis by keywords. Supported only if the file database
-- is enabled
searchEmojis :: Member TDLib r => T -> Bool -> [T] -> Sem r (Error ∪ Emojis)
-- | Returns an HTTP URL which can be used to automatically log in to the
-- translation platform and suggest new emoji replacements. The URL will
-- be valid for 30 seconds after generation
getEmojiSuggestionsUrl :: Member TDLib r => T -> Sem r (Error ∪ HttpUrl)
-- | Returns saved animations
getSavedAnimations :: Member TDLib r => Sem r (Error ∪ Animations)
-- | Manually adds a new animation to the list of saved animations. The new
-- animation is added to the beginning of the list. If the animation was
-- already in the list, it is removed first. Only non-secret video
-- animations with MIME type "video/mp4" can be added to the list
addSavedAnimation :: Member TDLib r => InputFile -> Sem r (Error ∪ Ok)
-- | Removes an animation from the list of saved animations
removeSavedAnimation :: Member TDLib r => InputFile -> Sem r (Error ∪ Ok)
-- | Returns up to 20 recently used inline bots in the order of their last
-- usage
getRecentInlineBots :: Member TDLib r => Sem r (Error ∪ Users)
-- | Searches for recently used hashtags by their prefix
searchHashtags :: Member TDLib r => T -> I32 -> Sem r (Error ∪ Hashtags)
-- | Removes a hashtag from the list of recently used hashtags
removeRecentHashtag :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Returns a web page preview by the text of the message. Do not call
-- this function too often. Returns a 404 error if the web page has no
-- preview
getWebPagePreview :: Member TDLib r => FormattedText -> Sem r (Error ∪ WebPage)
-- | Returns an instant view version of a web page if available. Returns a
-- 404 error if the web page has no instant view page
getWebPageInstantView :: Member TDLib r => T -> Bool -> Sem r (Error ∪ WebPageInstantView)
-- | Uploads a new profile photo for the current user. If something
-- changes, updateUser will be sent
setProfilePhoto :: Member TDLib r => InputFile -> Sem r (Error ∪ Ok)
-- | Deletes a profile photo. If something changes, updateUser will be sent
deleteProfilePhoto :: Member TDLib r => I64 -> Sem r (Error ∪ Ok)
-- | Changes the first and last name of the current user. If something
-- changes, updateUser will be sent
setName :: Member TDLib r => T -> T -> Sem r (Error ∪ Ok)
-- | Changes the bio of the current user
setBio :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Changes the username of the current user. If something changes,
-- updateUser will be sent
setUsername :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Changes the location of the current user. Needs to be called if
-- GetOption("is_location_visible") is true and location changes for more
-- than 1 kilometer
setLocation :: Member TDLib r => Location -> Sem r (Error ∪ Ok)
-- | Changes the phone number of the user and sends an authentication code
-- to the user's new phone number. On success, returns information about
-- the sent code
changePhoneNumber :: Member TDLib r => T -> PhoneNumberAuthenticationSettings -> Sem r (Error ∪ AuthenticationCodeInfo)
-- | Re-sends the authentication code sent to confirm a new phone number
-- for the user. Works only if the previously received
-- authenticationCodeInfo next_code_type was not null
resendChangePhoneNumberCode :: Member TDLib r => Sem r (Error ∪ AuthenticationCodeInfo)
-- | Checks the authentication code sent to confirm a new phone number of
-- the user
checkChangePhoneNumberCode :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Sets the list of commands supported by the bot; for bots only
setCommands :: Member TDLib r => [BotCommand] -> Sem r (Error ∪ Ok)
-- | Returns all active sessions of the current user
getActiveSessions :: Member TDLib r => Sem r (Error ∪ Sessions)
-- | Terminates a session of the current user
terminateSession :: Member TDLib r => I64 -> Sem r (Error ∪ Ok)
-- | Terminates all other sessions of the current user
terminateAllOtherSessions :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Returns all website where the current user used Telegram to log in
getConnectedWebsites :: Member TDLib r => Sem r (Error ∪ ConnectedWebsites)
-- | Disconnects website from the current user's Telegram account
disconnectWebsite :: Member TDLib r => I64 -> Sem r (Error ∪ Ok)
-- | Disconnects all websites from the current user's Telegram account
disconnectAllWebsites :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Changes the username of a supergroup or channel, requires owner
-- privileges in the supergroup or channel
setSupergroupUsername :: Member TDLib r => I32 -> T -> Sem r (Error ∪ Ok)
-- | Changes the sticker set of a supergroup; requires can_change_info
-- rights
setSupergroupStickerSet :: Member TDLib r => I32 -> I64 -> Sem r (Error ∪ Ok)
-- | Toggles sender signatures messages sent in a channel; requires
-- can_change_info rights
toggleSupergroupSignMessages :: Member TDLib r => I32 -> Bool -> Sem r (Error ∪ Ok)
-- | Toggles whether the message history of a supergroup is available to
-- new members; requires can_change_info rights
toggleSupergroupIsAllHistoryAvailable :: Member TDLib r => I32 -> Bool -> Sem r (Error ∪ Ok)
-- | Reports some messages from a user in a supergroup as spam; requires
-- administrator rights in the supergroup
reportSupergroupSpam :: Member TDLib r => I32 -> I32 -> [I53] -> Sem r (Error ∪ Ok)
-- | Returns information about members or banned users in a supergroup or
-- channel. Can be used only if SupergroupFullInfo.can_get_members ==
-- true; additionally, administrator privileges may be required for some
-- filters
getSupergroupMembers :: Member TDLib r => I32 -> SupergroupMembersFilter -> I32 -> I32 -> Sem r (Error ∪ ChatMembers)
-- | Deletes a supergroup or channel along with all messages in the
-- corresponding chat. This will release the supergroup or channel
-- username and remove all members; requires owner privileges in the
-- supergroup or channel. Chats with more than 1000 members can't be
-- deleted using this method
deleteSupergroup :: Member TDLib r => I32 -> Sem r (Error ∪ Ok)
-- | Closes a secret chat, effectively transferring its state to
-- secretChatStateClosed
closeSecretChat :: Member TDLib r => I32 -> Sem r (Error ∪ Ok)
-- | Returns a list of service actions taken by chat members and
-- administrators in the last 48 hours. Available only for supergroups
-- and channels. Requires administrator rights. Returns results in
-- reverse chronological order (i. e., in order of decreasing event_id)
getChatEventLog :: Member TDLib r => I53 -> T -> I64 -> I32 -> ChatEventLogFilters -> [I32] -> Sem r (Error ∪ ChatEvents)
-- | Returns an invoice payment form. This method should be called when the
-- user presses inlineKeyboardButtonBuy
getPaymentForm :: Member TDLib r => I53 -> I53 -> Sem r (Error ∪ PaymentForm)
-- | Validates the order information provided by a user and returns the
-- available shipping options for a flexible invoice
validateOrderInfo :: Member TDLib r => I53 -> I53 -> OrderInfo -> Bool -> Sem r (Error ∪ ValidatedOrderInfo)
-- | Sends a filled-out payment form to the bot for final verification
sendPaymentForm :: Member TDLib r => I53 -> I53 -> T -> T -> InputCredentials -> Sem r (Error ∪ PaymentResult)
-- | Returns information about a successful payment
getPaymentReceipt :: Member TDLib r => I53 -> I53 -> Sem r (Error ∪ PaymentReceipt)
-- | Returns saved order info, if any
getSavedOrderInfo :: Member TDLib r => Sem r (Error ∪ OrderInfo)
-- | Deletes saved order info
deleteSavedOrderInfo :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Deletes saved credentials for all payment provider bots
deleteSavedCredentials :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Returns a user that can be contacted to get support
getSupportUser :: Member TDLib r => Sem r (Error ∪ User)
-- | Returns backgrounds installed by the user
getBackgrounds :: Member TDLib r => Bool -> Sem r (Error ∪ Backgrounds)
-- | Constructs a persistent HTTP URL for a background
getBackgroundUrl :: Member TDLib r => T -> BackgroundType -> Sem r (Error ∪ HttpUrl)
-- | Searches for a background by its name
searchBackground :: Member TDLib r => T -> Sem r (Error ∪ Background)
-- | Changes the background selected by the user; adds background to the
-- list of installed backgrounds
setBackground :: Member TDLib r => InputBackground -> BackgroundType -> Bool -> Sem r (Error ∪ Background)
-- | Removes background from the list of installed backgrounds
removeBackground :: Member TDLib r => I64 -> Sem r (Error ∪ Ok)
-- | Resets list of installed backgrounds to its default value
resetBackgrounds :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Returns information about the current localization target. This is an
-- offline request if only_local is true. Can be called before
-- authorization
getLocalizationTargetInfo :: Member TDLib r => Bool -> Sem r (Error ∪ LocalizationTargetInfo)
-- | Returns information about a language pack. Returned language pack
-- identifier may be different from a provided one. Can be called before
-- authorization
getLanguagePackInfo :: Member TDLib r => T -> Sem r (Error ∪ LanguagePackInfo)
-- | Returns strings from a language pack in the current localization
-- target by their keys. Can be called before authorization
getLanguagePackStrings :: Member TDLib r => T -> [T] -> Sem r (Error ∪ LanguagePackStrings)
-- | Fetches the latest versions of all strings from a language pack in the
-- current localization target from the server. This method doesn't need
-- to be called explicitly for the current used/base language packs. Can
-- be called before authorization
synchronizeLanguagePack :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Adds a custom server language pack to the list of installed language
-- packs in current localization target. Can be called before
-- authorization
addCustomServerLanguagePack :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Adds or changes a custom local language pack to the current
-- localization target
setCustomLanguagePack :: Member TDLib r => LanguagePackInfo -> [LanguagePackString] -> Sem r (Error ∪ Ok)
-- | Edits information about a custom local language pack in the current
-- localization target. Can be called before authorization
editCustomLanguagePackInfo :: Member TDLib r => LanguagePackInfo -> Sem r (Error ∪ Ok)
-- | Adds, edits or deletes a string in a custom local language pack. Can
-- be called before authorization
setCustomLanguagePackString :: Member TDLib r => T -> LanguagePackString -> Sem r (Error ∪ Ok)
-- | Deletes all information about a language pack in the current
-- localization target. The language pack which is currently in use
-- (including base language pack) or is being synchronized can't be
-- deleted. Can be called before authorization
deleteLanguagePack :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Registers the currently used device for receiving push notifications.
-- Returns a globally unique identifier of the push notification
-- subscription
registerDevice :: Member TDLib r => DeviceToken -> [I32] -> Sem r (Error ∪ PushReceiverId)
-- | Handles a push notification. Returns error with code 406 if the push
-- notification is not supported and connection to the server is required
-- to fetch new data. Can be called before authorization
processPushNotification :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Returns a globally unique push notification subscription identifier
-- for identification of an account, which has received a push
-- notification. This is an offline method. Can be called before
-- authorization. Can be called synchronously
getPushReceiverId :: Member TDLib r => T -> Sem r (Error ∪ PushReceiverId)
-- | Returns t.me URLs recently visited by a newly registered user
getRecentlyVisitedTMeUrls :: Member TDLib r => T -> Sem r (Error ∪ TMeUrls)
-- | Changes user privacy settings
setUserPrivacySettingRules :: Member TDLib r => UserPrivacySetting -> UserPrivacySettingRules -> Sem r (Error ∪ Ok)
-- | Returns the current privacy settings
getUserPrivacySettingRules :: Member TDLib r => UserPrivacySetting -> Sem r (Error ∪ UserPrivacySettingRules)
-- | Returns the value of an option by its name. (Check the list of
-- available options on https://core.telegram.org/tdlib/options.)
-- Can be called before authorization
getOption :: Member TDLib r => T -> Sem r (Error ∪ OptionValue)
-- | Sets the value of an option. (Check the list of available options on
-- https://core.telegram.org/tdlib/options.) Only writable options
-- can be set. Can be called before authorization
setOption :: Member TDLib r => T -> OptionValue -> Sem r (Error ∪ Ok)
-- | Changes the period of inactivity after which the account of the
-- current user will automatically be deleted
setAccountTtl :: Member TDLib r => AccountTtl -> Sem r (Error ∪ Ok)
-- | Returns the period of inactivity after which the account of the
-- current user will automatically be deleted
getAccountTtl :: Member TDLib r => Sem r (Error ∪ AccountTtl)
-- | Deletes the account of the current user, deleting all information
-- associated with the user from the server. The phone number of the
-- account can be used to create a new account. Can be called before
-- authorization when the current authorization state is
-- authorizationStateWaitPassword
deleteAccount :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Removes a chat action bar without any other action
removeChatActionBar :: Member TDLib r => I53 -> Sem r (Error ∪ Ok)
-- | Reports a chat to the Telegram moderators. A chat can be reported only
-- from the chat action bar, or if this is a private chats with a bot, a
-- private chat with a user sharing their location, a supergroup, or a
-- channel, since other chats can't be checked by moderators
reportChat :: Member TDLib r => I53 -> ChatReportReason -> [I53] -> Sem r (Error ∪ Ok)
-- | Returns an HTTP URL with the chat statistics. Currently this method of
-- getting the statistics is disabled and can be deleted in the future
getChatStatisticsUrl :: Member TDLib r => I53 -> T -> Bool -> Sem r (Error ∪ HttpUrl)
-- | Returns detailed statistics about a chat. Currently this method can be
-- used only for channels. Requires administrator rights in the channel
getChatStatistics :: Member TDLib r => I53 -> Bool -> Sem r (Error ∪ ChatStatistics)
-- | Loads asynchronous or zoomed in chat statistics graph
getChatStatisticsGraph :: Member TDLib r => I53 -> T -> I53 -> Sem r (Error ∪ StatisticsGraph)
-- | Returns storage usage statistics. Can be called before authorization
getStorageStatistics :: Member TDLib r => I32 -> Sem r (Error ∪ StorageStatistics)
-- | Quickly returns approximate storage usage statistics. Can be called
-- before authorization
getStorageStatisticsFast :: Member TDLib r => Sem r (Error ∪ StorageStatisticsFast)
-- | Returns database statistics
getDatabaseStatistics :: Member TDLib r => Sem r (Error ∪ DatabaseStatistics)
-- | Optimizes storage usage, i.e. deletes some files and returns new
-- storage usage statistics. Secret thumbnails can't be deleted
optimizeStorage :: Member TDLib r => I53 -> I32 -> I32 -> I32 -> [FileType] -> [I53] -> [I53] -> Bool -> I32 -> Sem r (Error ∪ StorageStatistics)
-- | Sets the current network type. Can be called before authorization.
-- Calling this method forces all network connections to reopen,
-- mitigating the delay in switching between different networks, so it
-- should be called whenever the network is changed, even if the network
-- type remains the same.
setNetworkType :: Member TDLib r => NetworkType -> Sem r (Error ∪ Ok)
-- | Returns network data usage statistics. Can be called before
-- authorization
getNetworkStatistics :: Member TDLib r => Bool -> Sem r (Error ∪ NetworkStatistics)
-- | Adds the specified data to data usage statistics. Can be called before
-- authorization
addNetworkStatistics :: Member TDLib r => NetworkStatisticsEntry -> Sem r (Error ∪ Ok)
-- | Resets all network data usage statistics to zero. Can be called before
-- authorization
resetNetworkStatistics :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Returns auto-download settings presets for the current user
getAutoDownloadSettingsPresets :: Member TDLib r => Sem r (Error ∪ AutoDownloadSettingsPresets)
-- | Sets auto-download settings
setAutoDownloadSettings :: Member TDLib r => AutoDownloadSettings -> NetworkType -> Sem r (Error ∪ Ok)
-- | Returns information about a bank card
getBankCardInfo :: Member TDLib r => T -> Sem r (Error ∪ BankCardInfo)
-- | Returns one of the available Telegram Passport elements
getPassportElement :: Member TDLib r => PassportElementType -> T -> Sem r (Error ∪ PassportElement)
-- | Returns all available Telegram Passport elements
getAllPassportElements :: Member TDLib r => T -> Sem r (Error ∪ PassportElements)
-- | Adds an element to the user's Telegram Passport. May return an error
-- with a message PHONE_VERIFICATION_NEEDED or
-- EMAIL_VERIFICATION_NEEDED if the chosen phone number or the
-- chosen email address must be verified first
setPassportElement :: Member TDLib r => InputPassportElement -> T -> Sem r (Error ∪ PassportElement)
-- | Deletes a Telegram Passport element
deletePassportElement :: Member TDLib r => PassportElementType -> Sem r (Error ∪ Ok)
-- | Informs the user that some of the elements in their Telegram Passport
-- contain errors; for bots only. The user will not be able to resend the
-- elements, until the errors are fixed
setPassportElementErrors :: Member TDLib r => I32 -> [InputPassportElementError] -> Sem r (Error ∪ Ok)
-- | Returns an IETF language tag of the language preferred in the country,
-- which should be used to fill native fields in Telegram Passport
-- personal details. Returns a 404 error if unknown
getPreferredCountryLanguage :: Member TDLib r => T -> Sem r (Error ∪ Text)
-- | Sends a code to verify a phone number to be added to a user's Telegram
-- Passport
sendPhoneNumberVerificationCode :: Member TDLib r => T -> PhoneNumberAuthenticationSettings -> Sem r (Error ∪ AuthenticationCodeInfo)
-- | Re-sends the code to verify a phone number to be added to a user's
-- Telegram Passport
resendPhoneNumberVerificationCode :: Member TDLib r => Sem r (Error ∪ AuthenticationCodeInfo)
-- | Checks the phone number verification code for Telegram Passport
checkPhoneNumberVerificationCode :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Sends a code to verify an email address to be added to a user's
-- Telegram Passport
sendEmailAddressVerificationCode :: Member TDLib r => T -> Sem r (Error ∪ EmailAddressAuthenticationCodeInfo)
-- | Re-sends the code to verify an email address to be added to a user's
-- Telegram Passport
resendEmailAddressVerificationCode :: Member TDLib r => Sem r (Error ∪ EmailAddressAuthenticationCodeInfo)
-- | Checks the email address verification code for Telegram Passport
checkEmailAddressVerificationCode :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Returns a Telegram Passport authorization form for sharing data with a
-- service
getPassportAuthorizationForm :: Member TDLib r => I32 -> T -> T -> T -> Sem r (Error ∪ PassportAuthorizationForm)
-- | Returns already available Telegram Passport elements suitable for
-- completing a Telegram Passport authorization form. Result can be
-- received only once for each authorization form
getPassportAuthorizationFormAvailableElements :: Member TDLib r => I32 -> T -> Sem r (Error ∪ PassportElementsWithErrors)
-- | Sends a Telegram Passport authorization form, effectively sharing data
-- with the service. This method must be called after
-- getPassportAuthorizationFormAvailableElements if some previously
-- available elements need to be used
sendPassportAuthorizationForm :: Member TDLib r => I32 -> [PassportElementType] -> Sem r (Error ∪ Ok)
-- | Sends phone number confirmation code. Should be called when user
-- presses
-- "https://t.me/confirmphone?phone=*******&hash=**********"
-- or "tg://confirmphone?phone=*******&hash=**********" link
sendPhoneNumberConfirmationCode :: Member TDLib r => T -> T -> PhoneNumberAuthenticationSettings -> Sem r (Error ∪ AuthenticationCodeInfo)
-- | Resends phone number confirmation code
resendPhoneNumberConfirmationCode :: Member TDLib r => Sem r (Error ∪ AuthenticationCodeInfo)
-- | Checks phone number confirmation code
checkPhoneNumberConfirmationCode :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Informs the server about the number of pending bot updates if they
-- haven't been processed for a long time; for bots only
setBotUpdatesStatus :: Member TDLib r => I32 -> T -> Sem r (Error ∪ Ok)
-- | Uploads a PNG image with a sticker; for bots only; returns the
-- uploaded file
uploadStickerFile :: Member TDLib r => I32 -> InputFile -> Sem r (Error ∪ File)
-- | Creates a new sticker set; for bots only. Returns the newly created
-- sticker set
createNewStickerSet :: Member TDLib r => I32 -> T -> T -> Bool -> [InputSticker] -> Sem r (Error ∪ StickerSet)
-- | Adds a new sticker to a set; for bots only. Returns the sticker set
addStickerToSet :: Member TDLib r => I32 -> T -> InputSticker -> Sem r (Error ∪ StickerSet)
-- | Sets a sticker set thumbnail; for bots only. Returns the sticker set
setStickerSetThumbnail :: Member TDLib r => I32 -> T -> InputFile -> Sem r (Error ∪ StickerSet)
-- | Changes the position of a sticker in the set to which it belongs; for
-- bots only. The sticker set must have been created by the bot
setStickerPositionInSet :: Member TDLib r => InputFile -> I32 -> Sem r (Error ∪ Ok)
-- | Removes a sticker from the set to which it belongs; for bots only. The
-- sticker set must have been created by the bot
removeStickerFromSet :: Member TDLib r => InputFile -> Sem r (Error ∪ Ok)
-- | Returns information about a file with a map thumbnail in PNG format.
-- Only map thumbnail files with size less than 1MB can be downloaded
getMapThumbnailFile :: Member TDLib r => Location -> I32 -> I32 -> I32 -> I32 -> I53 -> Sem r (Error ∪ File)
-- | Accepts Telegram terms of services
acceptTermsOfService :: Member TDLib r => T -> Sem r (Error ∪ Ok)
-- | Sends a custom request; for bots only
sendCustomRequest :: Member TDLib r => T -> T -> Sem r (Error ∪ CustomRequestResult)
-- | Answers a custom query; for bots only
answerCustomQuery :: Member TDLib r => I64 -> T -> Sem r (Error ∪ Ok)
-- | Succeeds after a specified amount of time has passed. Can be called
-- before authorization. Can be called before initialization
setAlarm :: Member TDLib r => Double -> Sem r (Error ∪ Ok)
-- | Uses current user IP address to find their country. Returns two-letter
-- ISO 3166-1 alpha-2 country code. Can be called before authorization
getCountryCode :: Member TDLib r => Sem r (Error ∪ Text)
-- | Returns the default text for invitation messages to be used as a
-- placeholder when the current user invites friends to Telegram
getInviteText :: Member TDLib r => Sem r (Error ∪ Text)
-- | Returns information about a tg:/ deep link. Use
-- "tg:/need_update_for_some_feature" or
-- "tg:some_unsupported_feature" for testing. Returns a 404 error for
-- unknown links. Can be called before authorization
getDeepLinkInfo :: Member TDLib r => T -> Sem r (Error ∪ DeepLinkInfo)
-- | Returns application config, provided by the server. Can be called
-- before authorization
getApplicationConfig :: Member TDLib r => Sem r (Error ∪ JsonValue)
-- | Saves application log event on the server. Can be called before
-- authorization
saveApplicationLogEvent :: Member TDLib r => T -> I53 -> JsonValue -> Sem r (Error ∪ Ok)
-- | Adds a proxy server for network requests. Can be called before
-- authorization
addProxy :: Member TDLib r => T -> I32 -> Bool -> ProxyType -> Sem r (Error ∪ Proxy)
-- | Edits an existing proxy server for network requests. Can be called
-- before authorization
editProxy :: Member TDLib r => I32 -> T -> I32 -> Bool -> ProxyType -> Sem r (Error ∪ Proxy)
-- | Enables a proxy. Only one proxy can be enabled at a time. Can be
-- called before authorization
enableProxy :: Member TDLib r => I32 -> Sem r (Error ∪ Ok)
-- | Disables the currently enabled proxy. Can be called before
-- authorization
disableProxy :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Removes a proxy server. Can be called before authorization
removeProxy :: Member TDLib r => I32 -> Sem r (Error ∪ Ok)
-- | Returns list of proxies that are currently set up. Can be called
-- before authorization
getProxies :: Member TDLib r => Sem r (Error ∪ Proxies)
-- | Returns an HTTPS link, which can be used to add a proxy. Available
-- only for SOCKS5 and MTProto proxies. Can be called before
-- authorization
getProxyLink :: Member TDLib r => I32 -> Sem r (Error ∪ Text)
-- | Computes time needed to receive a response from a Telegram server
-- through a proxy. Can be called before authorization
pingProxy :: Member TDLib r => I32 -> Sem r (Error ∪ Seconds)
-- | Sets new log stream for internal logging of TDLib. This is an offline
-- method. Can be called before authorization. Can be called
-- synchronously
setLogStream :: Member TDLib r => LogStream -> Sem r (Error ∪ Ok)
-- | Returns information about currently used log stream for internal
-- logging of TDLib. This is an offline method. Can be called before
-- authorization. Can be called synchronously
getLogStream :: Member TDLib r => Sem r (Error ∪ LogStream)
-- | Sets the verbosity level of the internal logging of TDLib. This is an
-- offline method. Can be called before authorization. Can be called
-- synchronously
setLogVerbosityLevel :: Member TDLib r => I32 -> Sem r (Error ∪ Ok)
-- | Returns current verbosity level of the internal logging of TDLib. This
-- is an offline method. Can be called before authorization. Can be
-- called synchronously
getLogVerbosityLevel :: Member TDLib r => Sem r (Error ∪ LogVerbosityLevel)
-- | Returns list of available TDLib internal log tags, for example,
-- ["actor", "binlog", "connections", "notifications", "proxy"]. This is
-- an offline method. Can be called before authorization. Can be called
-- synchronously
getLogTags :: Member TDLib r => Sem r (Error ∪ LogTags)
-- | Sets the verbosity level for a specified TDLib internal log tag. This
-- is an offline method. Can be called before authorization. Can be
-- called synchronously
setLogTagVerbosityLevel :: Member TDLib r => T -> I32 -> Sem r (Error ∪ Ok)
-- | Returns current verbosity level for a specified TDLib internal log
-- tag. This is an offline method. Can be called before authorization.
-- Can be called synchronously
getLogTagVerbosityLevel :: Member TDLib r => T -> Sem r (Error ∪ LogVerbosityLevel)
-- | Adds a message to TDLib internal log. This is an offline method. Can
-- be called before authorization. Can be called synchronously
addLogMessage :: Member TDLib r => I32 -> T -> Sem r (Error ∪ Ok)
-- | Does nothing; for testing only. This is an offline method. Can be
-- called before authorization
testCallEmpty :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Returns the received string; for testing only. This is an offline
-- method. Can be called before authorization
testCallString :: Member TDLib r => T -> Sem r (Error ∪ TestString)
-- | Returns the received bytes; for testing only. This is an offline
-- method. Can be called before authorization
testCallBytes :: Member TDLib r => ByteString64 -> Sem r (Error ∪ TestBytes)
-- | Returns the received vector of numbers; for testing only. This is an
-- offline method. Can be called before authorization
testCallVectorInt :: Member TDLib r => [I32] -> Sem r (Error ∪ TestVectorInt)
-- | Returns the received vector of objects containing a number; for
-- testing only. This is an offline method. Can be called before
-- authorization
testCallVectorIntObject :: Member TDLib r => [TestInt] -> Sem r (Error ∪ TestVectorIntObject)
-- | Returns the received vector of strings; for testing only. This is an
-- offline method. Can be called before authorization
testCallVectorString :: Member TDLib r => [T] -> Sem r (Error ∪ TestVectorString)
-- | Returns the received vector of objects containing a string; for
-- testing only. This is an offline method. Can be called before
-- authorization
testCallVectorStringObject :: Member TDLib r => [TestString] -> Sem r (Error ∪ TestVectorStringObject)
-- | Returns the squared received number; for testing only. This is an
-- offline method. Can be called before authorization
testSquareInt :: Member TDLib r => I32 -> Sem r (Error ∪ TestInt)
-- | Sends a simple network request to the Telegram servers; for testing
-- only. Can be called before authorization
testNetwork :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Sends a simple network request to the Telegram servers via proxy; for
-- testing only. Can be called before authorization
testProxy :: Member TDLib r => T -> I32 -> ProxyType -> I32 -> Double -> Sem r (Error ∪ Ok)
-- | Forces an updates.getDifference call to the Telegram servers; for
-- testing only
testGetDifference :: Member TDLib r => Sem r (Error ∪ Ok)
-- | Does nothing and ensures that the Update object is used; for testing
-- only. This is an offline method. Can be called before authorization
testUseUpdate :: Member TDLib r => Sem r (Error ∪ Update)
-- | Returns the specified error and ensures that the Error object is used;
-- for testing only. This is an offline method. Can be called before
-- authorization. Can be called synchronously
testReturnError :: Member TDLib r => Error -> Sem r (Error ∪ Error)
module TDLib.Generated
module TDLib.Types
data Error
data Ok
data TdlibParameters
-- | Contains notifications about data changes
data Update
data Message
data Messages
data FoundMessages
data DraftMessage
data User
data Users
-- | Represents the type of a user. The following types are possible:
-- regular users, deleted users and bots
data UserType
data UserFullInfo
data UserProfilePhoto
data UserProfilePhotos
data Chat
-- | Describes the type of a chat
data ChatType
data ChatMember
data ChatMembers
data BasicGroup
data BasicGroupFullInfo
data Supergroup
data SupergroupFullInfo
data SecretChat
-- | Describes the current secret chat state
data SecretChatState