tdlib-types-0.4.0: Types and Functions generated from tdlib api spec
Safe HaskellNone
LanguageHaskell2010

TDLib.Types

Synopsis

Documentation

data Error Source #

Instances

Instances details
Eq Error Source # 
Instance details

Defined in TDLib.Generated.Types

Methods

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

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

Show Error Source # 
Instance details

Defined in TDLib.Generated.Types

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

Generic Error Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep Error :: Type -> Type #

Methods

from :: Error -> Rep Error x #

to :: Rep Error x -> Error #

ToJSON Error Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON Error Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Error Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Error = D1 ('MetaData "Error" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "Error" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T)))

data Ok Source #

Instances

Instances details
Eq Ok Source # 
Instance details

Defined in TDLib.Generated.Types

Methods

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

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

Show Ok Source # 
Instance details

Defined in TDLib.Generated.Types

Methods

showsPrec :: Int -> Ok -> ShowS #

show :: Ok -> String #

showList :: [Ok] -> ShowS #

Generic Ok Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep Ok :: Type -> Type #

Methods

from :: Ok -> Rep Ok x #

to :: Rep Ok x -> Ok #

ToJSON Ok Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON Ok Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Ok Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Ok = D1 ('MetaData "Ok" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "Ok" 'PrefixI 'False) (U1 :: Type -> Type))

data TdlibParameters Source #

Instances

Instances details
Eq TdlibParameters Source # 
Instance details

Defined in TDLib.Generated.Types

Show TdlibParameters Source # 
Instance details

Defined in TDLib.Generated.Types

Generic TdlibParameters Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep TdlibParameters :: Type -> Type #

ToJSON TdlibParameters Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON TdlibParameters Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep TdlibParameters Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep TdlibParameters = D1 ('MetaData "TdlibParameters" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "TdlibParameters" 'PrefixI 'True) (((S1 ('MetaSel ('Just "useTestDc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "databaseDirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "filesDirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T))) :*: ((S1 ('MetaSel ('Just "useFileDatabase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "useChatInfoDatabase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "useMessageDatabase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "useSecretChats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: (((S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "apiHash") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T)) :*: (S1 ('MetaSel ('Just "systemLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "deviceModel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T))) :*: ((S1 ('MetaSel ('Just "systemVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "applicationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T)) :*: (S1 ('MetaSel ('Just "enableStorageOptimizer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "ignoreFileNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))))

data Update Source #

Contains notifications about data changes

Instances

Instances details
Eq Update Source # 
Instance details

Defined in TDLib.Generated.Types

Methods

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

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

Show Update Source # 
Instance details

Defined in TDLib.Generated.Types

Generic Update Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep Update :: Type -> Type #

Methods

from :: Update -> Rep Update x #

to :: Rep Update x -> Update #

ToJSON Update Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON Update Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Update Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Update = D1 ('MetaData "Update" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) ((((((C1 ('MetaCons "UpdateAuthorizationState" 'PrefixI 'True) (S1 ('MetaSel ('Just "authorizationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AuthorizationState)) :+: C1 ('MetaCons "UpdateNewMessage" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Message))) :+: (C1 ('MetaCons "UpdateMessageSendAcknowledged" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53)) :+: C1 ('MetaCons "UpdateMessageSendSucceeded" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Message) :*: S1 ('MetaSel ('Just "oldMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53)))) :+: ((C1 ('MetaCons "UpdateMessageSendFailed" 'PrefixI 'True) ((S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Message) :*: S1 ('MetaSel ('Just "oldMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53)) :*: (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T))) :+: C1 ('MetaCons "UpdateMessageContent" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "newContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MessageContent)))) :+: (C1 ('MetaCons "UpdateMessageEdited" 'PrefixI 'True) ((S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53)) :*: (S1 ('MetaSel ('Just "editDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "replyMarkup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ReplyMarkup)))) :+: (C1 ('MetaCons "UpdateMessageViews" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "views") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32))) :+: C1 ('MetaCons "UpdateMessageContentOpened" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53)))))) :+: (((C1 ('MetaCons "UpdateMessageMentionRead" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "unreadMentionCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32))) :+: C1 ('MetaCons "UpdateMessageLiveLocationViewed" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53))) :+: (C1 ('MetaCons "UpdateNewChat" 'PrefixI 'True) (S1 ('MetaSel ('Just "chat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Chat)) :+: (C1 ('MetaCons "UpdateChatTitle" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T)) :+: C1 ('MetaCons "UpdateChatPhoto" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "photo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ChatPhoto)))))) :+: ((C1 ('MetaCons "UpdateChatPermissions" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "permissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChatPermissions)) :+: C1 ('MetaCons "UpdateChatLastMessage" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "lastMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Message)) :*: S1 ('MetaSel ('Just "positions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ChatPosition])))) :+: (C1 ('MetaCons "UpdateChatPosition" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChatPosition)) :+: (C1 ('MetaCons "UpdateChatIsMarkedAsUnread" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "isMarkedAsUnread") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :+: C1 ('MetaCons "UpdateChatHasScheduledMessages" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "hasScheduledMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))))) :+: ((((C1 ('MetaCons "UpdateChatDefaultDisableNotification" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "defaultDisableNotification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :+: C1 ('MetaCons "UpdateChatReadInbox" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "lastReadInboxMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "unreadCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)))) :+: (C1 ('MetaCons "UpdateChatReadOutbox" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "lastReadOutboxMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53)) :+: C1 ('MetaCons "UpdateChatUnreadMentionCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "unreadMentionCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)))) :+: ((C1 ('MetaCons "UpdateChatNotificationSettings" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "notificationSettings_2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChatNotificationSettings)) :+: C1 ('MetaCons "UpdateScopeNotificationSettings" 'PrefixI 'True) (S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NotificationSettingsScope) :*: S1 ('MetaSel ('Just "notificationSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScopeNotificationSettings))) :+: (C1 ('MetaCons "UpdateChatActionBar" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "actionBar") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ChatActionBar))) :+: (C1 ('MetaCons "UpdateChatPinnedMessage" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "pinnedMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53)) :+: C1 ('MetaCons "UpdateChatReplyMarkup" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "replyMarkupMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53)))))) :+: (((C1 ('MetaCons "UpdateChatDraftMessage" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "draftMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DraftMessage)) :*: S1 ('MetaSel ('Just "positions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ChatPosition]))) :+: C1 ('MetaCons "UpdateChatFilters" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ChatFilterInfo]))) :+: (C1 ('MetaCons "UpdateChatOnlineMemberCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "onlineMemberCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)) :+: (C1 ('MetaCons "UpdateNotification" 'PrefixI 'True) (S1 ('MetaSel ('Just "notificationGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "notification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Notification)) :+: C1 ('MetaCons "UpdateNotificationGroup" 'PrefixI 'True) (((S1 ('MetaSel ('Just "notificationGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "type_2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NotificationGroupType)) :*: (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "notificationSettingsChatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53))) :*: ((S1 ('MetaSel ('Just "isSilent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "totalCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)) :*: (S1 ('MetaSel ('Just "addedNotifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Notification]) :*: S1 ('MetaSel ('Just "removedNotificationIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [I32]))))))) :+: ((C1 ('MetaCons "UpdateActiveNotifications" 'PrefixI 'True) (S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [NotificationGroup])) :+: C1 ('MetaCons "UpdateHavePendingNotifications" 'PrefixI 'True) (S1 ('MetaSel ('Just "haveDelayedNotifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "haveUnreceivedNotifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :+: (C1 ('MetaCons "UpdateDeleteMessages" 'PrefixI 'True) ((S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "messageIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [I53])) :*: (S1 ('MetaSel ('Just "isPermanent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "fromCache") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :+: (C1 ('MetaCons "UpdateUserChatAction" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChatAction))) :+: C1 ('MetaCons "UpdateUserStatus" 'PrefixI 'True) (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserStatus)))))))) :+: (((((C1 ('MetaCons "UpdateUser" 'PrefixI 'True) (S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User)) :+: C1 ('MetaCons "UpdateBasicGroup" 'PrefixI 'True) (S1 ('MetaSel ('Just "basicGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BasicGroup))) :+: (C1 ('MetaCons "UpdateSupergroup" 'PrefixI 'True) (S1 ('MetaSel ('Just "supergroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Supergroup)) :+: C1 ('MetaCons "UpdateSecretChat" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretChat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SecretChat)))) :+: ((C1 ('MetaCons "UpdateUserFullInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "userFullInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserFullInfo)) :+: C1 ('MetaCons "UpdateBasicGroupFullInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "basicGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "basicGroupFullInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 BasicGroupFullInfo))) :+: (C1 ('MetaCons "UpdateSupergroupFullInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "supergroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "supergroupFullInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SupergroupFullInfo)) :+: (C1 ('MetaCons "UpdateServiceNotification" 'PrefixI 'True) (S1 ('MetaSel ('Just "type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MessageContent)) :+: C1 ('MetaCons "UpdateFile" 'PrefixI 'True) (S1 ('MetaSel ('Just "file") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 File)))))) :+: (((C1 ('MetaCons "UpdateFileGenerationStart" 'PrefixI 'True) ((S1 ('MetaSel ('Just "generationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: S1 ('MetaSel ('Just "originalPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T)) :*: (S1 ('MetaSel ('Just "destinationPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "conversion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T))) :+: C1 ('MetaCons "UpdateFileGenerationStop" 'PrefixI 'True) (S1 ('MetaSel ('Just "generationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64))) :+: (C1 ('MetaCons "UpdateCall" 'PrefixI 'True) (S1 ('MetaSel ('Just "call") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Call)) :+: (C1 ('MetaCons "UpdateUserPrivacySettingRules" 'PrefixI 'True) (S1 ('MetaSel ('Just "setting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserPrivacySetting) :*: S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserPrivacySettingRules)) :+: C1 ('MetaCons "UpdateUnreadMessageCount" 'PrefixI 'True) (S1 ('MetaSel ('Just "chatList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChatList) :*: (S1 ('MetaSel ('Just "unreadCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "unreadUnmutedCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)))))) :+: ((C1 ('MetaCons "UpdateUnreadChatCount" 'PrefixI 'True) ((S1 ('MetaSel ('Just "chatList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChatList) :*: (S1 ('MetaSel ('Just "totalCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "unreadCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32))) :*: (S1 ('MetaSel ('Just "unreadUnmutedCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: (S1 ('MetaSel ('Just "markedAsUnreadCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "markedAsUnreadUnmutedCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)))) :+: C1 ('MetaCons "UpdateOption" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 OptionValue))) :+: (C1 ('MetaCons "UpdateStickerSet" 'PrefixI 'True) (S1 ('MetaSel ('Just "stickerSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StickerSet)) :+: (C1 ('MetaCons "UpdateInstalledStickerSets" 'PrefixI 'True) (S1 ('MetaSel ('Just "isMasks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "stickerSetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [I64])) :+: C1 ('MetaCons "UpdateTrendingStickerSets" 'PrefixI 'True) (S1 ('MetaSel ('Just "stickerSets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StickerSets))))))) :+: ((((C1 ('MetaCons "UpdateRecentStickers" 'PrefixI 'True) (S1 ('MetaSel ('Just "isAttached") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "stickerIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [I32])) :+: C1 ('MetaCons "UpdateFavoriteStickers" 'PrefixI 'True) (S1 ('MetaSel ('Just "stickerIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [I32]))) :+: (C1 ('MetaCons "UpdateSavedAnimations" 'PrefixI 'True) (S1 ('MetaSel ('Just "animationIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [I32])) :+: (C1 ('MetaCons "UpdateSelectedBackground" 'PrefixI 'True) (S1 ('MetaSel ('Just "forDarkTheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "background") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Background))) :+: C1 ('MetaCons "UpdateLanguagePackStrings" 'PrefixI 'True) (S1 ('MetaSel ('Just "localizationTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: (S1 ('MetaSel ('Just "languagePackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "strings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LanguagePackString])))))) :+: ((C1 ('MetaCons "UpdateConnectionState" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ConnectionState)) :+: C1 ('MetaCons "UpdateTermsOfService" 'PrefixI 'True) (S1 ('MetaSel ('Just "termsOfServiceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "termsOfService") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TermsOfService))) :+: (C1 ('MetaCons "UpdateUsersNearby" 'PrefixI 'True) (S1 ('MetaSel ('Just "usersNearby") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ChatNearby])) :+: (C1 ('MetaCons "UpdateDiceEmojis" 'PrefixI 'True) (S1 ('MetaSel ('Just "emojis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [T])) :+: C1 ('MetaCons "UpdateAnimationSearchParameters" 'PrefixI 'True) (S1 ('MetaSel ('Just "provider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "emojis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [T])))))) :+: (((C1 ('MetaCons "UpdateNewInlineQuery" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: S1 ('MetaSel ('Just "senderUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)) :*: (S1 ('MetaSel ('Just "userLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Location)) :*: (S1 ('MetaSel ('Just "query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T)))) :+: C1 ('MetaCons "UpdateNewChosenInlineResult" 'PrefixI 'True) ((S1 ('MetaSel ('Just "senderUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "userLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Location))) :*: (S1 ('MetaSel ('Just "query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: (S1 ('MetaSel ('Just "resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "inlineMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T))))) :+: (C1 ('MetaCons "UpdateNewCallbackQuery" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: (S1 ('MetaSel ('Just "senderUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53))) :*: (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "chatInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CallbackQueryPayload)))) :+: (C1 ('MetaCons "UpdateNewInlineCallbackQuery" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: S1 ('MetaSel ('Just "senderUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)) :*: (S1 ('MetaSel ('Just "inlineMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: (S1 ('MetaSel ('Just "chatInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: S1 ('MetaSel ('Just "payload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CallbackQueryPayload)))) :+: C1 ('MetaCons "UpdateNewShippingQuery" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: S1 ('MetaSel ('Just "senderUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)) :*: (S1 ('MetaSel ('Just "invoicePayload_2") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "shippingAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Address)))))) :+: ((C1 ('MetaCons "UpdateNewPreCheckoutQuery" 'PrefixI 'True) ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: (S1 ('MetaSel ('Just "senderUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "currency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T))) :*: ((S1 ('MetaSel ('Just "totalAmount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "invoicePayload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString64)) :*: (S1 ('MetaSel ('Just "shippingOptionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "orderInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe OrderInfo))))) :+: C1 ('MetaCons "UpdateNewCustomEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "event") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T))) :+: (C1 ('MetaCons "UpdateNewCustomQuery" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: (S1 ('MetaSel ('Just "data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "timeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32))) :+: (C1 ('MetaCons "UpdatePoll" 'PrefixI 'True) (S1 ('MetaSel ('Just "poll") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Poll)) :+: C1 ('MetaCons "UpdatePollAnswer" 'PrefixI 'True) (S1 ('MetaSel ('Just "pollId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "optionIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [I32]))))))))))

Messages

data Message Source #

Instances

Instances details
Eq Message Source # 
Instance details

Defined in TDLib.Generated.Types

Methods

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

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

Show Message Source # 
Instance details

Defined in TDLib.Generated.Types

Generic Message Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep Message :: Type -> Type #

Methods

from :: Message -> Rep Message x #

to :: Rep Message x -> Message #

ToJSON Message Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON Message Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Message Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Message = D1 ('MetaData "Message" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "Message" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "senderUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "chatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53))) :*: (S1 ('MetaSel ('Just "sendingState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MessageSendingState)) :*: (S1 ('MetaSel ('Just "schedulingState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MessageSchedulingState)) :*: S1 ('MetaSel ('Just "isOutgoing") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "canBeEdited") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "canBeForwarded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "canBeDeletedOnlyForSelf") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: (S1 ('MetaSel ('Just "canBeDeletedForAllUsers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "isChannelPost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "containsUnreadMention") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))) :*: (((S1 ('MetaSel ('Just "date") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: (S1 ('MetaSel ('Just "editDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "forwardInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MessageForwardInfo)))) :*: (S1 ('MetaSel ('Just "replyToMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "ttl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "ttlExpiresIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))) :*: ((S1 ('MetaSel ('Just "viaBotUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: (S1 ('MetaSel ('Just "authorSignature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "views") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32))) :*: ((S1 ('MetaSel ('Just "mediaAlbumId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: S1 ('MetaSel ('Just "restrictionReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T)) :*: (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MessageContent) :*: S1 ('MetaSel ('Just "replyMarkup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ReplyMarkup))))))))

data Messages Source #

Instances

Instances details
Eq Messages Source # 
Instance details

Defined in TDLib.Generated.Types

Show Messages Source # 
Instance details

Defined in TDLib.Generated.Types

Generic Messages Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep Messages :: Type -> Type #

Methods

from :: Messages -> Rep Messages x #

to :: Rep Messages x -> Messages #

ToJSON Messages Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON Messages Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Messages Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Messages = D1 ('MetaData "Messages" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "Messages" 'PrefixI 'True) (S1 ('MetaSel ('Just "totalCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "messages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Maybe Message])))

data FoundMessages Source #

Instances

Instances details
Eq FoundMessages Source # 
Instance details

Defined in TDLib.Generated.Types

Show FoundMessages Source # 
Instance details

Defined in TDLib.Generated.Types

Generic FoundMessages Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep FoundMessages :: Type -> Type #

ToJSON FoundMessages Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON FoundMessages Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep FoundMessages Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep FoundMessages = D1 ('MetaData "FoundMessages" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "FoundMessages" 'PrefixI 'True) (S1 ('MetaSel ('Just "messages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Message]) :*: S1 ('MetaSel ('Just "nextFromSearchId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64)))

data DraftMessage Source #

Instances

Instances details
Eq DraftMessage Source # 
Instance details

Defined in TDLib.Generated.Types

Show DraftMessage Source # 
Instance details

Defined in TDLib.Generated.Types

Generic DraftMessage Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep DraftMessage :: Type -> Type #

ToJSON DraftMessage Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON DraftMessage Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep DraftMessage Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep DraftMessage = D1 ('MetaData "DraftMessage" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "DraftMessage" 'PrefixI 'True) (S1 ('MetaSel ('Just "replyToMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "date") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "inputMessageText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InputMessageContent))))

Users

data User Source #

Instances

Instances details
Eq User Source # 
Instance details

Defined in TDLib.Generated.Types

Methods

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

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

Show User Source # 
Instance details

Defined in TDLib.Generated.Types

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep User :: Type -> Type #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

ToJSON User Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON User Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep User Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep User = D1 ('MetaData "User" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "User" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "firstName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T)) :*: (S1 ('MetaSel ('Just "lastName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T))) :*: ((S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserStatus)) :*: (S1 ('MetaSel ('Just "profilePhoto") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ProfilePhoto)) :*: S1 ('MetaSel ('Just "isContact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: (((S1 ('MetaSel ('Just "isMutualContact") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "isVerified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "isSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "restrictionReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T))) :*: ((S1 ('MetaSel ('Just "isScam") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "haveAccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UserType) :*: S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T))))))

data Users Source #

Instances

Instances details
Eq Users Source # 
Instance details

Defined in TDLib.Generated.Types

Methods

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

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

Show Users Source # 
Instance details

Defined in TDLib.Generated.Types

Methods

showsPrec :: Int -> Users -> ShowS #

show :: Users -> String #

showList :: [Users] -> ShowS #

Generic Users Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep Users :: Type -> Type #

Methods

from :: Users -> Rep Users x #

to :: Rep Users x -> Users #

ToJSON Users Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON Users Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Users Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Users = D1 ('MetaData "Users" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "Users" 'PrefixI 'True) (S1 ('MetaSel ('Just "totalCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "userIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [I32])))

data UserType Source #

Represents the type of a user. The following types are possible: regular users, deleted users and bots

Instances

Instances details
Eq UserType Source # 
Instance details

Defined in TDLib.Generated.Types

Show UserType Source # 
Instance details

Defined in TDLib.Generated.Types

Generic UserType Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep UserType :: Type -> Type #

Methods

from :: UserType -> Rep UserType x #

to :: Rep UserType x -> UserType #

ToJSON UserType Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON UserType Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep UserType Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep UserType = D1 ('MetaData "UserType" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) ((C1 ('MetaCons "UserTypeRegular" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UserTypeDeleted" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UserTypeBot" 'PrefixI 'True) ((S1 ('MetaSel ('Just "canJoinGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "canReadAllGroupMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "isInline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "inlineQueryPlaceholder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "needLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :+: C1 ('MetaCons "UserTypeUnknown" 'PrefixI 'False) (U1 :: Type -> Type)))

data UserFullInfo Source #

Instances

Instances details
Eq UserFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

Show UserFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

Generic UserFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep UserFullInfo :: Type -> Type #

ToJSON UserFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON UserFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep UserFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

data UserProfilePhoto Source #

Instances

Instances details
Eq UserProfilePhoto Source # 
Instance details

Defined in TDLib.Generated.Types

Show UserProfilePhoto Source # 
Instance details

Defined in TDLib.Generated.Types

Generic UserProfilePhoto Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep UserProfilePhoto :: Type -> Type #

ToJSON UserProfilePhoto Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON UserProfilePhoto Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep UserProfilePhoto Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep UserProfilePhoto = D1 ('MetaData "UserProfilePhoto" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "UserProfilePhoto" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: (S1 ('MetaSel ('Just "addedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "sizes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [PhotoSize]))))

data UserProfilePhotos Source #

Instances

Instances details
Eq UserProfilePhotos Source # 
Instance details

Defined in TDLib.Generated.Types

Show UserProfilePhotos Source # 
Instance details

Defined in TDLib.Generated.Types

Generic UserProfilePhotos Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep UserProfilePhotos :: Type -> Type #

ToJSON UserProfilePhotos Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON UserProfilePhotos Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep UserProfilePhotos Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep UserProfilePhotos = D1 ('MetaData "UserProfilePhotos" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "UserProfilePhotos" 'PrefixI 'True) (S1 ('MetaSel ('Just "totalCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "photos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [UserProfilePhoto])))

Chats

data Chat Source #

Instances

Instances details
Eq Chat Source # 
Instance details

Defined in TDLib.Generated.Types

Methods

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

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

Show Chat Source # 
Instance details

Defined in TDLib.Generated.Types

Methods

showsPrec :: Int -> Chat -> ShowS #

show :: Chat -> String #

showList :: [Chat] -> ShowS #

Generic Chat Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep Chat :: Type -> Type #

Methods

from :: Chat -> Rep Chat x #

to :: Rep Chat x -> Chat #

ToJSON Chat Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON Chat Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Chat Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Chat = D1 ('MetaData "Chat" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "Chat" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChatType)) :*: (S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: (S1 ('MetaSel ('Just "photo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ChatPhoto)) :*: S1 ('MetaSel ('Just "permissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChatPermissions)))) :*: ((S1 ('MetaSel ('Just "lastMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Message)) :*: (S1 ('MetaSel ('Just "positions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ChatPosition]) :*: S1 ('MetaSel ('Just "isMarkedAsUnread") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: (S1 ('MetaSel ('Just "hasScheduledMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "canBeDeletedOnlyForSelf") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "canBeDeletedForAllUsers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))) :*: (((S1 ('MetaSel ('Just "canBeReported") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "defaultDisableNotification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "unreadCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32))) :*: (S1 ('MetaSel ('Just "lastReadInboxMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "lastReadOutboxMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: S1 ('MetaSel ('Just "unreadMentionCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)))) :*: ((S1 ('MetaSel ('Just "notificationSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChatNotificationSettings) :*: (S1 ('MetaSel ('Just "actionBar") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ChatActionBar)) :*: S1 ('MetaSel ('Just "pinnedMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53))) :*: (S1 ('MetaSel ('Just "replyMarkupMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53) :*: (S1 ('MetaSel ('Just "draftMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe DraftMessage)) :*: S1 ('MetaSel ('Just "clientData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T)))))))

data ChatType Source #

Describes the type of a chat

Instances

Instances details
Eq ChatType Source # 
Instance details

Defined in TDLib.Generated.Types

Show ChatType Source # 
Instance details

Defined in TDLib.Generated.Types

Generic ChatType Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep ChatType :: Type -> Type #

Methods

from :: ChatType -> Rep ChatType x #

to :: Rep ChatType x -> ChatType #

ToJSON ChatType Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON ChatType Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep ChatType Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep ChatType = D1 ('MetaData "ChatType" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) ((C1 ('MetaCons "ChatTypePrivate" 'PrefixI 'True) (S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)) :+: C1 ('MetaCons "ChatTypeBasicGroup" 'PrefixI 'True) (S1 ('MetaSel ('Just "basicGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32))) :+: (C1 ('MetaCons "ChatTypeSupergroup" 'PrefixI 'True) (S1 ('MetaSel ('Just "supergroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "isChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :+: C1 ('MetaCons "ChatTypeSecret" 'PrefixI 'True) (S1 ('MetaSel ('Just "secretChatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32))))

data ChatMember Source #

Instances

Instances details
Eq ChatMember Source # 
Instance details

Defined in TDLib.Generated.Types

Show ChatMember Source # 
Instance details

Defined in TDLib.Generated.Types

Generic ChatMember Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep ChatMember :: Type -> Type #

ToJSON ChatMember Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON ChatMember Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep ChatMember Source # 
Instance details

Defined in TDLib.Generated.Types

data ChatMembers Source #

Instances

Instances details
Eq ChatMembers Source # 
Instance details

Defined in TDLib.Generated.Types

Show ChatMembers Source # 
Instance details

Defined in TDLib.Generated.Types

Generic ChatMembers Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep ChatMembers :: Type -> Type #

ToJSON ChatMembers Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON ChatMembers Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep ChatMembers Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep ChatMembers = D1 ('MetaData "ChatMembers" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "ChatMembers" 'PrefixI 'True) (S1 ('MetaSel ('Just "totalCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "members") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ChatMember])))

data BasicGroup Source #

Instances

Instances details
Eq BasicGroup Source # 
Instance details

Defined in TDLib.Generated.Types

Show BasicGroup Source # 
Instance details

Defined in TDLib.Generated.Types

Generic BasicGroup Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep BasicGroup :: Type -> Type #

ToJSON BasicGroup Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON BasicGroup Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep BasicGroup Source # 
Instance details

Defined in TDLib.Generated.Types

data BasicGroupFullInfo Source #

Instances

Instances details
Eq BasicGroupFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

Show BasicGroupFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

Generic BasicGroupFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep BasicGroupFullInfo :: Type -> Type #

ToJSON BasicGroupFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON BasicGroupFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep BasicGroupFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep BasicGroupFullInfo = D1 ('MetaData "BasicGroupFullInfo" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "BasicGroupFullInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "creatorUserId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)) :*: (S1 ('MetaSel ('Just "members") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [ChatMember]) :*: S1 ('MetaSel ('Just "inviteLink") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T))))

data Supergroup Source #

Instances

Instances details
Eq Supergroup Source # 
Instance details

Defined in TDLib.Generated.Types

Show Supergroup Source # 
Instance details

Defined in TDLib.Generated.Types

Generic Supergroup Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep Supergroup :: Type -> Type #

ToJSON Supergroup Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON Supergroup Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Supergroup Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep Supergroup = D1 ('MetaData "Supergroup" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "Supergroup" 'PrefixI 'True) (((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: (S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "date") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ChatMemberStatus) :*: (S1 ('MetaSel ('Just "memberCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "hasLinkedChat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "hasLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "signMessages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "isSlowModeEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "isChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "isVerified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "restrictionReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "isScam") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))))

data SupergroupFullInfo Source #

Instances

Instances details
Eq SupergroupFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

Show SupergroupFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

Generic SupergroupFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep SupergroupFullInfo :: Type -> Type #

ToJSON SupergroupFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON SupergroupFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep SupergroupFullInfo Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep SupergroupFullInfo = D1 ('MetaData "SupergroupFullInfo" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "SupergroupFullInfo" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: S1 ('MetaSel ('Just "memberCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32)) :*: (S1 ('MetaSel ('Just "administratorCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "restrictedCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32))) :*: ((S1 ('MetaSel ('Just "bannedCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "linkedChatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53)) :*: (S1 ('MetaSel ('Just "slowModeDelay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: (S1 ('MetaSel ('Just "slowModeDelayExpiresIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "canGetMembers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))) :*: (((S1 ('MetaSel ('Just "canSetUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "canSetStickerSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "canSetLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "canViewStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "isAllHistoryAvailable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "stickerSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I64) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ChatLocation))) :*: (S1 ('MetaSel ('Just "inviteLink") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 T) :*: (S1 ('MetaSel ('Just "upgradedFromBasicGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I32) :*: S1 ('MetaSel ('Just "upgradedFromMaxMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 I53)))))))

data SecretChat Source #

Instances

Instances details
Eq SecretChat Source # 
Instance details

Defined in TDLib.Generated.Types

Show SecretChat Source # 
Instance details

Defined in TDLib.Generated.Types

Generic SecretChat Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep SecretChat :: Type -> Type #

ToJSON SecretChat Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON SecretChat Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep SecretChat Source # 
Instance details

Defined in TDLib.Generated.Types

data SecretChatState Source #

Describes the current secret chat state

Instances

Instances details
Eq SecretChatState Source # 
Instance details

Defined in TDLib.Generated.Types

Show SecretChatState Source # 
Instance details

Defined in TDLib.Generated.Types

Generic SecretChatState Source # 
Instance details

Defined in TDLib.Generated.Types

Associated Types

type Rep SecretChatState :: Type -> Type #

ToJSON SecretChatState Source # 
Instance details

Defined in TDLib.Generated.Types

FromJSON SecretChatState Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep SecretChatState Source # 
Instance details

Defined in TDLib.Generated.Types

type Rep SecretChatState = D1 ('MetaData "SecretChatState" "TDLib.Generated.Types" "tdlib-types-0.4.0-inplace" 'False) (C1 ('MetaCons "SecretChatStatePending" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SecretChatStateReady" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SecretChatStateClosed" 'PrefixI 'False) (U1 :: Type -> Type)))