Link Search Menu Expand Document

Constructors

Back to API documentation index




$account.authorizationForm = [‘required_types’ => [SecureRequiredType], ‘values’ => [SecureValue], ‘errors’ => [SecureValueError], ‘users’ => [User], ‘privacy_policy_url’ => string, ];




$account.authorizations = [‘authorization_ttl_days’ => int, ‘authorizations’ => [Authorization], ];




$account.autoDownloadSettings = [‘low’ => AutoDownloadSettings, ‘medium’ => AutoDownloadSettings, ‘high’ => AutoDownloadSettings, ];




$account.autoSaveSettings = [‘users_settings’ => AutoSaveSettings, ‘chats_settings’ => AutoSaveSettings, ‘broadcasts_settings’ => AutoSaveSettings, ‘exceptions’ => [AutoSaveException], ‘chats’ => [Chat], ‘users’ => [User], ];




$account.businessChatLinks = [‘links’ => [BusinessChatLink], ‘chats’ => [Chat], ‘users’ => [User], ];




$account.connectedBots = [‘connected_bots’ => [ConnectedBot], ‘users’ => [User], ];




$account.contentSettings = [‘sensitive_enabled’ => Bool, ‘sensitive_can_change’ => Bool, ];




$account.emailVerified = [‘email’ => string, ];




$account.emailVerifiedLogin = [‘email’ => string, ‘sent_code’ => auth.SentCode, ];




$account.emojiStatuses = [‘hash’ => long, ‘statuses’ => [EmojiStatus], ];




$account.emojiStatusesNotModified = [];




$account.password = [‘has_recovery’ => Bool, ‘has_secure_values’ => Bool, ‘has_password’ => Bool, ‘current_algo’ => PasswordKdfAlgo, ‘srp_B’ => bytes, ‘srp_id’ => long, ‘hint’ => string, ‘email_unconfirmed_pattern’ => string, ‘new_algo’ => PasswordKdfAlgo, ‘new_secure_algo’ => SecurePasswordKdfAlgo, ‘secure_random’ => bytes, ‘pending_reset_date’ => int, ‘login_email_pattern’ => string, ];




$account.passwordInputSettings = [‘new_algo’ => PasswordKdfAlgo, ‘new_password_hash’ => bytes, ‘hint’ => string, ‘email’ => string, ‘new_secure_settings’ => SecureSecretSettings, ];




$account.passwordSettings = [‘email’ => string, ‘secure_settings’ => SecureSecretSettings, ];




$account.privacyRules = [‘rules’ => [PrivacyRule], ‘chats’ => [Chat], ‘users’ => [User], ];




$account.resetPasswordFailedWait = [‘retry_date’ => int, ];




$account.resetPasswordOk = [];




$account.resetPasswordRequestedWait = [‘until_date’ => int, ];




$account.resolvedBusinessChatLinks = [‘peer’ => long, ‘message’ => string, ‘entities’ => [MessageEntity], ‘chats’ => [Chat], ‘users’ => [User], ];




$account.savedRingtone = [];




$account.savedRingtoneConverted = [‘document’ => Document, ];




$account.savedRingtones = [‘hash’ => long, ‘ringtones’ => [Document], ];




$account.savedRingtonesNotModified = [];




$account.sentEmailCode = [‘email_pattern’ => string, ‘length’ => int, ];




$account.takeout = [‘id’ => long, ];




$account.themes = [‘hash’ => long, ‘themes’ => [Theme], ];




$account.themesNotModified = [];




$account.tmpPassword = [‘tmp_password’ => bytes, ‘valid_until’ => int, ];




$account.wallPapers = [‘hash’ => long, ‘wallpapers’ => [WallPaper], ];




$account.wallPapersNotModified = [];




$account.webAuthorizations = [‘authorizations’ => [WebAuthorization], ‘users’ => [User], ];




$accountDaysTTL = [‘days’ => int, ];




$attachMenuBot = [‘inactive’ => Bool, ‘has_settings’ => Bool, ‘request_write_access’ => Bool, ‘show_in_attach_menu’ => Bool, ‘show_in_side_menu’ => Bool, ‘side_menu_disclaimer_needed’ => Bool, ‘bot_id’ => long, ‘short_name’ => string, ‘peer_types’ => [AttachMenuPeerType], ‘icons’ => [AttachMenuBotIcon], ];




$attachMenuBotIcon = [‘name’ => string, ‘icon’ => Document, ‘colors’ => [AttachMenuBotIconColor], ];




$attachMenuBotIconColor = [‘name’ => string, ‘color’ => int, ];




$attachMenuBots = [‘hash’ => long, ‘bots’ => [AttachMenuBot], ‘users’ => [User], ];




$attachMenuBotsBot = [‘bot’ => AttachMenuBot, ‘users’ => [User], ];




$attachMenuBotsNotModified = [];




$attachMenuPeerTypeBotPM = [];




$attachMenuPeerTypeBroadcast = [];




$attachMenuPeerTypeChat = [];




$attachMenuPeerTypePM = [];




$attachMenuPeerTypeSameBotPM = [];




$auth.authorization = [‘setup_password_required’ => Bool, ‘otherwise_relogin_days’ => int, ‘tmp_sessions’ => int, ‘future_auth_token’ => bytes, ‘user’ => User, ];




$auth.authorizationSignUpRequired = [‘terms_of_service’ => help.TermsOfService, ];




$auth.codeTypeCall = [];




$auth.codeTypeFlashCall = [];




$auth.codeTypeFragmentSms = [];




$auth.codeTypeMissedCall = [];




$auth.codeTypeSms = [];




$auth.exportedAuthorization = [‘id’ => long, ‘bytes’ => bytes, ];




$auth.loggedOut = [‘future_auth_token’ => bytes, ];




$auth.loginToken = [‘expires’ => int, ‘token’ => bytes, ];




$auth.loginTokenMigrateTo = [‘dc_id’ => int, ‘token’ => bytes, ];




$auth.loginTokenSuccess = [‘authorization’ => auth.Authorization, ];




$auth.passwordRecovery = [‘email_pattern’ => string, ];




$auth.sentCode = [‘type’ => auth.SentCodeType, ‘phone_code_hash’ => string, ‘next_type’ => auth.CodeType, ‘timeout’ => int, ];




$auth.sentCodeSuccess = [‘authorization’ => auth.Authorization, ];




$auth.sentCodeTypeApp = [‘length’ => int, ];




$auth.sentCodeTypeCall = [‘length’ => int, ];




$auth.sentCodeTypeEmailCode = [‘apple_signin_allowed’ => Bool, ‘google_signin_allowed’ => Bool, ‘email_pattern’ => string, ‘length’ => int, ‘reset_available_period’ => int, ‘reset_pending_date’ => int, ];




$auth.sentCodeTypeFirebaseSms = [‘nonce’ => bytes, ‘play_integrity_project_id’ => long, ‘play_integrity_nonce’ => bytes, ‘receipt’ => string, ‘push_timeout’ => int, ‘length’ => int, ];




$auth.sentCodeTypeFlashCall = [‘pattern’ => string, ];




$auth.sentCodeTypeFragmentSms = [‘url’ => string, ‘length’ => int, ];




$auth.sentCodeTypeMissedCall = [‘prefix’ => string, ‘length’ => int, ];




$auth.sentCodeTypeSetUpEmailRequired = [‘apple_signin_allowed’ => Bool, ‘google_signin_allowed’ => Bool, ];




$auth.sentCodeTypeSms = [‘length’ => int, ];




$auth.sentCodeTypeSmsPhrase = [‘beginning’ => string, ];




$auth.sentCodeTypeSmsWord = [‘beginning’ => string, ];




$authorization = [‘current’ => Bool, ‘official_app’ => Bool, ‘password_pending’ => Bool, ‘encrypted_requests_disabled’ => Bool, ‘call_requests_disabled’ => Bool, ‘unconfirmed’ => Bool, ‘hash’ => long, ‘device_model’ => string, ‘platform’ => string, ‘system_version’ => string, ‘api_id’ => int, ‘app_name’ => string, ‘app_version’ => string, ‘date_created’ => int, ‘date_active’ => int, ‘ip’ => string, ‘country’ => string, ‘region’ => string, ];




$autoDownloadSettings = [‘disabled’ => Bool, ‘video_preload_large’ => Bool, ‘audio_preload_next’ => Bool, ‘phonecalls_less_data’ => Bool, ‘stories_preload’ => Bool, ‘photo_size_max’ => int, ‘video_size_max’ => long, ‘file_size_max’ => long, ‘video_upload_maxbitrate’ => int, ‘small_queue_active_operations_max’ => int, ‘large_queue_active_operations_max’ => int, ];




$autoSaveException = [‘peer’ => long, ‘settings’ => AutoSaveSettings, ];




$autoSaveSettings = [‘photos’ => Bool, ‘videos’ => Bool, ‘video_max_size’ => long, ];




$availableEffect = [‘premium_required’ => Bool, ‘id’ => long, ‘emoticon’ => string, ‘static_icon_id’ => long, ‘effect_sticker_id’ => long, ‘effect_animation_id’ => long, ];




$availableReaction = [‘inactive’ => Bool, ‘premium’ => Bool, ‘reaction’ => string, ‘title’ => string, ‘static_icon’ => Document, ‘appear_animation’ => Document, ‘select_animation’ => Document, ‘activate_animation’ => Document, ‘effect_animation’ => Document, ‘around_animation’ => Document, ‘center_icon’ => Document, ];




$bankCardOpenUrl = [‘url’ => string, ‘name’ => string, ];




$baseThemeArctic = [];




$baseThemeClassic = [];




$baseThemeDay = [];




$baseThemeNight = [];




$baseThemeTinted = [];




$birthday = [‘day’ => int, ‘month’ => int, ‘year’ => int, ];




$boolFalse = [];




$boolTrue = [];




$boost = [‘gift’ => Bool, ‘giveaway’ => Bool, ‘unclaimed’ => Bool, ‘id’ => string, ‘user_id’ => long, ‘giveaway_msg_id’ => int, ‘date’ => int, ‘expires’ => int, ‘used_gift_slug’ => string, ‘multiplier’ => int, ‘stars’ => long, ];




$botApp = [‘id’ => long, ‘access_hash’ => long, ‘short_name’ => string, ‘title’ => string, ‘description’ => string, ‘photo’ => Photo, ‘document’ => Document, ‘hash’ => long, ];




$botAppNotModified = [];




$botAppSettings = [‘placeholder_path’ => bytes, ‘background_color’ => int, ‘background_dark_color’ => int, ‘header_color’ => int, ‘header_dark_color’ => int, ];




$botBusinessConnection = [‘can_reply’ => Bool, ‘disabled’ => Bool, ‘connection_id’ => string, ‘user_id’ => long, ‘dc_id’ => int, ‘date’ => int, ];




$botCommand = [‘command’ => string, ‘description’ => string, ];




$botCommandScopeChatAdmins = [];




$botCommandScopeChats = [];




$botCommandScopeDefault = [];




$botCommandScopePeer = [‘peer’ => InputPeer, ];




$botCommandScopePeerAdmins = [‘peer’ => InputPeer, ];




$botCommandScopePeerUser = [‘peer’ => InputPeer, ‘user_id’ => InputUser, ];




$botCommandScopeUsers = [];




$botInfo = [‘has_preview_medias’ => Bool, ‘user_id’ => long, ‘description’ => string, ‘description_photo’ => Photo, ‘description_document’ => Document, ‘commands’ => [BotCommand], ‘menu_button’ => BotMenuButton, ‘privacy_policy_url’ => string, ‘app_settings’ => BotAppSettings, ];




$botInlineMediaResult = [‘id’ => string, ‘type’ => string, ‘photo’ => Photo, ‘document’ => Document, ‘title’ => string, ‘description’ => string, ‘send_message’ => BotInlineMessage, ];




$botInlineMessageMediaAuto = [‘invert_media’ => Bool, ‘message’ => string, ‘entities’ => [MessageEntity], ‘reply_markup’ => ReplyMarkup, ];




$botInlineMessageMediaContact = [‘phone_number’ => string, ‘first_name’ => string, ‘last_name’ => string, ‘vcard’ => string, ‘reply_markup’ => ReplyMarkup, ];




$botInlineMessageMediaGeo = [‘geo’ => GeoPoint, ‘heading’ => int, ‘period’ => int, ‘proximity_notification_radius’ => int, ‘reply_markup’ => ReplyMarkup, ];




$botInlineMessageMediaInvoice = [‘shipping_address_requested’ => Bool, ‘test’ => Bool, ‘title’ => string, ‘description’ => string, ‘photo’ => WebDocument, ‘currency’ => string, ‘total_amount’ => long, ‘reply_markup’ => ReplyMarkup, ];




$botInlineMessageMediaVenue = [‘geo’ => GeoPoint, ‘title’ => string, ‘address’ => string, ‘provider’ => string, ‘venue_id’ => string, ‘venue_type’ => string, ‘reply_markup’ => ReplyMarkup, ];




$botInlineMessageMediaWebPage = [‘invert_media’ => Bool, ‘force_large_media’ => Bool, ‘force_small_media’ => Bool, ‘manual’ => Bool, ‘safe’ => Bool, ‘message’ => string, ‘entities’ => [MessageEntity], ‘url’ => string, ‘reply_markup’ => ReplyMarkup, ];




$botInlineMessageText = [‘no_webpage’ => Bool, ‘invert_media’ => Bool, ‘message’ => string, ‘entities’ => [MessageEntity], ‘reply_markup’ => ReplyMarkup, ];




$botInlineResult = [‘id’ => string, ‘type’ => string, ‘title’ => string, ‘description’ => string, ‘url’ => string, ‘thumb’ => WebDocument, ‘content’ => WebDocument, ‘send_message’ => BotInlineMessage, ];




$botMenuButton = [‘text’ => string, ‘url’ => string, ];




$botMenuButtonCommands = [];




$botMenuButtonDefault = [];




$botPreviewMedia = [‘date’ => int, ‘media’ => MessageMedia, ];




$bots.botInfo = [‘name’ => string, ‘about’ => string, ‘description’ => string, ];




$bots.popularAppBots = [‘next_offset’ => string, ‘users’ => [User], ];




$bots.previewInfo = [‘media’ => [BotPreviewMedia], ‘lang_codes’ => [string], ];




$broadcastRevenueBalances = [‘withdrawal_enabled’ => Bool, ‘current_balance’ => long, ‘available_balance’ => long, ‘overall_revenue’ => long, ];




$broadcastRevenueTransactionProceeds = [‘amount’ => long, ‘from_date’ => int, ‘to_date’ => int, ];




$broadcastRevenueTransactionRefund = [‘amount’ => long, ‘date’ => int, ‘provider’ => string, ];




$broadcastRevenueTransactionWithdrawal = [‘pending’ => Bool, ‘failed’ => Bool, ‘amount’ => long, ‘date’ => int, ‘provider’ => string, ‘transaction_date’ => int, ‘transaction_url’ => string, ];




$businessAwayMessage = [‘offline_only’ => Bool, ‘shortcut_id’ => int, ‘schedule’ => BusinessAwayMessageSchedule, ‘recipients’ => BusinessRecipients, ];




$businessAwayMessageScheduleAlways = [];




$businessAwayMessageScheduleCustom = [‘start_date’ => int, ‘end_date’ => int, ];




$businessAwayMessageScheduleOutsideWorkHours = [];




$businessBotRecipients = [‘existing_chats’ => Bool, ‘new_chats’ => Bool, ‘contacts’ => Bool, ‘non_contacts’ => Bool, ‘exclude_selected’ => Bool, ‘users’ => [long], ‘exclude_users’ => [long], ];




$businessChatLink = [‘link’ => string, ‘message’ => string, ‘entities’ => [MessageEntity], ‘title’ => string, ‘views’ => int, ];




$businessGreetingMessage = [‘shortcut_id’ => int, ‘recipients’ => BusinessRecipients, ‘no_activity_days’ => int, ];




$businessIntro = [‘title’ => string, ‘description’ => string, ‘sticker’ => Document, ];




$businessLocation = [‘geo_point’ => GeoPoint, ‘address’ => string, ];




$businessRecipients = [‘existing_chats’ => Bool, ‘new_chats’ => Bool, ‘contacts’ => Bool, ‘non_contacts’ => Bool, ‘exclude_selected’ => Bool, ‘users’ => [long], ];




$businessWeeklyOpen = [‘start_minute’ => int, ‘end_minute’ => int, ];




$businessWorkHours = [‘open_now’ => Bool, ‘timezone_id’ => string, ‘weekly_open’ => [BusinessWeeklyOpen], ];




$cdnConfig = [‘public_keys’ => [CdnPublicKey], ];




$cdnPublicKey = [‘dc_id’ => int, ‘public_key’ => string, ];




$channel = [‘creator’ => Bool, ‘left’ => Bool, ‘broadcast’ => Bool, ‘verified’ => Bool, ‘megagroup’ => Bool, ‘restricted’ => Bool, ‘signatures’ => Bool, ‘min’ => Bool, ‘scam’ => Bool, ‘has_link’ => Bool, ‘has_geo’ => Bool, ‘slowmode_enabled’ => Bool, ‘call_active’ => Bool, ‘call_not_empty’ => Bool, ‘fake’ => Bool, ‘gigagroup’ => Bool, ‘noforwards’ => Bool, ‘join_to_send’ => Bool, ‘join_request’ => Bool, ‘forum’ => Bool, ‘stories_hidden’ => Bool, ‘stories_hidden_min’ => Bool, ‘stories_unavailable’ => Bool, ‘signature_profiles’ => Bool, ‘id’ => long, ‘access_hash’ => long, ‘title’ => string, ‘username’ => string, ‘photo’ => ChatPhoto, ‘date’ => int, ‘restriction_reason’ => [RestrictionReason], ‘admin_rights’ => ChatAdminRights, ‘banned_rights’ => ChatBannedRights, ‘default_banned_rights’ => ChatBannedRights, ‘participants_count’ => int, ‘usernames’ => [Username], ‘stories_max_id’ => int, ‘color’ => PeerColor, ‘profile_color’ => PeerColor, ‘emoji_status’ => EmojiStatus, ‘level’ => int, ‘subscription_until_date’ => int, ];




$channelAdminLogEvent = [‘id’ => long, ‘date’ => int, ‘user_id’ => long, ‘action’ => ChannelAdminLogEventAction, ];




$channelAdminLogEventActionChangeAbout = [‘prev_value’ => string, ‘new_value’ => string, ];




$channelAdminLogEventActionChangeAvailableReactions = [‘prev_value’ => ChatReactions, ‘new_value’ => ChatReactions, ];




$channelAdminLogEventActionChangeEmojiStatus = [‘prev_value’ => EmojiStatus, ‘new_value’ => EmojiStatus, ];




$channelAdminLogEventActionChangeEmojiStickerSet = [‘prev_stickerset’ => InputStickerSet, ‘new_stickerset’ => InputStickerSet, ];




$channelAdminLogEventActionChangeHistoryTTL = [‘prev_value’ => int, ‘new_value’ => int, ];




$channelAdminLogEventActionChangeLinkedChat = [‘prev_value’ => long, ‘new_value’ => long, ];




$channelAdminLogEventActionChangeLocation = [‘prev_value’ => ChannelLocation, ‘new_value’ => ChannelLocation, ];




$channelAdminLogEventActionChangePeerColor = [‘prev_value’ => PeerColor, ‘new_value’ => PeerColor, ];




$channelAdminLogEventActionChangePhoto = [‘prev_photo’ => Photo, ‘new_photo’ => Photo, ];




$channelAdminLogEventActionChangeProfilePeerColor = [‘prev_value’ => PeerColor, ‘new_value’ => PeerColor, ];




$channelAdminLogEventActionChangeStickerSet = [‘prev_stickerset’ => InputStickerSet, ‘new_stickerset’ => InputStickerSet, ];




$channelAdminLogEventActionChangeTitle = [‘prev_value’ => string, ‘new_value’ => string, ];




$channelAdminLogEventActionChangeUsername = [‘prev_value’ => string, ‘new_value’ => string, ];




$channelAdminLogEventActionChangeUsernames = [‘prev_value’ => [string], ‘new_value’ => [string], ];




$channelAdminLogEventActionChangeWallpaper = [‘prev_value’ => WallPaper, ‘new_value’ => WallPaper, ];




$channelAdminLogEventActionCreateTopic = [‘topic’ => ForumTopic, ];




$channelAdminLogEventActionDefaultBannedRights = [‘prev_banned_rights’ => ChatBannedRights, ‘new_banned_rights’ => ChatBannedRights, ];




$channelAdminLogEventActionDeleteMessage = [‘message’ => Message, ];




$channelAdminLogEventActionDeleteTopic = [‘topic’ => ForumTopic, ];




$channelAdminLogEventActionDiscardGroupCall = [‘call’ => InputGroupCall, ];




$channelAdminLogEventActionEditMessage = [‘prev_message’ => Message, ‘new_message’ => Message, ];




$channelAdminLogEventActionEditTopic = [‘prev_topic’ => ForumTopic, ‘new_topic’ => ForumTopic, ];




$channelAdminLogEventActionExportedInviteDelete = [‘invite’ => ExportedChatInvite, ];




$channelAdminLogEventActionExportedInviteEdit = [‘prev_invite’ => ExportedChatInvite, ‘new_invite’ => ExportedChatInvite, ];




$channelAdminLogEventActionExportedInviteRevoke = [‘invite’ => ExportedChatInvite, ];




$channelAdminLogEventActionParticipantInvite = [‘participant’ => ChannelParticipant, ];




$channelAdminLogEventActionParticipantJoin = [];




$channelAdminLogEventActionParticipantJoinByInvite = [‘via_chatlist’ => Bool, ‘invite’ => ExportedChatInvite, ];




$channelAdminLogEventActionParticipantJoinByRequest = [‘invite’ => ExportedChatInvite, ‘approved_by’ => long, ];




$channelAdminLogEventActionParticipantLeave = [];




$channelAdminLogEventActionParticipantMute = [‘participant’ => GroupCallParticipant, ];




$channelAdminLogEventActionParticipantSubExtend = [‘prev_participant’ => ChannelParticipant, ‘new_participant’ => ChannelParticipant, ];




$channelAdminLogEventActionParticipantToggleAdmin = [‘prev_participant’ => ChannelParticipant, ‘new_participant’ => ChannelParticipant, ];




$channelAdminLogEventActionParticipantToggleBan = [‘prev_participant’ => ChannelParticipant, ‘new_participant’ => ChannelParticipant, ];




$channelAdminLogEventActionParticipantUnmute = [‘participant’ => GroupCallParticipant, ];




$channelAdminLogEventActionParticipantVolume = [‘participant’ => GroupCallParticipant, ];




$channelAdminLogEventActionPinTopic = [‘prev_topic’ => ForumTopic, ‘new_topic’ => ForumTopic, ];




$channelAdminLogEventActionSendMessage = [‘message’ => Message, ];




$channelAdminLogEventActionStartGroupCall = [‘call’ => InputGroupCall, ];




$channelAdminLogEventActionStopPoll = [‘message’ => Message, ];




$channelAdminLogEventActionToggleAntiSpam = [‘new_value’ => Bool, ];




$channelAdminLogEventActionToggleForum = [‘new_value’ => Bool, ];




$channelAdminLogEventActionToggleGroupCallSetting = [‘join_muted’ => Bool, ];




$channelAdminLogEventActionToggleInvites = [‘new_value’ => Bool, ];




$channelAdminLogEventActionToggleNoForwards = [‘new_value’ => Bool, ];




$channelAdminLogEventActionTogglePreHistoryHidden = [‘new_value’ => Bool, ];




$channelAdminLogEventActionToggleSignatureProfiles = [‘new_value’ => Bool, ];




$channelAdminLogEventActionToggleSignatures = [‘new_value’ => Bool, ];




$channelAdminLogEventActionToggleSlowMode = [‘prev_value’ => int, ‘new_value’ => int, ];




$channelAdminLogEventActionUpdatePinned = [‘message’ => Message, ];




$channelAdminLogEventsFilter = [‘join’ => Bool, ‘leave’ => Bool, ‘invite’ => Bool, ‘ban’ => Bool, ‘unban’ => Bool, ‘kick’ => Bool, ‘unkick’ => Bool, ‘promote’ => Bool, ‘demote’ => Bool, ‘info’ => Bool, ‘settings’ => Bool, ‘pinned’ => Bool, ‘edit’ => Bool, ‘delete’ => Bool, ‘group_call’ => Bool, ‘invites’ => Bool, ‘send’ => Bool, ‘forums’ => Bool, ‘sub_extend’ => Bool, ];




$channelForbidden = [‘broadcast’ => Bool, ‘megagroup’ => Bool, ‘id’ => long, ‘access_hash’ => long, ‘title’ => string, ‘until_date’ => int, ];




$channelFull = [‘can_view_participants’ => Bool, ‘can_set_username’ => Bool, ‘can_set_stickers’ => Bool, ‘hidden_prehistory’ => Bool, ‘can_set_location’ => Bool, ‘has_scheduled’ => Bool, ‘can_view_stats’ => Bool, ‘blocked’ => Bool, ‘can_delete_channel’ => Bool, ‘antispam’ => Bool, ‘participants_hidden’ => Bool, ‘translations_disabled’ => Bool, ‘stories_pinned_available’ => Bool, ‘view_forum_as_messages’ => Bool, ‘restricted_sponsored’ => Bool, ‘can_view_revenue’ => Bool, ‘paid_media_allowed’ => Bool, ‘can_view_stars_revenue’ => Bool, ‘paid_reactions_available’ => Bool, ‘id’ => long, ‘about’ => string, ‘participants_count’ => int, ‘admins_count’ => int, ‘kicked_count’ => int, ‘banned_count’ => int, ‘online_count’ => int, ‘read_inbox_max_id’ => int, ‘read_outbox_max_id’ => int, ‘unread_count’ => int, ‘chat_photo’ => Photo, ‘notify_settings’ => PeerNotifySettings, ‘exported_invite’ => ExportedChatInvite, ‘bot_info’ => [BotInfo], ‘migrated_from_chat_id’ => long, ‘migrated_from_max_id’ => int, ‘pinned_msg_id’ => int, ‘stickerset’ => StickerSet, ‘available_min_id’ => int, ‘folder_id’ => int, ‘linked_chat_id’ => long, ‘location’ => ChannelLocation, ‘slowmode_seconds’ => int, ‘slowmode_next_send_date’ => int, ‘stats_dc’ => int, ‘pts’ => int, ‘call’ => InputGroupCall, ‘ttl_period’ => int, ‘pending_suggestions’ => [string], ‘groupcall_default_join_as’ => Peer, ‘theme_emoticon’ => string, ‘requests_pending’ => int, ‘recent_requesters’ => [long], ‘default_send_as’ => Peer, ‘available_reactions’ => ChatReactions, ‘reactions_limit’ => int, ‘stories’ => PeerStories, ‘wallpaper’ => WallPaper, ‘boosts_applied’ => int, ‘boosts_unrestrict’ => int, ‘emojiset’ => StickerSet, ];




$channelLocation = [‘geo_point’ => GeoPoint, ‘address’ => string, ];




$channelLocationEmpty = [];




$channelMessagesFilter = [‘exclude_new_messages’ => Bool, ‘ranges’ => [MessageRange], ];




$channelMessagesFilterEmpty = [];




$channelParticipant = [‘user_id’ => long, ‘date’ => int, ‘subscription_until_date’ => int, ];




$channelParticipantAdmin = [‘can_edit’ => Bool, ‘self’ => Bool, ‘user_id’ => long, ‘inviter_id’ => long, ‘promoted_by’ => long, ‘date’ => int, ‘admin_rights’ => ChatAdminRights, ‘rank’ => string, ];




$channelParticipantBanned = [‘left’ => Bool, ‘peer’ => long, ‘kicked_by’ => long, ‘date’ => int, ‘banned_rights’ => ChatBannedRights, ];




$channelParticipantCreator = [‘user_id’ => long, ‘admin_rights’ => ChatAdminRights, ‘rank’ => string, ];




$channelParticipantLeft = [‘peer’ => long, ];




$channelParticipantSelf = [‘via_request’ => Bool, ‘user_id’ => long, ‘inviter_id’ => long, ‘date’ => int, ‘subscription_until_date’ => int, ];




$channelParticipantsAdmins = [];




$channelParticipantsBanned = [‘q’ => string, ];




$channelParticipantsBots = [];




$channelParticipantsContacts = [‘q’ => string, ];




$channelParticipantsKicked = [‘q’ => string, ];




$channelParticipantsMentions = [‘q’ => string, ‘top_msg_id’ => int, ];




$channelParticipantsRecent = [];




$channelParticipantsSearch = [‘q’ => string, ];




$channels.adminLogResults = [‘events’ => [ChannelAdminLogEvent], ‘chats’ => [Chat], ‘users’ => [User], ];




$channels.channelParticipant = [‘participant’ => ChannelParticipant, ‘chats’ => [Chat], ‘users’ => [User], ];




$channels.channelParticipants = [‘count’ => int, ‘participants’ => [ChannelParticipant], ‘chats’ => [Chat], ‘users’ => [User], ];




$channels.channelParticipantsNotModified = [];




$channels.sendAsPeers = [‘peers’ => [SendAsPeer], ‘chats’ => [Chat], ‘users’ => [User], ];




$channels.sponsoredMessageReportResultAdsHidden = [];




$channels.sponsoredMessageReportResultChooseOption = [‘title’ => string, ‘options’ => [SponsoredMessageReportOption], ];




$channels.sponsoredMessageReportResultReported = [];




$chat = [‘creator’ => Bool, ‘left’ => Bool, ‘deactivated’ => Bool, ‘call_active’ => Bool, ‘call_not_empty’ => Bool, ‘noforwards’ => Bool, ‘id’ => long, ‘title’ => string, ‘photo’ => ChatPhoto, ‘participants_count’ => int, ‘date’ => int, ‘version’ => int, ‘migrated_to’ => InputChannel, ‘admin_rights’ => ChatAdminRights, ‘default_banned_rights’ => ChatBannedRights, ];




$chatAdminRights = [‘change_info’ => Bool, ‘post_messages’ => Bool, ‘edit_messages’ => Bool, ‘delete_messages’ => Bool, ‘ban_users’ => Bool, ‘invite_users’ => Bool, ‘pin_messages’ => Bool, ‘add_admins’ => Bool, ‘anonymous’ => Bool, ‘manage_call’ => Bool, ‘other’ => Bool, ‘manage_topics’ => Bool, ‘post_stories’ => Bool, ‘edit_stories’ => Bool, ‘delete_stories’ => Bool, ];




$chatAdminWithInvites = [‘admin_id’ => long, ‘invites_count’ => int, ‘revoked_invites_count’ => int, ];




$chatBannedRights = [‘view_messages’ => Bool, ‘send_messages’ => Bool, ‘send_media’ => Bool, ‘send_stickers’ => Bool, ‘send_gifs’ => Bool, ‘send_games’ => Bool, ‘send_inline’ => Bool, ‘embed_links’ => Bool, ‘send_polls’ => Bool, ‘change_info’ => Bool, ‘invite_users’ => Bool, ‘pin_messages’ => Bool, ‘manage_topics’ => Bool, ‘send_photos’ => Bool, ‘send_videos’ => Bool, ‘send_roundvideos’ => Bool, ‘send_audios’ => Bool, ‘send_voices’ => Bool, ‘send_docs’ => Bool, ‘send_plain’ => Bool, ‘until_date’ => int, ];




$chatEmpty = [‘id’ => long, ];




$chatForbidden = [‘id’ => long, ‘title’ => string, ];




$chatFull = [‘can_set_username’ => Bool, ‘has_scheduled’ => Bool, ‘translations_disabled’ => Bool, ‘id’ => long, ‘about’ => string, ‘participants’ => ChatParticipants, ‘chat_photo’ => Photo, ‘notify_settings’ => PeerNotifySettings, ‘exported_invite’ => ExportedChatInvite, ‘bot_info’ => [BotInfo], ‘pinned_msg_id’ => int, ‘folder_id’ => int, ‘call’ => InputGroupCall, ‘ttl_period’ => int, ‘groupcall_default_join_as’ => Peer, ‘theme_emoticon’ => string, ‘requests_pending’ => int, ‘recent_requesters’ => [long], ‘available_reactions’ => ChatReactions, ‘reactions_limit’ => int, ];




$chatInvite = [‘channel’ => Bool, ‘broadcast’ => Bool, ‘public’ => Bool, ‘megagroup’ => Bool, ‘request_needed’ => Bool, ‘verified’ => Bool, ‘scam’ => Bool, ‘fake’ => Bool, ‘can_refulfill_subscription’ => Bool, ‘title’ => string, ‘about’ => string, ‘photo’ => Photo, ‘participants_count’ => int, ‘participants’ => [User], ‘color’ => int, ‘subscription_pricing’ => StarsSubscriptionPricing, ‘subscription_form_id’ => long, ];




$chatInviteAlready = [‘chat’ => Chat, ];




$chatInviteExported = [‘revoked’ => Bool, ‘permanent’ => Bool, ‘request_needed’ => Bool, ‘link’ => string, ‘admin_id’ => long, ‘date’ => int, ‘start_date’ => int, ‘expire_date’ => int, ‘usage_limit’ => int, ‘usage’ => int, ‘requested’ => int, ‘subscription_expired’ => int, ‘title’ => string, ‘subscription_pricing’ => StarsSubscriptionPricing, ];




$chatInviteImporter = [‘requested’ => Bool, ‘via_chatlist’ => Bool, ‘user_id’ => long, ‘date’ => int, ‘about’ => string, ‘approved_by’ => long, ];




$chatInvitePeek = [‘chat’ => Chat, ‘expires’ => int, ];




$chatInvitePublicJoinRequests = [];




$chatOnlines = [‘onlines’ => int, ];




$chatParticipant = [‘user_id’ => long, ‘inviter_id’ => long, ‘date’ => int, ];




$chatParticipantAdmin = [‘user_id’ => long, ‘inviter_id’ => long, ‘date’ => int, ];




$chatParticipantCreator = [‘user_id’ => long, ];




$chatParticipants = [‘chat_id’ => long, ‘participants’ => [ChatParticipant], ‘version’ => int, ];




$chatParticipantsForbidden = [‘chat_id’ => long, ‘self_participant’ => ChatParticipant, ];




$chatPhoto = [‘has_video’ => Bool, ‘photo_id’ => long, ‘stripped_thumb’ => bytes, ‘dc_id’ => int, ];




$chatPhotoEmpty = [];




$chatReactionsAll = [‘allow_custom’ => Bool, ];




$chatReactionsNone = [];




$chatReactionsSome = [‘reactions’ => [Reaction], ];




$chatlists.chatlistInvite = [‘title’ => string, ‘emoticon’ => string, ‘peers’ => [Peer], ‘chats’ => [Chat], ‘users’ => [User], ];




$chatlists.chatlistInviteAlready = [‘filter_id’ => int, ‘missing_peers’ => [Peer], ‘already_peers’ => [Peer], ‘chats’ => [Chat], ‘users’ => [User], ];




$chatlists.chatlistUpdates = [‘missing_peers’ => [Peer], ‘chats’ => [Chat], ‘users’ => [User], ];




$chatlists.exportedChatlistInvite = [‘filter’ => DialogFilter, ‘invite’ => ExportedChatlistInvite, ];




$chatlists.exportedInvites = [‘invites’ => [ExportedChatlistInvite], ‘chats’ => [Chat], ‘users’ => [User], ];




$codeSettings = [‘allow_flashcall’ => Bool, ‘current_number’ => Bool, ‘allow_app_hash’ => Bool, ‘allow_missed_call’ => Bool, ‘allow_firebase’ => Bool, ‘unknown_number’ => Bool, ‘logout_tokens’ => [bytes], ‘token’ => string, ‘app_sandbox’ => Bool, ];




$config = [‘default_p2p_contacts’ => Bool, ‘preload_featured_stickers’ => Bool, ‘revoke_pm_inbox’ => Bool, ‘blocked_mode’ => Bool, ‘force_try_ipv6’ => Bool, ‘date’ => int, ‘expires’ => int, ‘test_mode’ => Bool, ‘this_dc’ => int, ‘dc_options’ => [DcOption], ‘dc_txt_domain_name’ => string, ‘chat_size_max’ => int, ‘megagroup_size_max’ => int, ‘forwarded_count_max’ => int, ‘online_update_period_ms’ => int, ‘offline_blur_timeout_ms’ => int, ‘offline_idle_timeout_ms’ => int, ‘online_cloud_timeout_ms’ => int, ‘notify_cloud_delay_ms’ => int, ‘notify_default_delay_ms’ => int, ‘push_chat_period_ms’ => int, ‘push_chat_limit’ => int, ‘edit_time_limit’ => int, ‘revoke_time_limit’ => int, ‘revoke_pm_time_limit’ => int, ‘rating_e_decay’ => int, ‘stickers_recent_limit’ => int, ‘channels_read_media_period’ => int, ‘tmp_sessions’ => int, ‘call_receive_timeout_ms’ => int, ‘call_ring_timeout_ms’ => int, ‘call_connect_timeout_ms’ => int, ‘call_packet_timeout_ms’ => int, ‘me_url_prefix’ => string, ‘autoupdate_url_prefix’ => string, ‘gif_search_username’ => string, ‘venue_search_username’ => string, ‘img_search_username’ => string, ‘static_maps_provider’ => string, ‘caption_length_max’ => int, ‘message_length_max’ => int, ‘webfile_dc_id’ => int, ‘suggested_lang_code’ => string, ‘lang_pack_version’ => int, ‘base_lang_pack_version’ => int, ‘reactions_default’ => Reaction, ‘autologin_token’ => string, ];




$connectedBot = [‘can_reply’ => Bool, ‘bot_id’ => long, ‘recipients’ => BusinessBotRecipients, ];




$contact = [‘user_id’ => long, ‘mutual’ => Bool, ];




$contactBirthday = [‘contact_id’ => long, ‘birthday’ => Birthday, ];




$contactStatus = [‘user_id’ => long, ‘status’ => UserStatus, ];




$contacts.blocked = [‘blocked’ => [PeerBlocked], ‘chats’ => [Chat], ‘users’ => [User], ];




$contacts.blockedSlice = [‘count’ => int, ‘blocked’ => [PeerBlocked], ‘chats’ => [Chat], ‘users’ => [User], ];




$contacts.contactBirthdays = [‘contacts’ => [ContactBirthday], ‘users’ => [User], ];




$contacts.contacts = [‘contacts’ => [Contact], ‘saved_count’ => int, ‘users’ => [User], ];




$contacts.contactsNotModified = [];




$contacts.found = [‘my_results’ => [Peer], ‘results’ => [Peer], ‘chats’ => [Chat], ‘users’ => [User], ];




$contacts.importedContacts = [‘imported’ => [ImportedContact], ‘popular_invites’ => [PopularContact], ‘retry_contacts’ => [long], ‘users’ => [User], ];




$contacts.resolvedPeer = [‘peer’ => long, ‘chats’ => [Chat], ‘users’ => [User], ];




$contacts.topPeers = [‘categories’ => [TopPeerCategoryPeers], ‘chats’ => [Chat], ‘users’ => [User], ];




$contacts.topPeersDisabled = [];




$contacts.topPeersNotModified = [];




$dataJSON = [‘data’ => string, ];




$dcOption = [‘ipv6’ => Bool, ‘media_only’ => Bool, ‘tcpo_only’ => Bool, ‘cdn’ => Bool, ‘static’ => Bool, ‘this_port_only’ => Bool, ‘id’ => int, ‘ip_address’ => string, ‘port’ => int, ‘secret’ => string, ];




$decryptedMessage_73 = [‘no_webpage’ => Bool, ‘silent’ => Bool, ‘ttl’ => int, ‘message’ => string, ‘media’ => DecryptedMessageMedia, ‘entities’ => [MessageEntity], ‘via_bot_name’ => string, ‘reply_to_random_id’ => long, ‘grouped_id’ => long, ];




$decryptedMessageActionAbortKey_20 = [‘exchange_id’ => long, ];




$decryptedMessageActionAcceptKey_20 = [‘exchange_id’ => long, ‘g_b’ => bytes, ‘key_fingerprint’ => long, ];




$decryptedMessageActionCommitKey_20 = [‘exchange_id’ => long, ‘key_fingerprint’ => long, ];




$decryptedMessageActionDeleteMessages_8 = [‘random_ids’ => [long], ];




$decryptedMessageActionFlushHistory_8 = [];




$decryptedMessageActionNoop_20 = [];




$decryptedMessageActionNotifyLayer_17 = [‘layer’ => int, ];




$decryptedMessageActionReadMessages_8 = [‘random_ids’ => [long], ];




$decryptedMessageActionRequestKey_20 = [‘exchange_id’ => long, ‘g_a’ => bytes, ];




$decryptedMessageActionResend_17 = [‘start_seq_no’ => int, ‘end_seq_no’ => int, ];




$decryptedMessageActionScreenshotMessages_8 = [‘random_ids’ => [long], ];




$decryptedMessageActionSetMessageTTL_8 = [‘ttl_seconds’ => int, ];




$decryptedMessageActionTyping_17 = [‘action’ => SendMessageAction, ];




$decryptedMessageLayer_17 = [‘layer’ => int, ‘in_seq_no’ => int, ‘out_seq_no’ => int, ‘message’ => DecryptedMessage, ];




$decryptedMessageMediaAudio_17 = [‘duration’ => int, ‘mime_type’ => string, ‘size’ => int, ‘key’ => bytes, ‘iv’ => bytes, ];




$decryptedMessageMediaContact_8 = [‘phone_number’ => string, ‘first_name’ => string, ‘last_name’ => string, ‘user_id’ => int, ];




$decryptedMessageMediaDocument_143 = [‘thumb’ => bytes, ‘thumb_w’ => int, ‘thumb_h’ => int, ‘mime_type’ => string, ‘size’ => long, ‘key’ => bytes, ‘iv’ => bytes, ‘attributes’ => [DocumentAttribute], ‘caption’ => string, ];




$decryptedMessageMediaEmpty_8 = [];




$decryptedMessageMediaExternalDocument_23 = [‘id’ => long, ‘access_hash’ => long, ‘date’ => int, ‘mime_type’ => string, ‘size’ => int, ‘thumb’ => PhotoSize, ‘dc_id’ => int, ‘attributes’ => [DocumentAttribute], ];




$decryptedMessageMediaGeoPoint_8 = [‘lat’ => double, ‘long’ => double, ];




$decryptedMessageMediaPhoto_45 = [‘thumb’ => bytes, ‘thumb_w’ => int, ‘thumb_h’ => int, ‘w’ => int, ‘h’ => int, ‘size’ => int, ‘key’ => bytes, ‘iv’ => bytes, ‘caption’ => string, ];




$decryptedMessageMediaVenue_45 = [‘lat’ => double, ‘long’ => double, ‘title’ => string, ‘address’ => string, ‘provider’ => string, ‘venue_id’ => string, ];




$decryptedMessageMediaVideo_45 = [‘thumb’ => bytes, ‘thumb_w’ => int, ‘thumb_h’ => int, ‘duration’ => int, ‘mime_type’ => string, ‘w’ => int, ‘h’ => int, ‘size’ => int, ‘key’ => bytes, ‘iv’ => bytes, ‘caption’ => string, ];




$decryptedMessageMediaWebPage_45 = [‘url’ => string, ];




$decryptedMessageService_17 = [‘action’ => DecryptedMessageAction, ];




$defaultHistoryTTL = [‘period’ => int, ];




$dialog = [‘pinned’ => Bool, ‘unread_mark’ => Bool, ‘view_forum_as_messages’ => Bool, ‘peer’ => long, ‘top_message’ => int, ‘read_inbox_max_id’ => int, ‘read_outbox_max_id’ => int, ‘unread_count’ => int, ‘unread_mentions_count’ => int, ‘unread_reactions_count’ => int, ‘notify_settings’ => PeerNotifySettings, ‘pts’ => int, ‘draft’ => DraftMessage, ‘folder_id’ => int, ‘ttl_period’ => int, ];




$dialogFilter = [‘contacts’ => Bool, ‘non_contacts’ => Bool, ‘groups’ => Bool, ‘broadcasts’ => Bool, ‘bots’ => Bool, ‘exclude_muted’ => Bool, ‘exclude_read’ => Bool, ‘exclude_archived’ => Bool, ‘id’ => int, ‘title’ => string, ‘emoticon’ => string, ‘color’ => int, ‘pinned_peers’ => [InputPeer], ‘include_peers’ => [InputPeer], ‘exclude_peers’ => [InputPeer], ];




$dialogFilterChatlist = [‘has_my_invites’ => Bool, ‘id’ => int, ‘title’ => string, ‘emoticon’ => string, ‘color’ => int, ‘pinned_peers’ => [InputPeer], ‘include_peers’ => [InputPeer], ];




$dialogFilterDefault = [];




$dialogFilterSuggested = [‘filter’ => DialogFilter, ‘description’ => string, ];




$dialogFolder = [‘pinned’ => Bool, ‘folder’ => Folder, ‘peer’ => long, ‘top_message’ => int, ‘unread_muted_peers_count’ => int, ‘unread_unmuted_peers_count’ => int, ‘unread_muted_messages_count’ => int, ‘unread_unmuted_messages_count’ => int, ];




$dialogPeer = [‘peer’ => long, ];




$dialogPeerFolder = [‘folder_id’ => int, ];




$document = [‘id’ => long, ‘access_hash’ => long, ‘file_reference’ => bytes, ‘date’ => int, ‘mime_type’ => string, ‘size’ => long, ‘thumbs’ => [PhotoSize], ‘video_thumbs’ => [VideoSize], ‘dc_id’ => int, ‘attributes’ => [DocumentAttribute], ];




$documentAttributeAnimated = [];




$documentAttributeAudio_45 = [‘duration’ => int, ‘title’ => string, ‘performer’ => string, ];




$documentAttributeCustomEmoji = [‘free’ => Bool, ‘text_color’ => Bool, ‘alt’ => string, ‘stickerset’ => InputStickerSet, ];




$documentAttributeFilename = [‘file_name’ => string, ];




$documentAttributeHasStickers = [];




$documentAttributeImageSize = [‘w’ => int, ‘h’ => int, ];




$documentAttributeSticker_45 = [‘alt’ => string, ‘stickerset’ => InputStickerSet, ];




$documentAttributeVideo_66 = [‘round_message’ => Bool, ‘duration’ => int, ‘w’ => int, ‘h’ => int, ];




$documentEmpty = [‘id’ => long, ];




$draftMessage = [‘no_webpage’ => Bool, ‘invert_media’ => Bool, ‘reply_to’ => InputReplyTo, ‘message’ => string, ‘entities’ => [MessageEntity], ‘media’ => InputMedia, ‘date’ => int, ‘effect’ => long, ];




$draftMessageEmpty = [‘date’ => int, ];




$emailVerificationApple = [‘token’ => string, ];




$emailVerificationCode = [‘code’ => string, ];




$emailVerificationGoogle = [‘token’ => string, ];




$emailVerifyPurposeLoginChange = [];




$emailVerifyPurposeLoginSetup = [‘phone_number’ => string, ‘phone_code_hash’ => string, ];




$emailVerifyPurposePassport = [];




$emojiGroup = [‘title’ => string, ‘icon_emoji_id’ => long, ‘emoticons’ => [string], ];




$emojiGroupGreeting = [‘title’ => string, ‘icon_emoji_id’ => long, ‘emoticons’ => [string], ];




$emojiGroupPremium = [‘title’ => string, ‘icon_emoji_id’ => long, ];




$emojiKeyword = [‘keyword’ => string, ‘emoticons’ => [string], ];




$emojiKeywordDeleted = [‘keyword’ => string, ‘emoticons’ => [string], ];




$emojiKeywordsDifference = [‘lang_code’ => string, ‘from_version’ => int, ‘version’ => int, ‘keywords’ => [EmojiKeyword], ];




$emojiLanguage = [‘lang_code’ => string, ];




$emojiList = [‘hash’ => long, ‘document_id’ => [long], ];




$emojiListNotModified = [];




$emojiStatus = [‘document_id’ => long, ];




$emojiStatusEmpty = [];




$emojiStatusUntil = [‘document_id’ => long, ‘until’ => int, ];




$emojiURL = [‘url’ => string, ];




$encryptedChat = [‘id’ => int, ‘access_hash’ => long, ‘date’ => int, ‘admin_id’ => long, ‘participant_id’ => long, ‘g_a_or_b’ => bytes, ‘key_fingerprint’ => long, ];




$encryptedChatDiscarded = [‘history_deleted’ => Bool, ‘id’ => int, ];




$encryptedChatEmpty = [‘id’ => int, ];




$encryptedChatRequested = [‘folder_id’ => int, ‘id’ => int, ‘access_hash’ => long, ‘date’ => int, ‘admin_id’ => long, ‘participant_id’ => long, ‘g_a’ => bytes, ];




$encryptedChatWaiting = [‘id’ => int, ‘access_hash’ => long, ‘date’ => int, ‘admin_id’ => long, ‘participant_id’ => long, ];




$encryptedFile = [‘id’ => long, ‘access_hash’ => long, ‘size’ => long, ‘dc_id’ => int, ‘key_fingerprint’ => int, ];




$encryptedFileEmpty = [];




$encryptedMessage = [‘chat_id’ => int, ‘date’ => int, ‘decrypted_message’ => DecryptedMessage, ‘file’ => EncryptedFile, ];




$encryptedMessageService = [‘chat_id’ => int, ‘date’ => int, ‘decrypted_message’ => DecryptedMessage, ];




$error = [‘code’ => int, ‘text’ => string, ];




$exportedChatlistInvite = [‘title’ => string, ‘url’ => string, ‘peers’ => [Peer], ];




$exportedContactToken = [‘url’ => string, ‘expires’ => int, ];




$exportedMessageLink = [‘link’ => string, ‘html’ => string, ];




$exportedStoryLink = [‘link’ => string, ];




$factCheck = [‘need_check’ => Bool, ‘country’ => string, ‘text’ => TextWithEntities, ‘hash’ => long, ];




$fileHash = [‘offset’ => long, ‘limit’ => int, ‘hash’ => bytes, ];




$fileLocation_23 = [‘dc_id’ => int, ‘volume_id’ => long, ‘local_id’ => int, ‘secret’ => long, ];




$fileLocationUnavailable_23 = [‘volume_id’ => long, ‘local_id’ => int, ‘secret’ => long, ];




$folder = [‘autofill_new_broadcasts’ => Bool, ‘autofill_public_groups’ => Bool, ‘autofill_new_correspondents’ => Bool, ‘id’ => int, ‘title’ => string, ‘photo’ => ChatPhoto, ];




$folderPeer = [‘peer’ => long, ‘folder_id’ => int, ];




$forumTopic = [‘my’ => Bool, ‘closed’ => Bool, ‘pinned’ => Bool, ‘short’ => Bool, ‘hidden’ => Bool, ‘id’ => int, ‘date’ => int, ‘title’ => string, ‘icon_color’ => int, ‘icon_emoji_id’ => long, ‘top_message’ => int, ‘read_inbox_max_id’ => int, ‘read_outbox_max_id’ => int, ‘unread_count’ => int, ‘unread_mentions_count’ => int, ‘unread_reactions_count’ => int, ‘from_id’ => Peer, ‘notify_settings’ => PeerNotifySettings, ‘draft’ => DraftMessage, ];




$forumTopicDeleted = [‘id’ => int, ];




$foundStory = [‘peer’ => long, ‘story’ => StoryItem, ];




$fragment.collectibleInfo = [‘purchase_date’ => int, ‘currency’ => string, ‘amount’ => long, ‘crypto_currency’ => string, ‘crypto_amount’ => long, ‘url’ => string, ];




$game = [‘id’ => long, ‘access_hash’ => long, ‘short_name’ => string, ‘title’ => string, ‘description’ => string, ‘photo’ => Photo, ‘document’ => Document, ];




$geoPoint = [‘long’ => double, ‘lat’ => double, ‘access_hash’ => long, ‘accuracy_radius’ => int, ];




$geoPointAddress = [‘country_iso2’ => string, ‘state’ => string, ‘city’ => string, ‘street’ => string, ];




$geoPointEmpty = [];




$globalPrivacySettings = [‘archive_and_mute_new_noncontact_peers’ => Bool, ‘keep_archived_unmuted’ => Bool, ‘keep_archived_folders’ => Bool, ‘hide_read_marks’ => Bool, ‘new_noncontact_peers_require_premium’ => Bool, ];




$groupCall = [‘join_muted’ => Bool, ‘can_change_join_muted’ => Bool, ‘join_date_asc’ => Bool, ‘schedule_start_subscribed’ => Bool, ‘can_start_video’ => Bool, ‘record_video_active’ => Bool, ‘rtmp_stream’ => Bool, ‘listeners_hidden’ => Bool, ‘id’ => long, ‘access_hash’ => long, ‘participants_count’ => int, ‘title’ => string, ‘stream_dc_id’ => int, ‘record_start_date’ => int, ‘schedule_date’ => int, ‘unmuted_video_count’ => int, ‘unmuted_video_limit’ => int, ‘version’ => int, ];




$groupCallDiscarded = [‘id’ => long, ‘access_hash’ => long, ‘duration’ => int, ];




$groupCallParticipant = [‘muted’ => Bool, ‘left’ => Bool, ‘can_self_unmute’ => Bool, ‘just_joined’ => Bool, ‘versioned’ => Bool, ‘min’ => Bool, ‘muted_by_you’ => Bool, ‘volume_by_admin’ => Bool, ‘self’ => Bool, ‘video_joined’ => Bool, ‘peer’ => long, ‘date’ => int, ‘active_date’ => int, ‘source’ => int, ‘volume’ => int, ‘about’ => string, ‘raise_hand_rating’ => long, ‘video’ => GroupCallParticipantVideo, ‘presentation’ => GroupCallParticipantVideo, ];




$groupCallParticipantVideo = [‘paused’ => Bool, ‘endpoint’ => string, ‘source_groups’ => [GroupCallParticipantVideoSourceGroup], ‘audio_source’ => int, ];




$groupCallParticipantVideoSourceGroup = [‘semantics’ => string, ‘sources’ => [int], ];




$groupCallStreamChannel = [‘channel’ => int, ‘scale’ => int, ‘last_timestamp_ms’ => long, ];




$help.appConfig = [‘hash’ => int, ‘config’ => JSONValue, ];




$help.appConfigNotModified = [];




$help.appUpdate = [‘can_not_skip’ => Bool, ‘id’ => int, ‘version’ => string, ‘text’ => string, ‘entities’ => [MessageEntity], ‘document’ => Document, ‘url’ => string, ‘sticker’ => Document, ];




$help.countriesList = [‘countries’ => [help.Country], ‘hash’ => int, ];




$help.countriesListNotModified = [];




$help.country = [‘hidden’ => Bool, ‘iso2’ => string, ‘default_name’ => string, ‘name’ => string, ‘country_codes’ => [help.CountryCode], ];




$help.countryCode = [‘country_code’ => string, ‘prefixes’ => [string], ‘patterns’ => [string], ];




$help.deepLinkInfo = [‘update_app’ => Bool, ‘message’ => string, ‘entities’ => [MessageEntity], ];




$help.deepLinkInfoEmpty = [];




$help.inviteText = [‘message’ => string, ];




$help.noAppUpdate = [];




$help.passportConfig = [‘hash’ => int, ‘countries_langs’ => DataJSON, ];




$help.passportConfigNotModified = [];




$help.peerColorOption = [‘hidden’ => Bool, ‘color_id’ => int, ‘colors’ => help.PeerColorSet, ‘dark_colors’ => help.PeerColorSet, ‘channel_min_level’ => int, ‘group_min_level’ => int, ];




$help.peerColorProfileSet = [‘palette_colors’ => [int], ‘bg_colors’ => [int], ‘story_colors’ => [int], ];




$help.peerColorSet = [‘colors’ => [int], ];




$help.peerColors = [‘hash’ => int, ‘colors’ => [help.PeerColorOption], ];




$help.peerColorsNotModified = [];




$help.premiumPromo = [‘status_text’ => string, ‘status_entities’ => [MessageEntity], ‘video_sections’ => [string], ‘videos’ => [Document], ‘period_options’ => [PremiumSubscriptionOption], ‘users’ => [User], ];




$help.promoData = [‘proxy’ => Bool, ‘expires’ => int, ‘peer’ => long, ‘chats’ => [Chat], ‘users’ => [User], ‘psa_type’ => string, ‘psa_message’ => string, ];




$help.promoDataEmpty = [‘expires’ => int, ];




$help.recentMeUrls = [‘urls’ => [RecentMeUrl], ‘chats’ => [Chat], ‘users’ => [User], ];




$help.support = [‘phone_number’ => string, ‘user’ => User, ];




$help.supportName = [‘name’ => string, ];




$help.termsOfService = [‘popup’ => Bool, ‘id’ => DataJSON, ‘text’ => string, ‘entities’ => [MessageEntity], ‘min_age_confirm’ => int, ];




$help.termsOfServiceUpdate = [‘expires’ => int, ‘terms_of_service’ => help.TermsOfService, ];




$help.termsOfServiceUpdateEmpty = [‘expires’ => int, ];




$help.timezonesList = [‘timezones’ => [Timezone], ‘hash’ => int, ];




$help.timezonesListNotModified = [];




$help.userInfo = [‘message’ => string, ‘entities’ => [MessageEntity], ‘author’ => string, ‘date’ => int, ];




$help.userInfoEmpty = [];




$highScore = [‘pos’ => int, ‘user_id’ => long, ‘score’ => int, ];




$importedContact = [‘user_id’ => long, ‘client_id’ => long, ];




$inlineBotSwitchPM = [‘text’ => string, ‘start_param’ => string, ];




$inlineBotWebView = [‘text’ => string, ‘url’ => string, ];




$inlineQueryPeerTypeBotPM = [];




$inlineQueryPeerTypeBroadcast = [];




$inlineQueryPeerTypeChat = [];




$inlineQueryPeerTypeMegagroup = [];




$inlineQueryPeerTypePM = [];




$inlineQueryPeerTypeSameBotPM = [];




$inputAppEvent = [‘time’ => double, ‘type’ => string, ‘peer’ => long, ‘data’ => JSONValue, ];




$inputBotAppID = [‘id’ => long, ‘access_hash’ => long, ];




$inputBotAppShortName = [‘bot_id’ => InputUser, ‘short_name’ => string, ];




$inputBotInlineMessageGame = [‘reply_markup’ => ReplyMarkup, ];




$inputBotInlineMessageID = [‘dc_id’ => int, ‘id’ => long, ‘access_hash’ => long, ];




$inputBotInlineMessageID64 = [‘dc_id’ => int, ‘owner_id’ => long, ‘id’ => int, ‘access_hash’ => long, ];




$inputBotInlineMessageMediaAuto = [‘invert_media’ => Bool, ‘message’ => string, ‘entities’ => [MessageEntity], ‘reply_markup’ => ReplyMarkup, ];




$inputBotInlineMessageMediaContact = [‘phone_number’ => string, ‘first_name’ => string, ‘last_name’ => string, ‘vcard’ => string, ‘reply_markup’ => ReplyMarkup, ];




$inputBotInlineMessageMediaGeo = [‘geo_point’ => InputGeoPoint, ‘heading’ => int, ‘period’ => int, ‘proximity_notification_radius’ => int, ‘reply_markup’ => ReplyMarkup, ];




$inputBotInlineMessageMediaInvoice = [‘title’ => string, ‘description’ => string, ‘photo’ => InputWebDocument, ‘invoice’ => Invoice, ‘payload’ => bytes, ‘provider’ => string, ‘provider_data’ => DataJSON, ‘reply_markup’ => ReplyMarkup, ];




$inputBotInlineMessageMediaVenue = [‘geo_point’ => InputGeoPoint, ‘title’ => string, ‘address’ => string, ‘provider’ => string, ‘venue_id’ => string, ‘venue_type’ => string, ‘reply_markup’ => ReplyMarkup, ];




$inputBotInlineMessageMediaWebPage = [‘invert_media’ => Bool, ‘force_large_media’ => Bool, ‘force_small_media’ => Bool, ‘optional’ => Bool, ‘message’ => string, ‘entities’ => [MessageEntity], ‘url’ => string, ‘reply_markup’ => ReplyMarkup, ];




$inputBotInlineMessageText = [‘no_webpage’ => Bool, ‘invert_media’ => Bool, ‘message’ => string, ‘entities’ => [MessageEntity], ‘reply_markup’ => ReplyMarkup, ];




$inputBotInlineResult = [‘id’ => string, ‘type’ => string, ‘title’ => string, ‘description’ => string, ‘url’ => string, ‘thumb’ => InputWebDocument, ‘content’ => InputWebDocument, ‘send_message’ => InputBotInlineMessage, ];




$inputBotInlineResultDocument = [‘id’ => string, ‘type’ => string, ‘title’ => string, ‘description’ => string, ‘document’ => InputDocument, ‘send_message’ => InputBotInlineMessage, ];




$inputBotInlineResultGame = [‘id’ => string, ‘short_name’ => string, ‘send_message’ => InputBotInlineMessage, ];




$inputBotInlineResultPhoto = [‘id’ => string, ‘type’ => string, ‘photo’ => InputPhoto, ‘send_message’ => InputBotInlineMessage, ];




$inputBusinessAwayMessage = [‘offline_only’ => Bool, ‘shortcut_id’ => int, ‘schedule’ => BusinessAwayMessageSchedule, ‘recipients’ => InputBusinessRecipients, ];




$inputBusinessBotRecipients = [‘existing_chats’ => Bool, ‘new_chats’ => Bool, ‘contacts’ => Bool, ‘non_contacts’ => Bool, ‘exclude_selected’ => Bool, ‘users’ => [InputUser], ‘exclude_users’ => [InputUser], ];




$inputBusinessChatLink = [‘message’ => string, ‘entities’ => [MessageEntity], ‘title’ => string, ];




$inputBusinessGreetingMessage = [‘shortcut_id’ => int, ‘recipients’ => InputBusinessRecipients, ‘no_activity_days’ => int, ];




$inputBusinessIntro = [‘title’ => string, ‘description’ => string, ‘sticker’ => InputDocument, ];




$inputBusinessRecipients = [‘existing_chats’ => Bool, ‘new_chats’ => Bool, ‘contacts’ => Bool, ‘non_contacts’ => Bool, ‘exclude_selected’ => Bool, ‘users’ => [InputUser], ];




$inputChannel = [‘channel_id’ => long, ‘access_hash’ => long, ];




$inputChannelEmpty = [];




$inputChannelFromMessage = [‘peer’ => InputPeer, ‘msg_id’ => int, ‘channel_id’ => long, ];




$inputChatPhoto = [‘id’ => InputPhoto, ];




$inputChatPhotoEmpty = [];




$inputChatUploadedPhoto = [‘file’ => InputFile, ‘video’ => InputFile, ‘video_start_ts’ => double, ‘video_emoji_markup’ => VideoSize, ];




$inputChatlistDialogFilter = [‘filter_id’ => int, ];




$inputCheckPasswordEmpty = [];




$inputCheckPasswordSRP = [‘srp_id’ => long, ‘A’ => bytes, ‘M1’ => bytes, ];




$inputClientProxy = [‘address’ => string, ‘port’ => int, ];




$inputCollectiblePhone = [‘phone’ => string, ];




$inputCollectibleUsername = [‘username’ => string, ];




$inputDialogPeer = [‘peer’ => InputPeer, ];




$inputDialogPeerFolder = [‘folder_id’ => int, ];




$inputDocument = [‘id’ => long, ‘access_hash’ => long, ‘file_reference’ => bytes, ];




$inputDocumentEmpty = [];




$inputDocumentFileLocation = [‘id’ => long, ‘access_hash’ => long, ‘file_reference’ => bytes, ‘thumb_size’ => string, ];




$inputEncryptedChat = [‘chat_id’ => int, ‘access_hash’ => long, ];




$inputEncryptedFile = [‘id’ => long, ‘access_hash’ => long, ];




$inputEncryptedFileBigUploaded = [‘id’ => long, ‘parts’ => int, ‘key_fingerprint’ => int, ];




$inputEncryptedFileEmpty = [];




$inputEncryptedFileLocation = [‘id’ => long, ‘access_hash’ => long, ];




$inputEncryptedFileUploaded = [‘id’ => long, ‘parts’ => int, ‘md5_checksum’ => string, ‘key_fingerprint’ => int, ];




$inputFile = [‘id’ => long, ‘parts’ => int, ‘name’ => string, ‘md5_checksum’ => string, ];




$inputFileBig = [‘id’ => long, ‘parts’ => int, ‘name’ => string, ];




$inputFileLocation = [‘volume_id’ => long, ‘local_id’ => int, ‘secret’ => long, ‘file_reference’ => bytes, ];




$inputFileStoryDocument = [‘id’ => InputDocument, ];




$inputFolderPeer = [‘peer’ => InputPeer, ‘folder_id’ => int, ];




$inputGameID = [‘id’ => long, ‘access_hash’ => long, ];




$inputGameShortName = [‘bot_id’ => InputUser, ‘short_name’ => string, ];




$inputGeoPoint = [‘lat’ => double, ‘long’ => double, ‘accuracy_radius’ => int, ];




$inputGeoPointEmpty = [];




$inputGroupCall = [‘id’ => long, ‘access_hash’ => long, ];




$inputGroupCallStream = [‘call’ => InputGroupCall, ‘time_ms’ => long, ‘scale’ => int, ‘video_channel’ => int, ‘video_quality’ => int, ];




$inputInvoiceChatInviteSubscription = [‘hash’ => string, ];




$inputInvoiceMessage = [‘peer’ => InputPeer, ‘msg_id’ => int, ];




$inputInvoicePremiumGiftCode = [‘purpose’ => InputStorePaymentPurpose, ‘option’ => PremiumGiftCodeOption, ];




$inputInvoiceSlug = [‘slug’ => string, ];




$inputInvoiceStarGift = [‘hide_name’ => Bool, ‘user_id’ => InputUser, ‘gift_id’ => long, ‘message’ => TextWithEntities, ];




$inputInvoiceStars = [‘purpose’ => InputStorePaymentPurpose, ];




$inputKeyboardButtonRequestPeer = [‘name_requested’ => Bool, ‘username_requested’ => Bool, ‘photo_requested’ => Bool, ‘text’ => string, ‘button_id’ => int, ‘peer_type’ => RequestPeerType, ‘max_quantity’ => int, ];




$inputKeyboardButtonUrlAuth = [‘request_write_access’ => Bool, ‘text’ => string, ‘fwd_text’ => string, ‘url’ => string, ‘bot’ => InputUser, ];




$inputKeyboardButtonUserProfile = [‘text’ => string, ‘user_id’ => InputUser, ];




$inputMediaAreaChannelPost = [‘coordinates’ => MediaAreaCoordinates, ‘channel’ => InputChannel, ‘msg_id’ => int, ];




$inputMediaAreaVenue = [‘coordinates’ => MediaAreaCoordinates, ‘query_id’ => long, ‘result_id’ => string, ];




$inputMediaContact = [‘phone_number’ => string, ‘first_name’ => string, ‘last_name’ => string, ‘vcard’ => string, ];




$inputMediaDice = [‘emoticon’ => string, ];




$inputMediaDocument = [‘spoiler’ => Bool, ‘id’ => InputDocument, ‘ttl_seconds’ => int, ‘query’ => string, ];




$inputMediaDocumentExternal = [‘spoiler’ => Bool, ‘url’ => string, ‘ttl_seconds’ => int, ];




$inputMediaEmpty = [];




$inputMediaGame = [‘id’ => InputGame, ];




$inputMediaGeoLive = [‘stopped’ => Bool, ‘geo_point’ => InputGeoPoint, ‘heading’ => int, ‘period’ => int, ‘proximity_notification_radius’ => int, ];




$inputMediaGeoPoint = [‘geo_point’ => InputGeoPoint, ];




$inputMediaInvoice = [‘title’ => string, ‘description’ => string, ‘photo’ => InputWebDocument, ‘invoice’ => Invoice, ‘payload’ => bytes, ‘provider’ => string, ‘provider_data’ => DataJSON, ‘start_param’ => string, ‘extended_media’ => InputMedia, ];




$inputMediaPaidMedia = [‘stars_amount’ => long, ‘extended_media’ => [InputMedia], ‘payload’ => string, ];




$inputMediaPhoto = [‘spoiler’ => Bool, ‘id’ => InputPhoto, ‘ttl_seconds’ => int, ];




$inputMediaPhotoExternal = [‘spoiler’ => Bool, ‘url’ => string, ‘ttl_seconds’ => int, ];




$inputMediaPoll = [‘poll’ => Poll, ‘correct_answers’ => [bytes], ‘solution’ => string, ‘solution_entities’ => [MessageEntity], ];




$inputMediaStory = [‘peer’ => InputPeer, ‘id’ => int, ];




$inputMediaUploadedDocument = [‘nosound_video’ => Bool, ‘force_file’ => Bool, ‘spoiler’ => Bool, ‘file’ => InputFile, ‘thumb’ => InputFile, ‘mime_type’ => string, ‘attributes’ => [DocumentAttribute], ‘stickers’ => [InputDocument], ‘ttl_seconds’ => int, ];




$inputMediaUploadedPhoto = [‘spoiler’ => Bool, ‘file’ => InputFile, ‘stickers’ => [InputDocument], ‘ttl_seconds’ => int, ];




$inputMediaVenue = [‘geo_point’ => InputGeoPoint, ‘title’ => string, ‘address’ => string, ‘provider’ => string, ‘venue_id’ => string, ‘venue_type’ => string, ];




$inputMediaWebPage = [‘force_large_media’ => Bool, ‘force_small_media’ => Bool, ‘optional’ => Bool, ‘url’ => string, ];




$inputMessageCallbackQuery = [‘id’ => int, ‘query_id’ => long, ];




$inputMessageEntityMentionName = [‘offset’ => int, ‘length’ => int, ‘user_id’ => InputUser, ];




$inputMessageID = [‘id’ => int, ];




$inputMessagePinned = [];




$inputMessageReplyTo = [‘id’ => int, ];




$inputMessagesFilterChatPhotos = [];




$inputMessagesFilterContacts = [];




$inputMessagesFilterDocument = [];




$inputMessagesFilterEmpty = [];




$inputMessagesFilterGeo = [];




$inputMessagesFilterGif = [];




$inputMessagesFilterMusic = [];




$inputMessagesFilterMyMentions = [];




$inputMessagesFilterPhoneCalls = [‘missed’ => Bool, ];




$inputMessagesFilterPhotoVideo = [];




$inputMessagesFilterPhotos = [];




$inputMessagesFilterPinned = [];




$inputMessagesFilterRoundVideo = [];




$inputMessagesFilterRoundVoice = [];




$inputMessagesFilterUrl = [];




$inputMessagesFilterVideo = [];




$inputMessagesFilterVoice = [];




$inputNotifyBroadcasts = [];




$inputNotifyChats = [];




$inputNotifyForumTopic = [‘peer’ => InputPeer, ‘top_msg_id’ => int, ];




$inputNotifyPeer = [‘peer’ => InputPeer, ];




$inputNotifyUsers = [];




$inputPaymentCredentials = [‘save’ => Bool, ‘data’ => DataJSON, ];




$inputPaymentCredentialsApplePay = [‘payment_data’ => DataJSON, ];




$inputPaymentCredentialsGooglePay = [‘payment_token’ => DataJSON, ];




$inputPaymentCredentialsSaved = [‘id’ => string, ‘tmp_password’ => bytes, ];




$inputPeerChannel = [‘channel_id’ => long, ‘access_hash’ => long, ];




$inputPeerChannelFromMessage = [‘peer’ => InputPeer, ‘msg_id’ => int, ‘channel_id’ => long, ];




$inputPeerChat = [‘chat_id’ => long, ];




$inputPeerEmpty = [];




$inputPeerNotifySettings = [‘show_previews’ => Bool, ‘silent’ => Bool, ‘mute_until’ => int, ‘sound’ => NotificationSound, ‘stories_muted’ => Bool, ‘stories_hide_sender’ => Bool, ‘stories_sound’ => NotificationSound, ];




$inputPeerPhotoFileLocation = [‘big’ => Bool, ‘peer’ => InputPeer, ‘photo_id’ => long, ];




$inputPeerSelf = [];




$inputPeerUser = [‘user_id’ => long, ‘access_hash’ => long, ];




$inputPeerUserFromMessage = [‘peer’ => InputPeer, ‘msg_id’ => int, ‘user_id’ => long, ];




$inputPhoneCall = [‘id’ => long, ‘access_hash’ => long, ];




$inputPhoneContact = [‘client_id’ => long, ‘phone’ => string, ‘first_name’ => string, ‘last_name’ => string, ];




$inputPhoto = [‘id’ => long, ‘access_hash’ => long, ‘file_reference’ => bytes, ];




$inputPhotoEmpty = [];




$inputPhotoFileLocation = [‘id’ => long, ‘access_hash’ => long, ‘file_reference’ => bytes, ‘thumb_size’ => string, ];




$inputPhotoLegacyFileLocation = [‘id’ => long, ‘access_hash’ => long, ‘file_reference’ => bytes, ‘volume_id’ => long, ‘local_id’ => int, ‘secret’ => long, ];




$inputPrivacyKeyAbout = [];




$inputPrivacyKeyAddedByPhone = [];




$inputPrivacyKeyBirthday = [];




$inputPrivacyKeyChatInvite = [];




$inputPrivacyKeyForwards = [];




$inputPrivacyKeyPhoneCall = [];




$inputPrivacyKeyPhoneNumber = [];




$inputPrivacyKeyPhoneP2P = [];




$inputPrivacyKeyProfilePhoto = [];




$inputPrivacyKeyStarGiftsAutoSave = [];




$inputPrivacyKeyStatusTimestamp = [];




$inputPrivacyKeyVoiceMessages = [];




$inputPrivacyValueAllowAll = [];




$inputPrivacyValueAllowBots = [];




$inputPrivacyValueAllowChatParticipants = [‘chats’ => [long], ];




$inputPrivacyValueAllowCloseFriends = [];




$inputPrivacyValueAllowContacts = [];




$inputPrivacyValueAllowPremium = [];




$inputPrivacyValueAllowUsers = [‘users’ => [InputUser], ];




$inputPrivacyValueDisallowAll = [];




$inputPrivacyValueDisallowBots = [];




$inputPrivacyValueDisallowChatParticipants = [‘chats’ => [long], ];




$inputPrivacyValueDisallowContacts = [];




$inputPrivacyValueDisallowUsers = [‘users’ => [InputUser], ];




$inputQuickReplyShortcut = [‘shortcut’ => string, ];




$inputQuickReplyShortcutId = [‘shortcut_id’ => int, ];




$inputReplyToMessage = [‘reply_to_msg_id’ => int, ‘top_msg_id’ => int, ‘reply_to_peer_id’ => InputPeer, ‘quote_text’ => string, ‘quote_entities’ => [MessageEntity], ‘quote_offset’ => int, ];




$inputReplyToStory = [‘peer’ => InputPeer, ‘story_id’ => int, ];




$inputReportReasonChildAbuse = [];




$inputReportReasonCopyright = [];




$inputReportReasonFake = [];




$inputReportReasonGeoIrrelevant = [];




$inputReportReasonIllegalDrugs = [];




$inputReportReasonOther = [];




$inputReportReasonPersonalDetails = [];




$inputReportReasonPornography = [];




$inputReportReasonSpam = [];




$inputReportReasonViolence = [];




$inputSecureFile = [‘id’ => long, ‘access_hash’ => long, ];




$inputSecureFileLocation = [‘id’ => long, ‘access_hash’ => long, ];




$inputSecureFileUploaded = [‘id’ => long, ‘parts’ => int, ‘md5_checksum’ => string, ‘file_hash’ => bytes, ‘secret’ => bytes, ];




$inputSecureValue = [‘type’ => SecureValueType, ‘data’ => SecureData, ‘front_side’ => InputSecureFile, ‘reverse_side’ => InputSecureFile, ‘selfie’ => InputSecureFile, ‘translation’ => [InputSecureFile], ‘files’ => [InputSecureFile], ‘plain_data’ => SecurePlainData, ];




$inputSingleMedia = [‘media’ => InputMedia, ‘message’ => string, ‘entities’ => [MessageEntity], ];




$inputStarsTransaction = [‘refund’ => Bool, ‘id’ => string, ];




$inputStickerSetAnimatedEmoji = [];




$inputStickerSetAnimatedEmojiAnimations = [];




$inputStickerSetDice = [‘emoticon’ => string, ];




$inputStickerSetEmojiChannelDefaultStatuses = [];




$inputStickerSetEmojiDefaultStatuses = [];




$inputStickerSetEmojiDefaultTopicIcons = [];




$inputStickerSetEmojiGenericAnimations = [];




$inputStickerSetEmpty = [];




$inputStickerSetID = [‘id’ => long, ‘access_hash’ => long, ];




$inputStickerSetItem = [‘document’ => InputDocument, ‘emoji’ => string, ‘mask_coords’ => MaskCoords, ‘keywords’ => string, ];




$inputStickerSetPremiumGifts = [];




$inputStickerSetShortName = [‘short_name’ => string, ];




$inputStickerSetThumb = [‘stickerset’ => InputStickerSet, ‘thumb_version’ => int, ];




$inputStickeredMediaDocument = [‘id’ => InputDocument, ];




$inputStickeredMediaPhoto = [‘id’ => InputPhoto, ];




$inputStorePaymentGiftPremium = [‘user_id’ => InputUser, ‘currency’ => string, ‘amount’ => long, ];




$inputStorePaymentPremiumGiftCode = [‘users’ => [InputUser], ‘boost_peer’ => InputPeer, ‘currency’ => string, ‘amount’ => long, ‘message’ => TextWithEntities, ];




$inputStorePaymentPremiumGiveaway = [‘only_new_subscribers’ => Bool, ‘winners_are_visible’ => Bool, ‘boost_peer’ => InputPeer, ‘additional_peers’ => [InputPeer], ‘countries_iso2’ => [string], ‘prize_description’ => string, ‘until_date’ => int, ‘currency’ => string, ‘amount’ => long, ];




$inputStorePaymentPremiumSubscription = [‘restore’ => Bool, ‘upgrade’ => Bool, ];




$inputStorePaymentStarsGift = [‘user_id’ => InputUser, ‘stars’ => long, ‘currency’ => string, ‘amount’ => long, ];




$inputStorePaymentStarsGiveaway = [‘only_new_subscribers’ => Bool, ‘winners_are_visible’ => Bool, ‘stars’ => long, ‘boost_peer’ => InputPeer, ‘additional_peers’ => [InputPeer], ‘countries_iso2’ => [string], ‘prize_description’ => string, ‘until_date’ => int, ‘currency’ => string, ‘amount’ => long, ‘users’ => int, ];




$inputStorePaymentStarsTopup = [‘stars’ => long, ‘currency’ => string, ‘amount’ => long, ];




$inputTakeoutFileLocation = [];




$inputTheme = [‘id’ => long, ‘access_hash’ => long, ];




$inputThemeSettings = [‘message_colors_animated’ => Bool, ‘base_theme’ => BaseTheme, ‘accent_color’ => int, ‘outbox_accent_color’ => int, ‘message_colors’ => [int], ‘wallpaper’ => InputWallPaper, ‘wallpaper_settings’ => WallPaperSettings, ];




$inputThemeSlug = [‘slug’ => string, ];




$inputUser = [‘user_id’ => long, ‘access_hash’ => long, ];




$inputUserEmpty = [];




$inputUserFromMessage = [‘peer’ => InputPeer, ‘msg_id’ => int, ‘user_id’ => long, ];




$inputUserSelf = [];




$inputWallPaper = [‘id’ => long, ‘access_hash’ => long, ];




$inputWallPaperNoFile = [‘id’ => long, ];




$inputWallPaperSlug = [‘slug’ => string, ];




$inputWebDocument = [‘url’ => string, ‘size’ => int, ‘mime_type’ => string, ‘attributes’ => [DocumentAttribute], ];




$inputWebFileAudioAlbumThumbLocation = [‘small’ => Bool, ‘document’ => InputDocument, ‘title’ => string, ‘performer’ => string, ];




$inputWebFileGeoPointLocation = [‘geo_point’ => InputGeoPoint, ‘access_hash’ => long, ‘w’ => int, ‘h’ => int, ‘zoom’ => int, ‘scale’ => int, ];




$inputWebFileLocation = [‘url’ => string, ‘access_hash’ => long, ];




$invoice = [‘test’ => Bool, ‘name_requested’ => Bool, ‘phone_requested’ => Bool, ‘email_requested’ => Bool, ‘shipping_address_requested’ => Bool, ‘flexible’ => Bool, ‘phone_to_provider’ => Bool, ‘email_to_provider’ => Bool, ‘recurring’ => Bool, ‘currency’ => string, ‘prices’ => [LabeledPrice], ‘max_tip_amount’ => long, ‘suggested_tip_amounts’ => [long], ‘terms_url’ => string, ‘subscription_period’ => int, ];




$jsonArray = [‘value’ => [JSONValue], ];




$jsonBool = [‘value’ => Bool, ];




$jsonNull = [];




$jsonNumber = [‘value’ => double, ];




$jsonObject = [‘value’ => [JSONObjectValue], ];




$jsonObjectValue = [‘key’ => string, ‘value’ => JSONValue, ];




$jsonString = [‘value’ => string, ];




$keyboardButton = [‘text’ => string, ];




$keyboardButtonBuy = [‘text’ => string, ];




$keyboardButtonCallback = [‘requires_password’ => Bool, ‘text’ => string, ‘data’ => bytes, ];




$keyboardButtonCopy = [‘text’ => string, ‘copy_text’ => string, ];




$keyboardButtonGame = [‘text’ => string, ];




$keyboardButtonRequestGeoLocation = [‘text’ => string, ];




$keyboardButtonRequestPeer = [‘text’ => string, ‘button_id’ => int, ‘peer_type’ => RequestPeerType, ‘max_quantity’ => int, ];




$keyboardButtonRequestPhone = [‘text’ => string, ];




$keyboardButtonRequestPoll = [‘quiz’ => Bool, ‘text’ => string, ];




$keyboardButtonRow = [‘buttons’ => [KeyboardButton], ];




$keyboardButtonSimpleWebView = [‘text’ => string, ‘url’ => string, ];




$keyboardButtonSwitchInline = [‘same_peer’ => Bool, ‘text’ => string, ‘query’ => string, ‘peer_types’ => [InlineQueryPeerType], ];




$keyboardButtonUrl = [‘text’ => string, ‘url’ => string, ];




$keyboardButtonUrlAuth = [‘text’ => string, ‘fwd_text’ => string, ‘url’ => string, ‘button_id’ => int, ];




$keyboardButtonUserProfile = [‘text’ => string, ‘user_id’ => long, ];




$keyboardButtonWebView = [‘text’ => string, ‘url’ => string, ];




$labeledPrice = [‘label’ => string, ‘amount’ => long, ];




$langPackDifference = [‘lang_code’ => string, ‘from_version’ => int, ‘version’ => int, ‘strings’ => [LangPackString], ];




$langPackLanguage = [‘official’ => Bool, ‘rtl’ => Bool, ‘beta’ => Bool, ‘name’ => string, ‘native_name’ => string, ‘lang_code’ => string, ‘base_lang_code’ => string, ‘plural_code’ => string, ‘strings_count’ => int, ‘translated_count’ => int, ‘translations_url’ => string, ];




$langPackString = [‘key’ => string, ‘value’ => string, ];




$langPackStringDeleted = [‘key’ => string, ];




$langPackStringPluralized = [‘key’ => string, ‘zero_value’ => string, ‘one_value’ => string, ‘two_value’ => string, ‘few_value’ => string, ‘many_value’ => string, ‘other_value’ => string, ];




$maskCoords = [‘n’ => int, ‘x’ => double, ‘y’ => double, ‘zoom’ => double, ];




$mediaAreaChannelPost = [‘coordinates’ => MediaAreaCoordinates, ‘channel_id’ => long, ‘msg_id’ => int, ];




$mediaAreaCoordinates = [‘x’ => double, ‘y’ => double, ‘w’ => double, ‘h’ => double, ‘rotation’ => double, ‘radius’ => double, ];




$mediaAreaGeoPoint = [‘coordinates’ => MediaAreaCoordinates, ‘geo’ => GeoPoint, ‘address’ => GeoPointAddress, ];




$mediaAreaSuggestedReaction = [‘dark’ => Bool, ‘flipped’ => Bool, ‘coordinates’ => MediaAreaCoordinates, ‘reaction’ => Reaction, ];




$mediaAreaUrl = [‘coordinates’ => MediaAreaCoordinates, ‘url’ => string, ];




$mediaAreaVenue = [‘coordinates’ => MediaAreaCoordinates, ‘geo’ => GeoPoint, ‘title’ => string, ‘address’ => string, ‘provider’ => string, ‘venue_id’ => string, ‘venue_type’ => string, ];




$mediaAreaWeather = [‘coordinates’ => MediaAreaCoordinates, ‘emoji’ => string, ‘temperature_c’ => double, ‘color’ => int, ];




$message = [‘out’ => Bool, ‘mentioned’ => Bool, ‘media_unread’ => Bool, ‘silent’ => Bool, ‘post’ => Bool, ‘from_scheduled’ => Bool, ‘legacy’ => Bool, ‘edit_hide’ => Bool, ‘pinned’ => Bool, ‘noforwards’ => Bool, ‘invert_media’ => Bool, ‘offline’ => Bool, ‘video_processing_pending’ => Bool, ‘id’ => int, ‘from_id’ => Peer, ‘from_boosts_applied’ => int, ‘peer_id’ => Peer, ‘saved_peer_id’ => Peer, ‘fwd_from’ => MessageFwdHeader, ‘via_bot_id’ => long, ‘via_business_bot_id’ => long, ‘reply_to’ => MessageReplyHeader, ‘date’ => int, ‘message’ => string, ‘media’ => MessageMedia, ‘reply_markup’ => ReplyMarkup, ‘entities’ => [MessageEntity], ‘views’ => int, ‘forwards’ => int, ‘replies’ => MessageReplies, ‘edit_date’ => int, ‘post_author’ => string, ‘grouped_id’ => long, ‘reactions’ => MessageReactions, ‘restriction_reason’ => [RestrictionReason], ‘ttl_period’ => int, ‘quick_reply_shortcut_id’ => int, ‘effect’ => long, ‘factcheck’ => FactCheck, ];




$messageActionBoostApply = [‘boosts’ => int, ];




$messageActionBotAllowed = [‘attach_menu’ => Bool, ‘from_request’ => Bool, ‘domain’ => string, ‘app’ => BotApp, ];




$messageActionChannelCreate = [‘title’ => string, ];




$messageActionChannelMigrateFrom = [‘title’ => string, ‘chat_id’ => long, ];




$messageActionChatAddUser = [‘users’ => [long], ];




$messageActionChatCreate = [‘title’ => string, ‘users’ => [long], ];




$messageActionChatDeletePhoto = [];




$messageActionChatDeleteUser = [‘user_id’ => long, ];




$messageActionChatEditPhoto = [‘photo’ => Photo, ];




$messageActionChatEditTitle = [‘title’ => string, ];




$messageActionChatJoinedByLink = [‘inviter_id’ => long, ];




$messageActionChatJoinedByRequest = [];




$messageActionChatMigrateTo = [‘channel_id’ => long, ];




$messageActionContactSignUp = [];




$messageActionCustomAction = [‘message’ => string, ];




$messageActionEmpty = [];




$messageActionGameScore = [‘game_id’ => long, ‘score’ => int, ];




$messageActionGeoProximityReached = [‘from_id’ => Peer, ‘to_id’ => Peer, ‘distance’ => int, ];




$messageActionGiftCode = [‘via_giveaway’ => Bool, ‘unclaimed’ => Bool, ‘boost_peer’ => Peer, ‘months’ => int, ‘slug’ => string, ‘currency’ => string, ‘amount’ => long, ‘crypto_currency’ => string, ‘crypto_amount’ => long, ‘message’ => TextWithEntities, ];




$messageActionGiftPremium = [‘currency’ => string, ‘amount’ => long, ‘months’ => int, ‘crypto_currency’ => string, ‘crypto_amount’ => long, ‘message’ => TextWithEntities, ];




$messageActionGiftStars = [‘currency’ => string, ‘amount’ => long, ‘stars’ => long, ‘crypto_currency’ => string, ‘crypto_amount’ => long, ‘transaction_id’ => string, ];




$messageActionGiveawayLaunch = [‘stars’ => long, ];




$messageActionGiveawayResults = [‘stars’ => Bool, ‘winners_count’ => int, ‘unclaimed_count’ => int, ];




$messageActionGroupCall = [‘call’ => InputGroupCall, ‘duration’ => int, ];




$messageActionGroupCallScheduled = [‘call’ => InputGroupCall, ‘schedule_date’ => int, ];




$messageActionHistoryClear = [];




$messageActionInviteToGroupCall = [‘call’ => InputGroupCall, ‘users’ => [long], ];




$messageActionPaymentRefunded = [‘peer’ => long, ‘currency’ => string, ‘total_amount’ => long, ‘payload’ => bytes, ‘charge’ => PaymentCharge, ];




$messageActionPaymentSent = [‘recurring_init’ => Bool, ‘recurring_used’ => Bool, ‘currency’ => string, ‘total_amount’ => long, ‘invoice_slug’ => string, ];




$messageActionPaymentSentMe = [‘recurring_init’ => Bool, ‘recurring_used’ => Bool, ‘currency’ => string, ‘total_amount’ => long, ‘payload’ => bytes, ‘info’ => PaymentRequestedInfo, ‘shipping_option_id’ => string, ‘charge’ => PaymentCharge, ];




$messageActionPhoneCall = [‘video’ => Bool, ‘call_id’ => long, ‘reason’ => PhoneCallDiscardReason, ‘duration’ => int, ];




$messageActionPinMessage = [];




$messageActionPrizeStars = [‘unclaimed’ => Bool, ‘stars’ => long, ‘transaction_id’ => string, ‘boost_peer’ => Peer, ‘giveaway_msg_id’ => int, ];




$messageActionRequestedPeer = [‘button_id’ => int, ‘peers’ => [Peer], ];




$messageActionRequestedPeerSentMe = [‘button_id’ => int, ‘peers’ => [RequestedPeer], ];




$messageActionScreenshotTaken = [];




$messageActionSecureValuesSent = [‘types’ => [SecureValueType], ];




$messageActionSecureValuesSentMe = [‘values’ => [SecureValue], ‘credentials’ => SecureCredentialsEncrypted, ];




$messageActionSetChatTheme = [‘emoticon’ => string, ];




$messageActionSetChatWallPaper = [‘same’ => Bool, ‘for_both’ => Bool, ‘wallpaper’ => WallPaper, ];




$messageActionSetMessagesTTL = [‘period’ => int, ‘auto_setting_from’ => long, ];




$messageActionStarGift = [‘name_hidden’ => Bool, ‘saved’ => Bool, ‘converted’ => Bool, ‘gift’ => StarGift, ‘message’ => TextWithEntities, ‘convert_stars’ => long, ];




$messageActionSuggestProfilePhoto = [‘photo’ => Photo, ];




$messageActionTopicCreate = [‘title’ => string, ‘icon_color’ => int, ‘icon_emoji_id’ => long, ];




$messageActionTopicEdit = [‘title’ => string, ‘icon_emoji_id’ => long, ‘closed’ => Bool, ‘hidden’ => Bool, ];




$messageActionWebViewDataSent = [‘text’ => string, ];




$messageActionWebViewDataSentMe = [‘text’ => string, ‘data’ => string, ];




$messageEmpty = [‘id’ => int, ‘peer_id’ => Peer, ];




$messageEntityBankCard = [‘offset’ => int, ‘length’ => int, ];




$messageEntityBlockquote_101 = [‘offset’ => int, ‘length’ => int, ];




$messageEntityBold = [‘offset’ => int, ‘length’ => int, ];




$messageEntityBotCommand = [‘offset’ => int, ‘length’ => int, ];




$messageEntityCashtag = [‘offset’ => int, ‘length’ => int, ];




$messageEntityCode = [‘offset’ => int, ‘length’ => int, ];




$messageEntityCustomEmoji = [‘offset’ => int, ‘length’ => int, ‘document_id’ => long, ];




$messageEntityEmail = [‘offset’ => int, ‘length’ => int, ];




$messageEntityHashtag = [‘offset’ => int, ‘length’ => int, ];




$messageEntityItalic = [‘offset’ => int, ‘length’ => int, ];




$messageEntityMention = [‘offset’ => int, ‘length’ => int, ];




$messageEntityMentionName = [‘offset’ => int, ‘length’ => int, ‘user_id’ => long, ];




$messageEntityPhone = [‘offset’ => int, ‘length’ => int, ];




$messageEntityPre = [‘offset’ => int, ‘length’ => int, ‘language’ => string, ];




$messageEntitySpoiler = [‘offset’ => int, ‘length’ => int, ];




$messageEntityStrike = [‘offset’ => int, ‘length’ => int, ];




$messageEntityTextUrl = [‘offset’ => int, ‘length’ => int, ‘url’ => string, ];




$messageEntityUnderline = [‘offset’ => int, ‘length’ => int, ];




$messageEntityUnknown = [‘offset’ => int, ‘length’ => int, ];




$messageEntityUrl = [‘offset’ => int, ‘length’ => int, ];




$messageExtendedMedia = [‘media’ => MessageMedia, ];




$messageExtendedMediaPreview = [‘w’ => int, ‘h’ => int, ‘thumb’ => PhotoSize, ‘video_duration’ => int, ];




$messageFwdHeader = [‘imported’ => Bool, ‘saved_out’ => Bool, ‘from_id’ => Peer, ‘from_name’ => string, ‘date’ => int, ‘channel_post’ => int, ‘post_author’ => string, ‘saved_from_peer’ => Peer, ‘saved_from_msg_id’ => int, ‘saved_from_id’ => Peer, ‘saved_from_name’ => string, ‘saved_date’ => int, ‘psa_type’ => string, ];




$messageMediaContact = [‘phone_number’ => string, ‘first_name’ => string, ‘last_name’ => string, ‘vcard’ => string, ‘user_id’ => long, ];




$messageMediaDice = [‘value’ => int, ‘emoticon’ => string, ];




$messageMediaDocument = [‘nopremium’ => Bool, ‘spoiler’ => Bool, ‘video’ => Bool, ‘round’ => Bool, ‘voice’ => Bool, ‘document’ => Document, ‘alt_documents’ => [Document], ‘ttl_seconds’ => int, ];




$messageMediaEmpty = [];




$messageMediaGame = [‘game’ => Game, ];




$messageMediaGeo = [‘geo’ => GeoPoint, ];




$messageMediaGeoLive = [‘geo’ => GeoPoint, ‘heading’ => int, ‘period’ => int, ‘proximity_notification_radius’ => int, ];




$messageMediaGiveaway = [‘only_new_subscribers’ => Bool, ‘winners_are_visible’ => Bool, ‘channels’ => [long], ‘countries_iso2’ => [string], ‘prize_description’ => string, ‘quantity’ => int, ‘months’ => int, ‘stars’ => long, ‘until_date’ => int, ];




$messageMediaGiveawayResults = [‘only_new_subscribers’ => Bool, ‘refunded’ => Bool, ‘channel_id’ => long, ‘additional_peers_count’ => int, ‘launch_msg_id’ => int, ‘winners_count’ => int, ‘unclaimed_count’ => int, ‘winners’ => [long], ‘months’ => int, ‘stars’ => long, ‘prize_description’ => string, ‘until_date’ => int, ];




$messageMediaInvoice = [‘shipping_address_requested’ => Bool, ‘test’ => Bool, ‘title’ => string, ‘description’ => string, ‘photo’ => WebDocument, ‘receipt_msg_id’ => int, ‘currency’ => string, ‘total_amount’ => long, ‘start_param’ => string, ‘extended_media’ => MessageExtendedMedia, ];




$messageMediaPaidMedia = [‘stars_amount’ => long, ‘extended_media’ => [MessageExtendedMedia], ];




$messageMediaPhoto = [‘spoiler’ => Bool, ‘photo’ => Photo, ‘ttl_seconds’ => int, ];




$messageMediaPoll = [‘poll’ => Poll, ‘results’ => PollResults, ];




$messageMediaStory = [‘via_mention’ => Bool, ‘peer’ => long, ‘id’ => int, ‘story’ => StoryItem, ];




$messageMediaUnsupported = [];




$messageMediaVenue = [‘geo’ => GeoPoint, ‘title’ => string, ‘address’ => string, ‘provider’ => string, ‘venue_id’ => string, ‘venue_type’ => string, ];




$messageMediaWebPage = [‘force_large_media’ => Bool, ‘force_small_media’ => Bool, ‘manual’ => Bool, ‘safe’ => Bool, ‘webpage’ => WebPage, ];




$messagePeerReaction = [‘big’ => Bool, ‘unread’ => Bool, ‘my’ => Bool, ‘peer_id’ => Peer, ‘date’ => int, ‘reaction’ => Reaction, ];




$messagePeerVote = [‘peer’ => long, ‘option’ => bytes, ‘date’ => int, ];




$messagePeerVoteInputOption = [‘peer’ => long, ‘date’ => int, ];




$messagePeerVoteMultiple = [‘peer’ => long, ‘options’ => [bytes], ‘date’ => int, ];




$messageRange = [‘min_id’ => int, ‘max_id’ => int, ];




$messageReactions = [‘min’ => Bool, ‘can_see_list’ => Bool, ‘reactions_as_tags’ => Bool, ‘results’ => [ReactionCount], ‘recent_reactions’ => [MessagePeerReaction], ‘top_reactors’ => [MessageReactor], ];




$messageReactor = [‘top’ => Bool, ‘my’ => Bool, ‘anonymous’ => Bool, ‘peer_id’ => Peer, ‘count’ => int, ];




$messageReplies = [‘comments’ => Bool, ‘replies’ => int, ‘replies_pts’ => int, ‘recent_repliers’ => [Peer], ‘channel_id’ => long, ‘max_id’ => int, ‘read_max_id’ => int, ];




$messageReplyHeader = [‘reply_to_scheduled’ => Bool, ‘forum_topic’ => Bool, ‘quote’ => Bool, ‘reply_to_msg_id’ => int, ‘reply_to_peer_id’ => Peer, ‘reply_from’ => MessageFwdHeader, ‘reply_media’ => MessageMedia, ‘reply_to_top_id’ => int, ‘quote_text’ => string, ‘quote_entities’ => [MessageEntity], ‘quote_offset’ => int, ];




$messageReplyStoryHeader = [‘peer’ => long, ‘story_id’ => int, ];




$messageReportOption = [‘text’ => string, ‘option’ => bytes, ];




$messageService = [‘out’ => Bool, ‘mentioned’ => Bool, ‘media_unread’ => Bool, ‘silent’ => Bool, ‘post’ => Bool, ‘legacy’ => Bool, ‘id’ => int, ‘from_id’ => Peer, ‘peer_id’ => Peer, ‘reply_to’ => MessageReplyHeader, ‘date’ => int, ‘action’ => MessageAction, ‘ttl_period’ => int, ];




$messageViews = [‘views’ => int, ‘forwards’ => int, ‘replies’ => MessageReplies, ];




$messages.affectedFoundMessages = [‘pts’ => int, ‘pts_count’ => int, ‘offset’ => int, ‘messages’ => [int], ];




$messages.affectedHistory = [‘pts’ => int, ‘pts_count’ => int, ‘offset’ => int, ];




$messages.affectedMessages = [‘pts’ => int, ‘pts_count’ => int, ];




$messages.allStickers = [‘hash’ => long, ‘sets’ => [StickerSet], ];




$messages.allStickersNotModified = [];




$messages.archivedStickers = [‘count’ => int, ‘sets’ => [StickerSetCovered], ];




$messages.availableEffects = [‘hash’ => int, ‘effects’ => [AvailableEffect], ‘documents’ => [Document], ];




$messages.availableEffectsNotModified = [];




$messages.availableReactions = [‘hash’ => int, ‘reactions’ => [AvailableReaction], ];




$messages.availableReactionsNotModified = [];




$messages.botApp = [‘inactive’ => Bool, ‘request_write_access’ => Bool, ‘has_settings’ => Bool, ‘app’ => BotApp, ];




$messages.botCallbackAnswer = [‘alert’ => Bool, ‘has_url’ => Bool, ‘native_ui’ => Bool, ‘message’ => string, ‘url’ => string, ‘cache_time’ => int, ];




$messages.botPreparedInlineMessage = [‘id’ => string, ‘expire_date’ => int, ];




$messages.botResults = [‘gallery’ => Bool, ‘query_id’ => long, ‘next_offset’ => string, ‘switch_pm’ => InlineBotSwitchPM, ‘switch_webview’ => InlineBotWebView, ‘results’ => [BotInlineResult], ‘cache_time’ => int, ‘users’ => [User], ];




$messages.channelMessages = [‘inexact’ => Bool, ‘pts’ => int, ‘count’ => int, ‘offset_id_offset’ => int, ‘messages’ => [Message], ‘topics’ => [ForumTopic], ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.chatAdminsWithInvites = [‘admins’ => [ChatAdminWithInvites], ‘users’ => [User], ];




$messages.chatFull = [‘full_chat’ => ChatFull, ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.chatInviteImporters = [‘count’ => int, ‘importers’ => [ChatInviteImporter], ‘users’ => [User], ];




$messages.chats = [‘chats’ => [Chat], ];




$messages.chatsSlice = [‘count’ => int, ‘chats’ => [Chat], ];




$messages.checkedHistoryImportPeer = [‘confirm_text’ => string, ];




$messages.dhConfig = [‘g’ => int, ‘p’ => bytes, ‘version’ => int, ‘random’ => bytes, ];




$messages.dhConfigNotModified = [‘random’ => bytes, ];




$messages.dialogFilters = [‘tags_enabled’ => Bool, ‘filters’ => [DialogFilter], ];




$messages.dialogs = [‘dialogs’ => [Dialog], ‘messages’ => [Message], ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.dialogsNotModified = [‘count’ => int, ];




$messages.dialogsSlice = [‘count’ => int, ‘dialogs’ => [Dialog], ‘messages’ => [Message], ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.discussionMessage = [‘messages’ => [Message], ‘max_id’ => int, ‘read_inbox_max_id’ => int, ‘read_outbox_max_id’ => int, ‘unread_count’ => int, ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.emojiGroups = [‘hash’ => int, ‘groups’ => [EmojiGroup], ];




$messages.emojiGroupsNotModified = [];




$messages.exportedChatInvite = [‘invite’ => ExportedChatInvite, ‘users’ => [User], ];




$messages.exportedChatInviteReplaced = [‘invite’ => ExportedChatInvite, ‘new_invite’ => ExportedChatInvite, ‘users’ => [User], ];




$messages.exportedChatInvites = [‘count’ => int, ‘invites’ => [ExportedChatInvite], ‘users’ => [User], ];




$messages.favedStickers = [‘hash’ => long, ‘packs’ => [StickerPack], ‘stickers’ => [Document], ];




$messages.favedStickersNotModified = [];




$messages.featuredStickers = [‘premium’ => Bool, ‘hash’ => long, ‘count’ => int, ‘sets’ => [StickerSetCovered], ‘unread’ => [long], ];




$messages.featuredStickersNotModified = [‘count’ => int, ];




$messages.forumTopics = [‘order_by_create_date’ => Bool, ‘count’ => int, ‘topics’ => [ForumTopic], ‘messages’ => [Message], ‘chats’ => [Chat], ‘users’ => [User], ‘pts’ => int, ];




$messages.foundStickerSets = [‘hash’ => long, ‘sets’ => [StickerSetCovered], ];




$messages.foundStickerSetsNotModified = [];




$messages.highScores = [‘scores’ => [HighScore], ‘users’ => [User], ];




$messages.historyImport = [‘id’ => long, ];




$messages.historyImportParsed = [‘pm’ => Bool, ‘group’ => Bool, ‘title’ => string, ];




$messages.inactiveChats = [‘dates’ => [int], ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.invitedUsers = [‘updates’ => Updates, ‘missing_invitees’ => [MissingInvitee], ];




$messages.messageEditData = [‘caption’ => Bool, ];




$messages.messageReactionsList = [‘count’ => int, ‘reactions’ => [MessagePeerReaction], ‘chats’ => [Chat], ‘users’ => [User], ‘next_offset’ => string, ];




$messages.messageViews = [‘views’ => [MessageViews], ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.messages = [‘messages’ => [Message], ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.messagesNotModified = [‘count’ => int, ];




$messages.messagesSlice = [‘inexact’ => Bool, ‘count’ => int, ‘next_rate’ => int, ‘offset_id_offset’ => int, ‘messages’ => [Message], ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.myStickers = [‘count’ => int, ‘sets’ => [StickerSetCovered], ];




$messages.peerDialogs = [‘dialogs’ => [Dialog], ‘messages’ => [Message], ‘chats’ => [Chat], ‘users’ => [User], ‘state’ => updates.State, ];




$messages.peerSettings = [‘settings’ => PeerSettings, ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.preparedInlineMessage = [‘query_id’ => long, ‘result’ => BotInlineResult, ‘peer_types’ => [InlineQueryPeerType], ‘cache_time’ => int, ‘users’ => [User], ];




$messages.quickReplies = [‘quick_replies’ => [QuickReply], ‘messages’ => [Message], ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.quickRepliesNotModified = [];




$messages.reactions = [‘hash’ => long, ‘reactions’ => [Reaction], ];




$messages.reactionsNotModified = [];




$messages.recentStickers = [‘hash’ => long, ‘packs’ => [StickerPack], ‘stickers’ => [Document], ‘dates’ => [int], ];




$messages.recentStickersNotModified = [];




$messages.savedDialogs = [‘dialogs’ => [SavedDialog], ‘messages’ => [Message], ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.savedDialogsNotModified = [‘count’ => int, ];




$messages.savedDialogsSlice = [‘count’ => int, ‘dialogs’ => [SavedDialog], ‘messages’ => [Message], ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.savedGifs = [‘hash’ => long, ‘gifs’ => [Document], ];




$messages.savedGifsNotModified = [];




$messages.savedReactionTags = [‘tags’ => [SavedReactionTag], ‘hash’ => long, ];




$messages.savedReactionTagsNotModified = [];




$messages.searchCounter = [‘inexact’ => Bool, ‘filter’ => MessagesFilter, ‘count’ => int, ];




$messages.searchResultsCalendar = [‘inexact’ => Bool, ‘count’ => int, ‘min_date’ => int, ‘min_msg_id’ => int, ‘offset_id_offset’ => int, ‘periods’ => [SearchResultsCalendarPeriod], ‘messages’ => [Message], ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.searchResultsPositions = [‘count’ => int, ‘positions’ => [SearchResultsPosition], ];




$messages.sentEncryptedFile = [‘date’ => int, ‘file’ => EncryptedFile, ];




$messages.sentEncryptedMessage = [‘date’ => int, ];




$messages.sponsoredMessages = [‘posts_between’ => int, ‘messages’ => [SponsoredMessage], ‘chats’ => [Chat], ‘users’ => [User], ];




$messages.sponsoredMessagesEmpty = [];




$messages.stickerSet = [‘set’ => StickerSet, ‘packs’ => [StickerPack], ‘keywords’ => [StickerKeyword], ‘documents’ => [Document], ];




$messages.stickerSetInstallResultArchive = [‘sets’ => [StickerSetCovered], ];




$messages.stickerSetInstallResultSuccess = [];




$messages.stickerSetNotModified = [];




$messages.stickers = [‘hash’ => long, ‘stickers’ => [Document], ];




$messages.stickersNotModified = [];




$messages.transcribedAudio = [‘pending’ => Bool, ‘transcription_id’ => long, ‘text’ => string, ‘trial_remains_num’ => int, ‘trial_remains_until_date’ => int, ];




$messages.translateResult = [‘result’ => [TextWithEntities], ];




$messages.votesList = [‘count’ => int, ‘votes’ => [MessagePeerVote], ‘chats’ => [Chat], ‘users’ => [User], ‘next_offset’ => string, ];




$messages.webPage = [‘webpage’ => WebPage, ‘chats’ => [Chat], ‘users’ => [User], ];




$missingInvitee = [‘premium_would_allow_invite’ => Bool, ‘premium_required_for_pm’ => Bool, ‘user_id’ => long, ];




$myBoost = [‘slot’ => int, ‘peer’ => long, ‘date’ => int, ‘expires’ => int, ‘cooldown_until_date’ => int, ];




$nearestDc = [‘country’ => string, ‘this_dc’ => int, ‘nearest_dc’ => int, ];




$notificationSoundDefault = [];




$notificationSoundLocal = [‘title’ => string, ‘data’ => string, ];




$notificationSoundNone = [];




$notificationSoundRingtone = [‘id’ => long, ];




$notifyBroadcasts = [];




$notifyChats = [];




$notifyForumTopic = [‘peer’ => long, ‘top_msg_id’ => int, ];




$notifyPeer = [‘peer’ => long, ];




$notifyUsers = [];




$null = [];




$outboxReadDate = [‘date’ => int, ];




$page = [‘part’ => Bool, ‘rtl’ => Bool, ‘v2’ => Bool, ‘url’ => string, ‘blocks’ => [PageBlock], ‘photos’ => [Photo], ‘documents’ => [Document], ‘views’ => int, ];




$pageBlockAnchor = [‘name’ => string, ];




$pageBlockAudio = [‘audio_id’ => long, ‘caption’ => PageCaption, ];




$pageBlockAuthorDate = [‘author’ => RichText, ‘published_date’ => int, ];




$pageBlockBlockquote = [‘text’ => RichText, ‘caption’ => RichText, ];




$pageBlockChannel = [‘channel’ => Chat, ];




$pageBlockCollage = [‘items’ => [PageBlock], ‘caption’ => PageCaption, ];




$pageBlockCover = [‘cover’ => PageBlock, ];




$pageBlockDetails = [‘open’ => Bool, ‘blocks’ => [PageBlock], ‘title’ => RichText, ];




$pageBlockDivider = [];




$pageBlockEmbed = [‘full_width’ => Bool, ‘allow_scrolling’ => Bool, ‘url’ => string, ‘html’ => string, ‘poster_photo_id’ => long, ‘w’ => int, ‘h’ => int, ‘caption’ => PageCaption, ];




$pageBlockEmbedPost = [‘url’ => string, ‘webpage_id’ => long, ‘author_photo_id’ => long, ‘author’ => string, ‘date’ => int, ‘blocks’ => [PageBlock], ‘caption’ => PageCaption, ];




$pageBlockFooter = [‘text’ => RichText, ];




$pageBlockHeader = [‘text’ => RichText, ];




$pageBlockKicker = [‘text’ => RichText, ];




$pageBlockList = [‘items’ => [PageListItem], ];




$pageBlockMap = [‘geo’ => GeoPoint, ‘zoom’ => int, ‘w’ => int, ‘h’ => int, ‘caption’ => PageCaption, ];




$pageBlockOrderedList = [‘items’ => [PageListOrderedItem], ];




$pageBlockParagraph = [‘text’ => RichText, ];




$pageBlockPhoto = [‘photo_id’ => long, ‘caption’ => PageCaption, ‘url’ => string, ‘webpage_id’ => long, ];




$pageBlockPreformatted = [‘text’ => RichText, ‘language’ => string, ];




$pageBlockPullquote = [‘text’ => RichText, ‘caption’ => RichText, ];




$pageBlockRelatedArticles = [‘title’ => RichText, ‘articles’ => [PageRelatedArticle], ];




$pageBlockSlideshow = [‘items’ => [PageBlock], ‘caption’ => PageCaption, ];




$pageBlockSubheader = [‘text’ => RichText, ];




$pageBlockSubtitle = [‘text’ => RichText, ];




$pageBlockTable = [‘bordered’ => Bool, ‘striped’ => Bool, ‘title’ => RichText, ‘rows’ => [PageTableRow], ];




$pageBlockTitle = [‘text’ => RichText, ];




$pageBlockUnsupported = [];




$pageBlockVideo = [‘autoplay’ => Bool, ‘loop’ => Bool, ‘video_id’ => long, ‘caption’ => PageCaption, ];




$pageCaption = [‘text’ => RichText, ‘credit’ => RichText, ];




$pageListItemBlocks = [‘blocks’ => [PageBlock], ];




$pageListItemText = [‘text’ => RichText, ];




$pageListOrderedItemBlocks = [‘num’ => string, ‘blocks’ => [PageBlock], ];




$pageListOrderedItemText = [‘num’ => string, ‘text’ => RichText, ];




$pageRelatedArticle = [‘url’ => string, ‘webpage_id’ => long, ‘title’ => string, ‘description’ => string, ‘photo_id’ => long, ‘author’ => string, ‘published_date’ => int, ];




$pageTableCell = [‘header’ => Bool, ‘align_center’ => Bool, ‘align_right’ => Bool, ‘valign_middle’ => Bool, ‘valign_bottom’ => Bool, ‘text’ => RichText, ‘colspan’ => int, ‘rowspan’ => int, ];




$pageTableRow = [‘cells’ => [PageTableCell], ];




$passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow = [‘salt1’ => bytes, ‘salt2’ => bytes, ‘g’ => int, ‘p’ => bytes, ];




$passwordKdfAlgoUnknown = [];




$paymentCharge = [‘id’ => string, ‘provider_charge_id’ => string, ];




$paymentFormMethod = [‘url’ => string, ‘title’ => string, ];




$paymentRequestedInfo = [‘name’ => string, ‘phone’ => string, ‘email’ => string, ‘shipping_address’ => PostAddress, ];




$paymentSavedCredentialsCard = [‘id’ => string, ‘title’ => string, ];




$payments.bankCardData = [‘title’ => string, ‘open_urls’ => [BankCardOpenUrl], ];




$payments.checkedGiftCode = [‘via_giveaway’ => Bool, ‘from_id’ => Peer, ‘giveaway_msg_id’ => int, ‘to_id’ => long, ‘date’ => int, ‘months’ => int, ‘used_date’ => int, ‘chats’ => [Chat], ‘users’ => [User], ];




$payments.exportedInvoice = [‘url’ => string, ];




$payments.giveawayInfo = [‘participating’ => Bool, ‘preparing_results’ => Bool, ‘start_date’ => int, ‘joined_too_early_date’ => int, ‘admin_disallowed_chat_id’ => long, ‘disallowed_country’ => string, ];




$payments.giveawayInfoResults = [‘winner’ => Bool, ‘refunded’ => Bool, ‘start_date’ => int, ‘gift_code_slug’ => string, ‘stars_prize’ => long, ‘finish_date’ => int, ‘winners_count’ => int, ‘activated_count’ => int, ];




$payments.paymentForm = [‘can_save_credentials’ => Bool, ‘password_missing’ => Bool, ‘form_id’ => long, ‘bot_id’ => long, ‘title’ => string, ‘description’ => string, ‘photo’ => WebDocument, ‘invoice’ => Invoice, ‘provider_id’ => long, ‘url’ => string, ‘native_provider’ => string, ‘native_params’ => DataJSON, ‘additional_methods’ => [PaymentFormMethod], ‘saved_info’ => PaymentRequestedInfo, ‘saved_credentials’ => [PaymentSavedCredentials], ‘users’ => [User], ];




$payments.paymentFormStarGift = [‘form_id’ => long, ‘invoice’ => Invoice, ];




$payments.paymentFormStars = [‘form_id’ => long, ‘bot_id’ => long, ‘title’ => string, ‘description’ => string, ‘photo’ => WebDocument, ‘invoice’ => Invoice, ‘users’ => [User], ];




$payments.paymentReceipt = [‘date’ => int, ‘bot_id’ => long, ‘provider_id’ => long, ‘title’ => string, ‘description’ => string, ‘photo’ => WebDocument, ‘invoice’ => Invoice, ‘info’ => PaymentRequestedInfo, ‘shipping’ => ShippingOption, ‘tip_amount’ => long, ‘currency’ => string, ‘total_amount’ => long, ‘credentials_title’ => string, ‘users’ => [User], ];




$payments.paymentReceiptStars = [‘date’ => int, ‘bot_id’ => long, ‘title’ => string, ‘description’ => string, ‘photo’ => WebDocument, ‘invoice’ => Invoice, ‘currency’ => string, ‘total_amount’ => long, ‘transaction_id’ => string, ‘users’ => [User], ];




$payments.paymentResult = [‘updates’ => Updates, ];




$payments.paymentVerificationNeeded = [‘url’ => string, ];




$payments.savedInfo = [‘has_saved_credentials’ => Bool, ‘saved_info’ => PaymentRequestedInfo, ];




$payments.starGifts = [‘hash’ => int, ‘gifts’ => [StarGift], ];




$payments.starGiftsNotModified = [];




$payments.starsRevenueAdsAccountUrl = [‘url’ => string, ];




$payments.starsRevenueStats = [‘revenue_graph’ => StatsGraph, ‘status’ => StarsRevenueStatus, ‘usd_rate’ => double, ];




$payments.starsRevenueWithdrawalUrl = [‘url’ => string, ];




$payments.starsStatus = [‘balance’ => long, ‘subscriptions’ => [StarsSubscription], ‘subscriptions_next_offset’ => string, ‘subscriptions_missing_balance’ => long, ‘history’ => [StarsTransaction], ‘next_offset’ => string, ‘chats’ => [Chat], ‘users’ => [User], ];




$payments.userStarGifts = [‘count’ => int, ‘gifts’ => [UserStarGift], ‘next_offset’ => string, ‘users’ => [User], ];




$payments.validatedRequestedInfo = [‘id’ => string, ‘shipping_options’ => [ShippingOption], ];




$peerBlocked = [‘peer_id’ => Peer, ‘date’ => int, ];




$peerChannel = [‘channel_id’ => long, ];




$peerChat = [‘chat_id’ => long, ];




$peerColor = [‘color’ => int, ‘background_emoji_id’ => long, ];




$peerLocated = [‘peer’ => long, ‘expires’ => int, ‘distance’ => int, ];




$peerNotifySettings = [‘show_previews’ => Bool, ‘silent’ => Bool, ‘mute_until’ => int, ‘ios_sound’ => NotificationSound, ‘android_sound’ => NotificationSound, ‘other_sound’ => NotificationSound, ‘stories_muted’ => Bool, ‘stories_hide_sender’ => Bool, ‘stories_ios_sound’ => NotificationSound, ‘stories_android_sound’ => NotificationSound, ‘stories_other_sound’ => NotificationSound, ];




$peerSelfLocated = [‘expires’ => int, ];




$peerSettings = [‘report_spam’ => Bool, ‘add_contact’ => Bool, ‘block_contact’ => Bool, ‘share_contact’ => Bool, ‘need_contacts_exception’ => Bool, ‘report_geo’ => Bool, ‘autoarchived’ => Bool, ‘invite_members’ => Bool, ‘request_chat_broadcast’ => Bool, ‘business_bot_paused’ => Bool, ‘business_bot_can_reply’ => Bool, ‘geo_distance’ => int, ‘request_chat_title’ => string, ‘request_chat_date’ => int, ‘business_bot_id’ => long, ‘business_bot_manage_url’ => string, ];




$peerStories = [‘peer’ => long, ‘max_read_id’ => int, ‘stories’ => [StoryItem], ];




$peerUser = [‘user_id’ => long, ];




$phone.exportedGroupCallInvite = [‘link’ => string, ];




$phone.groupCall = [‘call’ => GroupCall, ‘participants’ => [GroupCallParticipant], ‘participants_next_offset’ => string, ‘chats’ => [Chat], ‘users’ => [User], ];




$phone.groupCallStreamChannels = [‘channels’ => [GroupCallStreamChannel], ];




$phone.groupCallStreamRtmpUrl = [‘url’ => string, ‘key’ => string, ];




$phone.groupParticipants = [‘count’ => int, ‘participants’ => [GroupCallParticipant], ‘next_offset’ => string, ‘chats’ => [Chat], ‘users’ => [User], ‘version’ => int, ];




$phone.joinAsPeers = [‘peers’ => [Peer], ‘chats’ => [Chat], ‘users’ => [User], ];




$phone.phoneCall = [‘phone_call’ => PhoneCall, ‘users’ => [User], ];




$phoneCall = [‘p2p_allowed’ => Bool, ‘video’ => Bool, ‘id’ => long, ‘access_hash’ => long, ‘date’ => int, ‘admin_id’ => long, ‘participant_id’ => long, ‘g_a_or_b’ => bytes, ‘key_fingerprint’ => long, ‘protocol’ => PhoneCallProtocol, ‘connections’ => [PhoneConnection], ‘start_date’ => int, ‘custom_parameters’ => DataJSON, ];




$phoneCallAccepted = [‘video’ => Bool, ‘id’ => long, ‘access_hash’ => long, ‘date’ => int, ‘admin_id’ => long, ‘participant_id’ => long, ‘g_b’ => bytes, ‘protocol’ => PhoneCallProtocol, ];




$phoneCallDiscardReasonBusy = [];




$phoneCallDiscardReasonDisconnect = [];




$phoneCallDiscardReasonHangup = [];




$phoneCallDiscardReasonMissed = [];




$phoneCallDiscarded = [‘need_rating’ => Bool, ‘need_debug’ => Bool, ‘video’ => Bool, ‘id’ => long, ‘reason’ => PhoneCallDiscardReason, ‘duration’ => int, ];




$phoneCallEmpty = [‘id’ => long, ];




$phoneCallProtocol = [‘udp_p2p’ => Bool, ‘udp_reflector’ => Bool, ‘min_layer’ => int, ‘max_layer’ => int, ‘library_versions’ => [string], ];




$phoneCallRequested = [‘video’ => Bool, ‘id’ => long, ‘access_hash’ => long, ‘date’ => int, ‘admin_id’ => long, ‘participant_id’ => long, ‘g_a_hash’ => bytes, ‘protocol’ => PhoneCallProtocol, ];




$phoneCallWaiting = [‘video’ => Bool, ‘id’ => long, ‘access_hash’ => long, ‘date’ => int, ‘admin_id’ => long, ‘participant_id’ => long, ‘protocol’ => PhoneCallProtocol, ‘receive_date’ => int, ];




$phoneConnection = [‘tcp’ => Bool, ‘id’ => long, ‘ip’ => string, ‘ipv6’ => string, ‘port’ => int, ‘peer_tag’ => string, ];




$phoneConnectionWebrtc = [‘turn’ => Bool, ‘stun’ => Bool, ‘id’ => long, ‘ip’ => string, ‘ipv6’ => string, ‘port’ => int, ‘username’ => string, ‘password’ => string, ];




$photo = [‘has_stickers’ => Bool, ‘id’ => long, ‘access_hash’ => long, ‘file_reference’ => bytes, ‘date’ => int, ‘sizes’ => [PhotoSize], ‘video_sizes’ => [VideoSize], ‘dc_id’ => int, ];




$photoCachedSize_23 = [‘type’ => string, ‘location’ => FileLocation, ‘w’ => int, ‘h’ => int, ‘bytes’ => bytes, ];




$photoEmpty = [‘id’ => long, ];




$photoPathSize = [‘type’ => string, ‘bytes’ => bytes, ];




$photoSize_23 = [‘type’ => string, ‘location’ => FileLocation, ‘w’ => int, ‘h’ => int, ‘size’ => int, ];




$photoSizeEmpty = [‘type’ => string, ];




$photoSizeProgressive = [‘type’ => string, ‘w’ => int, ‘h’ => int, ‘sizes’ => [int], ];




$photoStrippedSize = [‘type’ => string, ‘bytes’ => bytes, ];




$photos.photo = [‘photo’ => Photo, ‘users’ => [User], ];




$photos.photos = [‘photos’ => [Photo], ‘users’ => [User], ];




$photos.photosSlice = [‘count’ => int, ‘photos’ => [Photo], ‘users’ => [User], ];




$poll = [‘id’ => long, ‘closed’ => Bool, ‘public_voters’ => Bool, ‘multiple_choice’ => Bool, ‘quiz’ => Bool, ‘question’ => TextWithEntities, ‘answers’ => [PollAnswer], ‘close_period’ => int, ‘close_date’ => int, ];




$pollAnswer = [‘text’ => TextWithEntities, ‘option’ => bytes, ];




$pollAnswerVoters = [‘chosen’ => Bool, ‘correct’ => Bool, ‘option’ => bytes, ‘voters’ => int, ];




$pollResults = [‘min’ => Bool, ‘results’ => [PollAnswerVoters], ‘total_voters’ => int, ‘recent_voters’ => [Peer], ‘solution’ => string, ‘solution_entities’ => [MessageEntity], ];




$popularContact = [‘client_id’ => long, ‘importers’ => int, ];




$postAddress = [‘street_line1’ => string, ‘street_line2’ => string, ‘city’ => string, ‘state’ => string, ‘country_iso2’ => string, ‘post_code’ => string, ];




$postInteractionCountersMessage = [‘msg_id’ => int, ‘views’ => int, ‘forwards’ => int, ‘reactions’ => int, ];




$postInteractionCountersStory = [‘story_id’ => int, ‘views’ => int, ‘forwards’ => int, ‘reactions’ => int, ];




$premium.boostsList = [‘count’ => int, ‘boosts’ => [Boost], ‘next_offset’ => string, ‘users’ => [User], ];




$premium.boostsStatus = [‘my_boost’ => Bool, ‘level’ => int, ‘current_level_boosts’ => int, ‘boosts’ => int, ‘gift_boosts’ => int, ‘next_level_boosts’ => int, ‘premium_audience’ => StatsPercentValue, ‘boost_url’ => string, ‘prepaid_giveaways’ => [PrepaidGiveaway], ‘my_boost_slots’ => [int], ];




$premium.myBoosts = [‘my_boosts’ => [MyBoost], ‘chats’ => [Chat], ‘users’ => [User], ];




$premiumGiftCodeOption = [‘users’ => int, ‘months’ => int, ‘store_product’ => string, ‘store_quantity’ => int, ‘currency’ => string, ‘amount’ => long, ];




$premiumGiftOption = [‘months’ => int, ‘currency’ => string, ‘amount’ => long, ‘bot_url’ => string, ‘store_product’ => string, ];




$premiumSubscriptionOption = [‘current’ => Bool, ‘can_purchase_upgrade’ => Bool, ‘transaction’ => string, ‘months’ => int, ‘currency’ => string, ‘amount’ => long, ‘bot_url’ => string, ‘store_product’ => string, ];




$prepaidGiveaway = [‘id’ => long, ‘months’ => int, ‘quantity’ => int, ‘date’ => int, ];




$prepaidStarsGiveaway = [‘id’ => long, ‘stars’ => long, ‘quantity’ => int, ‘boosts’ => int, ‘date’ => int, ];




$privacyKeyAbout = [];




$privacyKeyAddedByPhone = [];




$privacyKeyBirthday = [];




$privacyKeyChatInvite = [];




$privacyKeyForwards = [];




$privacyKeyPhoneCall = [];




$privacyKeyPhoneNumber = [];




$privacyKeyPhoneP2P = [];




$privacyKeyProfilePhoto = [];




$privacyKeyStarGiftsAutoSave = [];




$privacyKeyStatusTimestamp = [];




$privacyKeyVoiceMessages = [];




$privacyValueAllowAll = [];




$privacyValueAllowBots = [];




$privacyValueAllowChatParticipants = [‘chats’ => [long], ];




$privacyValueAllowCloseFriends = [];




$privacyValueAllowContacts = [];




$privacyValueAllowPremium = [];




$privacyValueAllowUsers = [‘users’ => [long], ];




$privacyValueDisallowAll = [];




$privacyValueDisallowBots = [];




$privacyValueDisallowChatParticipants = [‘chats’ => [long], ];




$privacyValueDisallowContacts = [];




$privacyValueDisallowUsers = [‘users’ => [long], ];




$publicForwardMessage = [‘message’ => Message, ];




$publicForwardStory = [‘peer’ => long, ‘story’ => StoryItem, ];




$quickReply = [‘shortcut_id’ => int, ‘shortcut’ => string, ‘top_message’ => int, ‘count’ => int, ];




$reactionCount = [‘chosen_order’ => int, ‘reaction’ => Reaction, ‘count’ => int, ];




$reactionCustomEmoji = [‘document_id’ => long, ];




$reactionEmoji = [‘emoticon’ => string, ];




$reactionEmpty = [];




$reactionNotificationsFromAll = [];




$reactionNotificationsFromContacts = [];




$reactionPaid = [];




$reactionsNotifySettings = [‘messages_notify_from’ => ReactionNotificationsFrom, ‘stories_notify_from’ => ReactionNotificationsFrom, ‘sound’ => NotificationSound, ‘show_previews’ => Bool, ];




$readParticipantDate = [‘user_id’ => long, ‘date’ => int, ];




$receivedNotifyMessage = [‘id’ => int, ];




$recentMeUrlChat = [‘url’ => string, ‘chat_id’ => long, ];




$recentMeUrlChatInvite = [‘url’ => string, ‘chat_invite’ => ChatInvite, ];




$recentMeUrlStickerSet = [‘url’ => string, ‘set’ => StickerSetCovered, ];




$recentMeUrlUnknown = [‘url’ => string, ];




$recentMeUrlUser = [‘url’ => string, ‘user_id’ => long, ];




$replyInlineMarkup = [‘rows’ => [KeyboardButtonRow], ];




$replyKeyboardForceReply = [‘single_use’ => Bool, ‘selective’ => Bool, ‘placeholder’ => string, ];




$replyKeyboardHide = [‘selective’ => Bool, ];




$replyKeyboardMarkup = [‘resize’ => Bool, ‘single_use’ => Bool, ‘selective’ => Bool, ‘persistent’ => Bool, ‘rows’ => [KeyboardButtonRow], ‘placeholder’ => string, ];




$reportResultAddComment = [‘optional’ => Bool, ‘option’ => bytes, ];




$reportResultChooseOption = [‘title’ => string, ‘options’ => [MessageReportOption], ];




$reportResultReported = [];




$requestPeerTypeBroadcast = [‘creator’ => Bool, ‘has_username’ => Bool, ‘user_admin_rights’ => ChatAdminRights, ‘bot_admin_rights’ => ChatAdminRights, ];




$requestPeerTypeChat = [‘creator’ => Bool, ‘bot_participant’ => Bool, ‘has_username’ => Bool, ‘forum’ => Bool, ‘user_admin_rights’ => ChatAdminRights, ‘bot_admin_rights’ => ChatAdminRights, ];




$requestPeerTypeUser = [‘bot’ => Bool, ‘premium’ => Bool, ];




$requestedPeerChannel = [‘channel_id’ => long, ‘title’ => string, ‘username’ => string, ‘photo’ => Photo, ];




$requestedPeerChat = [‘chat_id’ => long, ‘title’ => string, ‘photo’ => Photo, ];




$requestedPeerUser = [‘user_id’ => long, ‘first_name’ => string, ‘last_name’ => string, ‘username’ => string, ‘photo’ => Photo, ];




$restrictionReason = [‘platform’ => string, ‘reason’ => string, ‘text’ => string, ];




$savedDialog = [‘pinned’ => Bool, ‘peer’ => long, ‘top_message’ => int, ];




$savedPhoneContact = [‘phone’ => string, ‘first_name’ => string, ‘last_name’ => string, ‘date’ => int, ];




$savedReactionTag = [‘reaction’ => Reaction, ‘title’ => string, ‘count’ => int, ];




$searchResultPosition = [‘msg_id’ => int, ‘date’ => int, ‘offset’ => int, ];




$searchResultsCalendarPeriod = [‘date’ => int, ‘min_msg_id’ => int, ‘max_msg_id’ => int, ‘count’ => int, ];




$secureCredentialsEncrypted = [‘data’ => bytes, ‘hash’ => bytes, ‘secret’ => bytes, ];




$secureData = [‘data’ => bytes, ‘data_hash’ => bytes, ‘secret’ => bytes, ];




$secureFile = [‘id’ => long, ‘access_hash’ => long, ‘size’ => long, ‘dc_id’ => int, ‘date’ => int, ‘file_hash’ => bytes, ‘secret’ => bytes, ];




$secureFileEmpty = [];




$securePasswordKdfAlgoPBKDF2HMACSHA512iter100000 = [‘salt’ => bytes, ];




$securePasswordKdfAlgoSHA512 = [‘salt’ => bytes, ];




$securePasswordKdfAlgoUnknown = [];




$securePlainEmail = [‘email’ => string, ];




$securePlainPhone = [‘phone’ => string, ];




$secureRequiredType = [‘native_names’ => Bool, ‘selfie_required’ => Bool, ‘translation_required’ => Bool, ‘type’ => SecureValueType, ];




$secureRequiredTypeOneOf = [‘types’ => [SecureRequiredType], ];




$secureSecretSettings = [‘secure_algo’ => SecurePasswordKdfAlgo, ‘secure_secret’ => bytes, ‘secure_secret_id’ => long, ];




$secureValue = [‘type’ => SecureValueType, ‘data’ => SecureData, ‘front_side’ => SecureFile, ‘reverse_side’ => SecureFile, ‘selfie’ => SecureFile, ‘translation’ => [SecureFile], ‘files’ => [SecureFile], ‘plain_data’ => SecurePlainData, ‘hash’ => bytes, ];




$secureValueError = [‘type’ => SecureValueType, ‘hash’ => bytes, ‘text’ => string, ];




$secureValueErrorData = [‘type’ => SecureValueType, ‘data_hash’ => bytes, ‘field’ => string, ‘text’ => string, ];




$secureValueErrorFile = [‘type’ => SecureValueType, ‘file_hash’ => bytes, ‘text’ => string, ];




$secureValueErrorFiles = [‘type’ => SecureValueType, ‘file_hash’ => [bytes], ‘text’ => string, ];




$secureValueErrorFrontSide = [‘type’ => SecureValueType, ‘file_hash’ => bytes, ‘text’ => string, ];




$secureValueErrorReverseSide = [‘type’ => SecureValueType, ‘file_hash’ => bytes, ‘text’ => string, ];




$secureValueErrorSelfie = [‘type’ => SecureValueType, ‘file_hash’ => bytes, ‘text’ => string, ];




$secureValueErrorTranslationFile = [‘type’ => SecureValueType, ‘file_hash’ => bytes, ‘text’ => string, ];




$secureValueErrorTranslationFiles = [‘type’ => SecureValueType, ‘file_hash’ => [bytes], ‘text’ => string, ];




$secureValueHash = [‘type’ => SecureValueType, ‘hash’ => bytes, ];




$secureValueTypeAddress = [];




$secureValueTypeBankStatement = [];




$secureValueTypeDriverLicense = [];




$secureValueTypeEmail = [];




$secureValueTypeIdentityCard = [];




$secureValueTypeInternalPassport = [];




$secureValueTypePassport = [];




$secureValueTypePassportRegistration = [];




$secureValueTypePersonalDetails = [];




$secureValueTypePhone = [];




$secureValueTypeRentalAgreement = [];




$secureValueTypeTemporaryRegistration = [];




$secureValueTypeUtilityBill = [];




$sendAsPeer = [‘premium_required’ => Bool, ‘peer’ => long, ];




$sendMessageCancelAction = [];




$sendMessageChooseContactAction = [];




$sendMessageChooseStickerAction = [];




$sendMessageEmojiInteraction = [‘emoticon’ => string, ‘msg_id’ => int, ‘interaction’ => DataJSON, ];




$sendMessageEmojiInteractionSeen = [‘emoticon’ => string, ];




$sendMessageGamePlayAction = [];




$sendMessageGeoLocationAction = [];




$sendMessageHistoryImportAction = [‘progress’ => int, ];




$sendMessageRecordAudioAction = [];




$sendMessageRecordRoundAction = [];




$sendMessageRecordVideoAction = [];




$sendMessageTypingAction = [];




$sendMessageUploadAudioAction_17 = [];




$sendMessageUploadDocumentAction_17 = [];




$sendMessageUploadPhotoAction_17 = [];




$sendMessageUploadRoundAction_66 = [];




$sendMessageUploadVideoAction_17 = [];




$shippingOption = [‘id’ => string, ‘title’ => string, ‘prices’ => [LabeledPrice], ];




$smsJob = [‘job_id’ => string, ‘phone_number’ => string, ‘text’ => string, ];




$smsjobs.eligibleToJoin = [‘terms_url’ => string, ‘monthly_sent_sms’ => int, ];




$smsjobs.status = [‘allow_international’ => Bool, ‘recent_sent’ => int, ‘recent_since’ => int, ‘recent_remains’ => int, ‘total_sent’ => int, ‘total_since’ => int, ‘last_gift_slug’ => string, ‘terms_url’ => string, ];




$speakingInGroupCallAction = [];




$sponsoredMessage = [‘recommended’ => Bool, ‘can_report’ => Bool, ‘url’ => string, ‘title’ => string, ‘message’ => string, ‘entities’ => [MessageEntity], ‘photo’ => Photo, ‘media’ => MessageMedia, ‘color’ => PeerColor, ‘button_text’ => string, ‘sponsor_info’ => string, ‘additional_info’ => string, ];




$sponsoredMessageReportOption = [‘text’ => string, ‘option’ => bytes, ];




$starGift = [‘limited’ => Bool, ‘sold_out’ => Bool, ‘birthday’ => Bool, ‘id’ => long, ‘sticker’ => Document, ‘stars’ => long, ‘availability_remains’ => int, ‘availability_total’ => int, ‘convert_stars’ => long, ‘first_sale_date’ => int, ‘last_sale_date’ => int, ];




$starsGiftOption = [‘extended’ => Bool, ‘stars’ => long, ‘store_product’ => string, ‘currency’ => string, ‘amount’ => long, ];




$starsGiveawayOption = [‘extended’ => Bool, ‘default’ => Bool, ‘stars’ => long, ‘yearly_boosts’ => int, ‘store_product’ => string, ‘currency’ => string, ‘amount’ => long, ‘winners’ => [StarsGiveawayWinnersOption], ];




$starsGiveawayWinnersOption = [‘default’ => Bool, ‘users’ => int, ‘per_user_stars’ => long, ];




$starsRevenueStatus = [‘withdrawal_enabled’ => Bool, ‘current_balance’ => long, ‘available_balance’ => long, ‘overall_revenue’ => long, ‘next_withdrawal_at’ => int, ];




$starsSubscription = [‘canceled’ => Bool, ‘can_refulfill’ => Bool, ‘missing_balance’ => Bool, ‘bot_canceled’ => Bool, ‘id’ => string, ‘peer’ => long, ‘until_date’ => int, ‘pricing’ => StarsSubscriptionPricing, ‘chat_invite_hash’ => string, ‘title’ => string, ‘photo’ => WebDocument, ‘invoice_slug’ => string, ];




$starsSubscriptionPricing = [‘period’ => int, ‘amount’ => long, ];




$starsTopupOption = [‘extended’ => Bool, ‘stars’ => long, ‘store_product’ => string, ‘currency’ => string, ‘amount’ => long, ];




$starsTransaction = [‘refund’ => Bool, ‘pending’ => Bool, ‘failed’ => Bool, ‘gift’ => Bool, ‘reaction’ => Bool, ‘id’ => string, ‘stars’ => long, ‘date’ => int, ‘peer’ => StarsTransactionPeer, ‘title’ => string, ‘description’ => string, ‘photo’ => WebDocument, ‘transaction_date’ => int, ‘transaction_url’ => string, ‘bot_payload’ => bytes, ‘msg_id’ => int, ‘extended_media’ => [MessageMedia], ‘subscription_period’ => int, ‘giveaway_post_id’ => int, ‘stargift’ => StarGift, ‘floodskip_number’ => int, ];




$starsTransactionPeer = [‘peer’ => long, ];




$starsTransactionPeerAPI = [];




$starsTransactionPeerAds = [];




$starsTransactionPeerAppStore = [];




$starsTransactionPeerFragment = [];




$starsTransactionPeerPlayMarket = [];




$starsTransactionPeerPremiumBot = [];




$starsTransactionPeerUnsupported = [];




$stats.broadcastRevenueStats = [‘top_hours_graph’ => StatsGraph, ‘revenue_graph’ => StatsGraph, ‘balances’ => BroadcastRevenueBalances, ‘usd_rate’ => double, ];




$stats.broadcastRevenueTransactions = [‘count’ => int, ‘transactions’ => [BroadcastRevenueTransaction], ];




$stats.broadcastRevenueWithdrawalUrl = [‘url’ => string, ];




$stats.broadcastStats = [‘period’ => StatsDateRangeDays, ‘followers’ => StatsAbsValueAndPrev, ‘views_per_post’ => StatsAbsValueAndPrev, ‘shares_per_post’ => StatsAbsValueAndPrev, ‘reactions_per_post’ => StatsAbsValueAndPrev, ‘views_per_story’ => StatsAbsValueAndPrev, ‘shares_per_story’ => StatsAbsValueAndPrev, ‘reactions_per_story’ => StatsAbsValueAndPrev, ‘enabled_notifications’ => StatsPercentValue, ‘growth_graph’ => StatsGraph, ‘followers_graph’ => StatsGraph, ‘mute_graph’ => StatsGraph, ‘top_hours_graph’ => StatsGraph, ‘interactions_graph’ => StatsGraph, ‘iv_interactions_graph’ => StatsGraph, ‘views_by_source_graph’ => StatsGraph, ‘new_followers_by_source_graph’ => StatsGraph, ‘languages_graph’ => StatsGraph, ‘reactions_by_emotion_graph’ => StatsGraph, ‘story_interactions_graph’ => StatsGraph, ‘story_reactions_by_emotion_graph’ => StatsGraph, ‘recent_posts_interactions’ => [PostInteractionCounters], ];




$stats.megagroupStats = [‘period’ => StatsDateRangeDays, ‘members’ => StatsAbsValueAndPrev, ‘messages’ => StatsAbsValueAndPrev, ‘viewers’ => StatsAbsValueAndPrev, ‘posters’ => StatsAbsValueAndPrev, ‘growth_graph’ => StatsGraph, ‘members_graph’ => StatsGraph, ‘new_members_by_source_graph’ => StatsGraph, ‘languages_graph’ => StatsGraph, ‘messages_graph’ => StatsGraph, ‘actions_graph’ => StatsGraph, ‘top_hours_graph’ => StatsGraph, ‘weekdays_graph’ => StatsGraph, ‘top_posters’ => [StatsGroupTopPoster], ‘top_admins’ => [StatsGroupTopAdmin], ‘top_inviters’ => [StatsGroupTopInviter], ‘users’ => [User], ];




$stats.messageStats = [‘views_graph’ => StatsGraph, ‘reactions_by_emotion_graph’ => StatsGraph, ];




$stats.publicForwards = [‘count’ => int, ‘forwards’ => [PublicForward], ‘next_offset’ => string, ‘chats’ => [Chat], ‘users’ => [User], ];




$stats.storyStats = [‘views_graph’ => StatsGraph, ‘reactions_by_emotion_graph’ => StatsGraph, ];




$statsAbsValueAndPrev = [‘current’ => double, ‘previous’ => double, ];




$statsDateRangeDays = [‘min_date’ => int, ‘max_date’ => int, ];




$statsGraph = [‘json’ => DataJSON, ‘zoom_token’ => string, ];




$statsGraphAsync = [‘token’ => string, ];




$statsGraphError = [‘error’ => string, ];




$statsGroupTopAdmin = [‘user_id’ => long, ‘deleted’ => int, ‘kicked’ => int, ‘banned’ => int, ];




$statsGroupTopInviter = [‘user_id’ => long, ‘invitations’ => int, ];




$statsGroupTopPoster = [‘user_id’ => long, ‘messages’ => int, ‘avg_chars’ => int, ];




$statsPercentValue = [‘part’ => double, ‘total’ => double, ];




$statsURL = [‘url’ => string, ];




$stickerKeyword = [‘document_id’ => long, ‘keyword’ => [string], ];




$stickerPack = [‘emoticon’ => string, ‘documents’ => [long], ];




$stickerSet = [‘archived’ => Bool, ‘official’ => Bool, ‘masks’ => Bool, ‘emojis’ => Bool, ‘text_color’ => Bool, ‘channel_emoji_status’ => Bool, ‘creator’ => Bool, ‘installed_date’ => int, ‘id’ => long, ‘access_hash’ => long, ‘title’ => string, ‘short_name’ => string, ‘thumbs’ => [PhotoSize], ‘thumb_dc_id’ => int, ‘thumb_version’ => int, ‘thumb_document_id’ => long, ‘count’ => int, ‘hash’ => int, ];




$stickerSetCovered = [‘set’ => StickerSet, ‘cover’ => Document, ];




$stickerSetFullCovered = [‘set’ => StickerSet, ‘packs’ => [StickerPack], ‘keywords’ => [StickerKeyword], ‘documents’ => [Document], ];




$stickerSetMultiCovered = [‘set’ => StickerSet, ‘covers’ => [Document], ];




$stickerSetNoCovered = [‘set’ => StickerSet, ];




$stickers.suggestedShortName = [‘short_name’ => string, ];




$storage.fileGif = [];




$storage.fileJpeg = [];




$storage.fileMov = [];




$storage.fileMp3 = [];




$storage.fileMp4 = [];




$storage.filePartial = [];




$storage.filePdf = [];




$storage.filePng = [];




$storage.fileUnknown = [];




$storage.fileWebp = [];




$stories.allStories = [‘has_more’ => Bool, ‘count’ => int, ‘state’ => string, ‘peer_stories’ => [PeerStories], ‘chats’ => [Chat], ‘users’ => [User], ‘stealth_mode’ => StoriesStealthMode, ];




$stories.allStoriesNotModified = [‘state’ => string, ‘stealth_mode’ => StoriesStealthMode, ];




$stories.foundStories = [‘count’ => int, ‘stories’ => [FoundStory], ‘next_offset’ => string, ‘chats’ => [Chat], ‘users’ => [User], ];




$stories.peerStories = [‘stories’ => PeerStories, ‘chats’ => [Chat], ‘users’ => [User], ];




$stories.stories = [‘count’ => int, ‘stories’ => [StoryItem], ‘pinned_to_top’ => [int], ‘chats’ => [Chat], ‘users’ => [User], ];




$stories.storyReactionsList = [‘count’ => int, ‘reactions’ => [StoryReaction], ‘chats’ => [Chat], ‘users’ => [User], ‘next_offset’ => string, ];




$stories.storyViews = [‘views’ => [StoryViews], ‘users’ => [User], ];




$stories.storyViewsList = [‘count’ => int, ‘views_count’ => int, ‘forwards_count’ => int, ‘reactions_count’ => int, ‘views’ => [StoryView], ‘chats’ => [Chat], ‘users’ => [User], ‘next_offset’ => string, ];




$storiesStealthMode = [‘active_until_date’ => int, ‘cooldown_until_date’ => int, ];




$storyFwdHeader = [‘modified’ => Bool, ‘from’ => Peer, ‘from_name’ => string, ‘story_id’ => int, ];




$storyItem = [‘pinned’ => Bool, ‘public’ => Bool, ‘close_friends’ => Bool, ‘min’ => Bool, ‘noforwards’ => Bool, ‘edited’ => Bool, ‘contacts’ => Bool, ‘selected_contacts’ => Bool, ‘out’ => Bool, ‘id’ => int, ‘date’ => int, ‘from_id’ => Peer, ‘fwd_from’ => StoryFwdHeader, ‘expire_date’ => int, ‘caption’ => string, ‘entities’ => [MessageEntity], ‘media’ => MessageMedia, ‘media_areas’ => [MediaArea], ‘privacy’ => [PrivacyRule], ‘views’ => StoryViews, ‘sent_reaction’ => Reaction, ];




$storyItemDeleted = [‘id’ => int, ];




$storyItemSkipped = [‘close_friends’ => Bool, ‘id’ => int, ‘date’ => int, ‘expire_date’ => int, ];




$storyReaction = [‘peer_id’ => Peer, ‘date’ => int, ‘reaction’ => Reaction, ];




$storyReactionPublicForward = [‘message’ => Message, ];




$storyReactionPublicRepost = [‘peer_id’ => Peer, ‘story’ => StoryItem, ];




$storyView = [‘blocked’ => Bool, ‘blocked_my_stories_from’ => Bool, ‘user_id’ => long, ‘date’ => int, ‘reaction’ => Reaction, ];




$storyViewPublicForward = [‘blocked’ => Bool, ‘blocked_my_stories_from’ => Bool, ‘message’ => Message, ];




$storyViewPublicRepost = [‘blocked’ => Bool, ‘blocked_my_stories_from’ => Bool, ‘peer_id’ => Peer, ‘story’ => StoryItem, ];




$storyViews = [‘has_viewers’ => Bool, ‘views_count’ => int, ‘forwards_count’ => int, ‘reactions’ => [ReactionCount], ‘reactions_count’ => int, ‘recent_viewers’ => [long], ];




$textAnchor = [‘text’ => RichText, ‘name’ => string, ];




$textBold = [‘text’ => RichText, ];




$textConcat = [‘texts’ => [RichText], ];




$textEmail = [‘text’ => RichText, ‘email’ => string, ];




$textEmpty = [];




$textFixed = [‘text’ => RichText, ];




$textImage = [‘document_id’ => long, ‘w’ => int, ‘h’ => int, ];




$textItalic = [‘text’ => RichText, ];




$textMarked = [‘text’ => RichText, ];




$textPhone = [‘text’ => RichText, ‘phone’ => string, ];




$textPlain = [‘text’ => string, ];




$textStrike = [‘text’ => RichText, ];




$textSubscript = [‘text’ => RichText, ];




$textSuperscript = [‘text’ => RichText, ];




$textUnderline = [‘text’ => RichText, ];




$textUrl = [‘text’ => RichText, ‘url’ => string, ‘webpage_id’ => long, ];




$textWithEntities = [‘text’ => string, ‘entities’ => [MessageEntity], ];




$theme = [‘creator’ => Bool, ‘default’ => Bool, ‘for_chat’ => Bool, ‘id’ => long, ‘access_hash’ => long, ‘slug’ => string, ‘title’ => string, ‘document’ => Document, ‘settings’ => [ThemeSettings], ‘emoticon’ => string, ‘installs_count’ => int, ];




$themeSettings = [‘message_colors_animated’ => Bool, ‘base_theme’ => BaseTheme, ‘accent_color’ => int, ‘outbox_accent_color’ => int, ‘message_colors’ => [int], ‘wallpaper’ => WallPaper, ];




$timezone = [‘id’ => string, ‘name’ => string, ‘utc_offset’ => int, ];




$topPeer = [‘peer’ => long, ‘rating’ => double, ];




$topPeerCategoryBotsApp = [];




$topPeerCategoryBotsInline = [];




$topPeerCategoryBotsPM = [];




$topPeerCategoryChannels = [];




$topPeerCategoryCorrespondents = [];




$topPeerCategoryForwardChats = [];




$topPeerCategoryForwardUsers = [];




$topPeerCategoryGroups = [];




$topPeerCategoryPeers = [‘category’ => TopPeerCategory, ‘count’ => int, ‘peers’ => [TopPeer], ];




$topPeerCategoryPhoneCalls = [];




$true = [];




$updateAttachMenuBots = [];




$updateAutoSaveSettings = [];




$updateBotBusinessConnect = [‘connection’ => BotBusinessConnection, ‘qts’ => int, ];




$updateBotCallbackQuery = [‘query_id’ => long, ‘user_id’ => long, ‘peer’ => long, ‘msg_id’ => int, ‘chat_instance’ => long, ‘data’ => bytes, ‘game_short_name’ => string, ];




$updateBotChatBoost = [‘peer’ => long, ‘boost’ => Boost, ‘qts’ => int, ];




$updateBotChatInviteRequester = [‘peer’ => long, ‘date’ => int, ‘user_id’ => long, ‘about’ => string, ‘invite’ => ExportedChatInvite, ‘qts’ => int, ];




$updateBotCommands = [‘peer’ => long, ‘bot_id’ => long, ‘commands’ => [BotCommand], ];




$updateBotDeleteBusinessMessage = [‘connection_id’ => string, ‘peer’ => long, ‘messages’ => [int], ‘qts’ => int, ];




$updateBotEditBusinessMessage = [‘connection_id’ => string, ‘message’ => Message, ‘reply_to_message’ => Message, ‘qts’ => int, ];




$updateBotInlineQuery = [‘query_id’ => long, ‘user_id’ => long, ‘query’ => string, ‘geo’ => GeoPoint, ‘peer_type’ => InlineQueryPeerType, ‘offset’ => string, ];




$updateBotInlineSend = [‘user_id’ => long, ‘query’ => string, ‘geo’ => GeoPoint, ‘id’ => string, ‘msg_id’ => InputBotInlineMessageID, ];




$updateBotMenuButton = [‘bot_id’ => long, ‘button’ => BotMenuButton, ];




$updateBotMessageReaction = [‘peer’ => long, ‘msg_id’ => int, ‘date’ => int, ‘actor’ => Peer, ‘old_reactions’ => [Reaction], ‘new_reactions’ => [Reaction], ‘qts’ => int, ];




$updateBotMessageReactions = [‘peer’ => long, ‘msg_id’ => int, ‘date’ => int, ‘reactions’ => [ReactionCount], ‘qts’ => int, ];




$updateBotNewBusinessMessage = [‘connection_id’ => string, ‘message’ => Message, ‘reply_to_message’ => Message, ‘qts’ => int, ];




$updateBotPrecheckoutQuery = [‘query_id’ => long, ‘user_id’ => long, ‘payload’ => bytes, ‘info’ => PaymentRequestedInfo, ‘shipping_option_id’ => string, ‘currency’ => string, ‘total_amount’ => long, ];




$updateBotPurchasedPaidMedia = [‘user_id’ => long, ‘payload’ => string, ‘qts’ => int, ];




$updateBotShippingQuery = [‘query_id’ => long, ‘user_id’ => long, ‘payload’ => bytes, ‘shipping_address’ => PostAddress, ];




$updateBotStopped = [‘user_id’ => long, ‘date’ => int, ‘stopped’ => Bool, ‘qts’ => int, ];




$updateBotSubscriptionExpire = [‘user_id’ => long, ‘payload’ => string, ‘invoice_slug’ => string, ‘until_date’ => int, ‘qts’ => int, ];




$updateBotWebhookJSON = [‘data’ => DataJSON, ];




$updateBotWebhookJSONQuery = [‘query_id’ => long, ‘data’ => DataJSON, ‘timeout’ => int, ];




$updateBroadcastRevenueTransactions = [‘peer’ => long, ‘balances’ => BroadcastRevenueBalances, ];




$updateBusinessBotCallbackQuery = [‘query_id’ => long, ‘user_id’ => long, ‘connection_id’ => string, ‘message’ => Message, ‘reply_to_message’ => Message, ‘chat_instance’ => long, ‘data’ => bytes, ];




$updateChannel = [‘channel_id’ => long, ];




$updateChannelAvailableMessages = [‘channel_id’ => long, ‘available_min_id’ => int, ];




$updateChannelMessageForwards = [‘channel_id’ => long, ‘id’ => int, ‘forwards’ => int, ];




$updateChannelMessageViews = [‘channel_id’ => long, ‘id’ => int, ‘views’ => int, ];




$updateChannelParticipant = [‘via_chatlist’ => Bool, ‘channel_id’ => long, ‘date’ => int, ‘actor_id’ => long, ‘user_id’ => long, ‘prev_participant’ => ChannelParticipant, ‘new_participant’ => ChannelParticipant, ‘invite’ => ExportedChatInvite, ‘qts’ => int, ];




$updateChannelPinnedTopic = [‘pinned’ => Bool, ‘channel_id’ => long, ‘topic_id’ => int, ];




$updateChannelPinnedTopics = [‘channel_id’ => long, ‘order’ => [int], ];




$updateChannelReadMessagesContents = [‘channel_id’ => long, ‘top_msg_id’ => int, ‘messages’ => [int], ];




$updateChannelTooLong = [‘channel_id’ => long, ‘pts’ => int, ];




$updateChannelUserTyping = [‘channel_id’ => long, ‘top_msg_id’ => int, ‘from_id’ => Peer, ‘action’ => SendMessageAction, ];




$updateChannelViewForumAsMessages = [‘channel_id’ => long, ‘enabled’ => Bool, ];




$updateChannelWebPage = [‘channel_id’ => long, ‘webpage’ => WebPage, ‘pts’ => int, ‘pts_count’ => int, ];




$updateChat = [‘chat_id’ => long, ];




$updateChatDefaultBannedRights = [‘peer’ => long, ‘default_banned_rights’ => ChatBannedRights, ‘version’ => int, ];




$updateChatParticipant = [‘chat_id’ => long, ‘date’ => int, ‘actor_id’ => long, ‘user_id’ => long, ‘prev_participant’ => ChatParticipant, ‘new_participant’ => ChatParticipant, ‘invite’ => ExportedChatInvite, ‘qts’ => int, ];




$updateChatParticipantAdd = [‘chat_id’ => long, ‘user_id’ => long, ‘inviter_id’ => long, ‘date’ => int, ‘version’ => int, ];




$updateChatParticipantAdmin = [‘chat_id’ => long, ‘user_id’ => long, ‘is_admin’ => Bool, ‘version’ => int, ];




$updateChatParticipantDelete = [‘chat_id’ => long, ‘user_id’ => long, ‘version’ => int, ];




$updateChatParticipants = [‘participants’ => ChatParticipants, ];




$updateChatUserTyping = [‘chat_id’ => long, ‘from_id’ => Peer, ‘action’ => SendMessageAction, ];




$updateConfig = [];




$updateContactsReset = [];




$updateDcOptions = [‘dc_options’ => [DcOption], ];




$updateDeleteChannelMessages = [‘channel_id’ => long, ‘messages’ => [int], ‘pts’ => int, ‘pts_count’ => int, ];




$updateDeleteMessages = [‘messages’ => [int], ‘pts’ => int, ‘pts_count’ => int, ];




$updateDeleteQuickReply = [‘shortcut_id’ => int, ];




$updateDeleteQuickReplyMessages = [‘shortcut_id’ => int, ‘messages’ => [int], ];




$updateDeleteScheduledMessages = [‘peer’ => long, ‘messages’ => [int], ‘sent_messages’ => [int], ];




$updateDialogFilter = [‘id’ => int, ‘filter’ => DialogFilter, ];




$updateDialogFilterOrder = [‘order’ => [int], ];




$updateDialogFilters = [];




$updateDialogPinned = [‘pinned’ => Bool, ‘folder_id’ => int, ‘peer’ => DialogPeer, ];




$updateDialogUnreadMark = [‘unread’ => Bool, ‘peer’ => DialogPeer, ];




$updateDraftMessage = [‘peer’ => long, ‘top_msg_id’ => int, ‘draft’ => DraftMessage, ];




$updateEditChannelMessage = [‘message’ => Message, ‘pts’ => int, ‘pts_count’ => int, ];




$updateEditMessage = [‘message’ => Message, ‘pts’ => int, ‘pts_count’ => int, ];




$updateEncryptedChatTyping = [‘chat_id’ => int, ];




$updateEncryptedMessagesRead = [‘chat_id’ => int, ‘max_date’ => int, ‘date’ => int, ];




$updateEncryption = [‘chat’ => EncryptedChat, ‘date’ => int, ];




$updateFavedStickers = [];




$updateFolderPeers = [‘folder_peers’ => [FolderPeer], ‘pts’ => int, ‘pts_count’ => int, ];




$updateGeoLiveViewed = [‘peer’ => long, ‘msg_id’ => int, ];




$updateGroupCall = [‘chat_id’ => long, ‘call’ => GroupCall, ];




$updateGroupCallConnection = [‘presentation’ => Bool, ‘params’ => DataJSON, ];




$updateGroupCallParticipants = [‘call’ => InputGroupCall, ‘participants’ => [GroupCallParticipant], ‘version’ => int, ];




$updateInlineBotCallbackQuery = [‘query_id’ => long, ‘user_id’ => long, ‘msg_id’ => InputBotInlineMessageID, ‘chat_instance’ => long, ‘data’ => bytes, ‘game_short_name’ => string, ];




$updateLangPack = [‘difference’ => LangPackDifference, ];




$updateLangPackTooLong = [‘lang_code’ => string, ];




$updateLoginToken = [];




$updateMessageExtendedMedia = [‘peer’ => long, ‘msg_id’ => int, ‘extended_media’ => [MessageExtendedMedia], ];




$updateMessageID = [‘id’ => int, ];




$updateMessagePoll = [‘poll_id’ => long, ‘poll’ => Poll, ‘results’ => PollResults, ];




$updateMessagePollVote = [‘poll_id’ => long, ‘peer’ => long, ‘options’ => [bytes], ‘qts’ => int, ];




$updateMessageReactions = [‘peer’ => long, ‘msg_id’ => int, ‘top_msg_id’ => int, ‘reactions’ => MessageReactions, ];




$updateMoveStickerSetToTop = [‘masks’ => Bool, ‘emojis’ => Bool, ‘stickerset’ => long, ];




$updateNewAuthorization = [‘unconfirmed’ => Bool, ‘hash’ => long, ‘date’ => int, ‘device’ => string, ‘location’ => string, ];




$updateNewChannelMessage = [‘message’ => Message, ‘pts’ => int, ‘pts_count’ => int, ];




$updateNewEncryptedMessage = [‘message’ => EncryptedMessage, ‘qts’ => int, ];




$updateNewMessage = [‘message’ => Message, ‘pts’ => int, ‘pts_count’ => int, ];




$updateNewQuickReply = [‘quick_reply’ => QuickReply, ];




$updateNewScheduledMessage = [‘message’ => Message, ];




$updateNewStickerSet = [‘stickerset’ => messages.StickerSet, ];




$updateNewStoryReaction = [‘story_id’ => int, ‘peer’ => long, ‘reaction’ => Reaction, ];




$updateNotifySettings = [‘peer’ => NotifyPeer, ‘notify_settings’ => PeerNotifySettings, ];




$updatePaidReactionPrivacy = [‘private’ => Bool, ];




$updatePeerBlocked = [‘blocked’ => Bool, ‘blocked_my_stories_from’ => Bool, ‘peer_id’ => Peer, ];




$updatePeerHistoryTTL = [‘peer’ => long, ‘ttl_period’ => int, ];




$updatePeerLocated = [‘peers’ => [PeerLocated], ];




$updatePeerSettings = [‘peer’ => long, ‘settings’ => PeerSettings, ];




$updatePeerWallpaper = [‘wallpaper_overridden’ => Bool, ‘peer’ => long, ‘wallpaper’ => WallPaper, ];




$updatePendingJoinRequests = [‘peer’ => long, ‘requests_pending’ => int, ‘recent_requesters’ => [long], ];




$updatePhoneCall = [‘phone_call’ => PhoneCall, ];




$updatePhoneCallSignalingData = [‘phone_call_id’ => long, ‘data’ => bytes, ];




$updatePinnedChannelMessages = [‘pinned’ => Bool, ‘channel_id’ => long, ‘messages’ => [int], ‘pts’ => int, ‘pts_count’ => int, ];




$updatePinnedDialogs = [‘folder_id’ => int, ‘order’ => [DialogPeer], ];




$updatePinnedMessages = [‘pinned’ => Bool, ‘peer’ => long, ‘messages’ => [int], ‘pts’ => int, ‘pts_count’ => int, ];




$updatePinnedSavedDialogs = [‘order’ => [DialogPeer], ];




$updatePrivacy = [‘key’ => PrivacyKey, ‘rules’ => [PrivacyRule], ];




$updatePtsChanged = [];




$updateQuickReplies = [‘quick_replies’ => [QuickReply], ];




$updateQuickReplyMessage = [‘message’ => Message, ];




$updateReadChannelDiscussionInbox = [‘channel_id’ => long, ‘top_msg_id’ => int, ‘read_max_id’ => int, ‘broadcast_id’ => long, ‘broadcast_post’ => int, ];




$updateReadChannelDiscussionOutbox = [‘channel_id’ => long, ‘top_msg_id’ => int, ‘read_max_id’ => int, ];




$updateReadChannelInbox = [‘folder_id’ => int, ‘channel_id’ => long, ‘max_id’ => int, ‘still_unread_count’ => int, ‘pts’ => int, ];




$updateReadChannelOutbox = [‘channel_id’ => long, ‘max_id’ => int, ];




$updateReadFeaturedEmojiStickers = [];




$updateReadFeaturedStickers = [];




$updateReadHistoryInbox = [‘folder_id’ => int, ‘peer’ => long, ‘max_id’ => int, ‘still_unread_count’ => int, ‘pts’ => int, ‘pts_count’ => int, ];




$updateReadHistoryOutbox = [‘peer’ => long, ‘max_id’ => int, ‘pts’ => int, ‘pts_count’ => int, ];




$updateReadMessagesContents = [‘messages’ => [int], ‘pts’ => int, ‘pts_count’ => int, ‘date’ => int, ];




$updateReadStories = [‘peer’ => long, ‘max_id’ => int, ];




$updateRecentEmojiStatuses = [];




$updateRecentReactions = [];




$updateRecentStickers = [];




$updateSavedDialogPinned = [‘pinned’ => Bool, ‘peer’ => DialogPeer, ];




$updateSavedGifs = [];




$updateSavedReactionTags = [];




$updateSavedRingtones = [];




$updateSentStoryReaction = [‘peer’ => long, ‘story_id’ => int, ‘reaction’ => Reaction, ];




$updateServiceNotification = [‘popup’ => Bool, ‘invert_media’ => Bool, ‘inbox_date’ => int, ‘type’ => string, ‘message’ => string, ‘media’ => MessageMedia, ‘entities’ => [MessageEntity], ];




$updateShort = [‘update’ => Update, ‘date’ => int, ];




$updateShortChatMessage = [‘out’ => Bool, ‘mentioned’ => Bool, ‘media_unread’ => Bool, ‘silent’ => Bool, ‘id’ => int, ‘from_id’ => long, ‘chat_id’ => long, ‘message’ => string, ‘pts’ => int, ‘pts_count’ => int, ‘date’ => int, ‘fwd_from’ => MessageFwdHeader, ‘via_bot_id’ => long, ‘reply_to’ => MessageReplyHeader, ‘entities’ => [MessageEntity], ‘ttl_period’ => int, ];




$updateShortMessage = [‘out’ => Bool, ‘mentioned’ => Bool, ‘media_unread’ => Bool, ‘silent’ => Bool, ‘id’ => int, ‘user_id’ => long, ‘message’ => string, ‘pts’ => int, ‘pts_count’ => int, ‘date’ => int, ‘fwd_from’ => MessageFwdHeader, ‘via_bot_id’ => long, ‘reply_to’ => MessageReplyHeader, ‘entities’ => [MessageEntity], ‘ttl_period’ => int, ];




$updateShortSentMessage = [‘out’ => Bool, ‘id’ => int, ‘pts’ => int, ‘pts_count’ => int, ‘date’ => int, ‘media’ => MessageMedia, ‘entities’ => [MessageEntity], ‘ttl_period’ => int, ];




$updateSmsJob = [‘job_id’ => string, ];




$updateStarsBalance = [‘balance’ => long, ];




$updateStarsRevenueStatus = [‘peer’ => long, ‘status’ => StarsRevenueStatus, ];




$updateStickerSets = [‘masks’ => Bool, ‘emojis’ => Bool, ];




$updateStickerSetsOrder = [‘masks’ => Bool, ‘emojis’ => Bool, ‘order’ => [long], ];




$updateStoriesStealthMode = [‘stealth_mode’ => StoriesStealthMode, ];




$updateStory = [‘peer’ => long, ‘story’ => StoryItem, ];




$updateStoryID = [‘id’ => int, ];




$updateTheme = [‘theme’ => Theme, ];




$updateTranscribedAudio = [‘pending’ => Bool, ‘peer’ => long, ‘msg_id’ => int, ‘transcription_id’ => long, ‘text’ => string, ];




$updateUser = [‘user_id’ => long, ];




$updateUserEmojiStatus = [‘user_id’ => long, ‘emoji_status’ => EmojiStatus, ];




$updateUserName = [‘user_id’ => long, ‘first_name’ => string, ‘last_name’ => string, ‘usernames’ => [Username], ];




$updateUserPhone = [‘user_id’ => long, ‘phone’ => string, ];




$updateUserStatus = [‘user_id’ => long, ‘status’ => UserStatus, ];




$updateUserTyping = [‘user_id’ => long, ‘action’ => SendMessageAction, ];




$updateWebPage = [‘webpage’ => WebPage, ‘pts’ => int, ‘pts_count’ => int, ];




$updateWebViewResultSent = [‘query_id’ => long, ];




$updates = [‘updates’ => [Update], ‘users’ => [User], ‘chats’ => [Chat], ‘date’ => int, ‘seq’ => int, ];




$updates.channelDifference = [‘final’ => Bool, ‘pts’ => int, ‘timeout’ => int, ‘new_messages’ => [Message], ‘other_updates’ => [Update], ‘chats’ => [Chat], ‘users’ => [User], ];




$updates.channelDifferenceEmpty = [‘final’ => Bool, ‘pts’ => int, ‘timeout’ => int, ];




$updates.channelDifferenceTooLong = [‘final’ => Bool, ‘timeout’ => int, ‘dialog’ => Dialog, ‘messages’ => [Message], ‘chats’ => [Chat], ‘users’ => [User], ];




$updates.difference = [‘new_messages’ => [Message], ‘new_encrypted_messages’ => [EncryptedMessage], ‘other_updates’ => [Update], ‘chats’ => [Chat], ‘users’ => [User], ‘state’ => updates.State, ];




$updates.differenceEmpty = [‘date’ => int, ‘seq’ => int, ];




$updates.differenceSlice = [‘new_messages’ => [Message], ‘new_encrypted_messages’ => [EncryptedMessage], ‘other_updates’ => [Update], ‘chats’ => [Chat], ‘users’ => [User], ‘intermediate_state’ => updates.State, ];




$updates.differenceTooLong = [‘pts’ => int, ];




$updates.state = [‘pts’ => int, ‘qts’ => int, ‘date’ => int, ‘seq’ => int, ‘unread_count’ => int, ];




$updatesCombined = [‘updates’ => [Update], ‘users’ => [User], ‘chats’ => [Chat], ‘date’ => int, ‘seq_start’ => int, ‘seq’ => int, ];




$updatesTooLong = [];




$upload.cdnFile = [‘bytes’ => bytes, ];




$upload.cdnFileReuploadNeeded = [‘request_token’ => bytes, ];




$upload.file = [‘type’ => storage.FileType, ‘mtime’ => int, ‘bytes’ => bytes, ];




$upload.fileCdnRedirect = [‘dc_id’ => int, ‘file_token’ => string, ‘encryption_key’ => string, ‘encryption_iv’ => string, ‘file_hashes’ => [FileHash], ];




$upload.webFile = [‘size’ => int, ‘mime_type’ => string, ‘file_type’ => storage.FileType, ‘mtime’ => int, ‘bytes’ => bytes, ];




$urlAuthResultAccepted = [‘url’ => string, ];




$urlAuthResultDefault = [];




$urlAuthResultRequest = [‘request_write_access’ => Bool, ‘bot’ => User, ‘domain’ => string, ];




$user = [‘self’ => Bool, ‘contact’ => Bool, ‘mutual_contact’ => Bool, ‘deleted’ => Bool, ‘bot’ => Bool, ‘bot_chat_history’ => Bool, ‘bot_nochats’ => Bool, ‘verified’ => Bool, ‘restricted’ => Bool, ‘min’ => Bool, ‘bot_inline_geo’ => Bool, ‘support’ => Bool, ‘scam’ => Bool, ‘apply_min_photo’ => Bool, ‘fake’ => Bool, ‘bot_attach_menu’ => Bool, ‘premium’ => Bool, ‘attach_menu_enabled’ => Bool, ‘bot_can_edit’ => Bool, ‘close_friend’ => Bool, ‘stories_hidden’ => Bool, ‘stories_unavailable’ => Bool, ‘contact_require_premium’ => Bool, ‘bot_business’ => Bool, ‘bot_has_main_app’ => Bool, ‘id’ => long, ‘access_hash’ => long, ‘first_name’ => string, ‘last_name’ => string, ‘username’ => string, ‘phone’ => string, ‘photo’ => UserProfilePhoto, ‘status’ => UserStatus, ‘bot_info_version’ => int, ‘restriction_reason’ => [RestrictionReason], ‘bot_inline_placeholder’ => string, ‘lang_code’ => string, ‘emoji_status’ => EmojiStatus, ‘usernames’ => [Username], ‘stories_max_id’ => int, ‘color’ => PeerColor, ‘profile_color’ => PeerColor, ‘bot_active_users’ => int, ];




$userEmpty = [‘id’ => long, ];




$userFull = [‘blocked’ => Bool, ‘phone_calls_available’ => Bool, ‘phone_calls_private’ => Bool, ‘can_pin_message’ => Bool, ‘has_scheduled’ => Bool, ‘video_calls_available’ => Bool, ‘voice_messages_forbidden’ => Bool, ‘translations_disabled’ => Bool, ‘stories_pinned_available’ => Bool, ‘blocked_my_stories_from’ => Bool, ‘wallpaper_overridden’ => Bool, ‘contact_require_premium’ => Bool, ‘read_dates_private’ => Bool, ‘sponsored_enabled’ => Bool, ‘can_view_revenue’ => Bool, ‘bot_can_manage_emoji_status’ => Bool, ‘id’ => long, ‘about’ => string, ‘settings’ => PeerSettings, ‘personal_photo’ => Photo, ‘profile_photo’ => Photo, ‘fallback_photo’ => Photo, ‘notify_settings’ => PeerNotifySettings, ‘bot_info’ => BotInfo, ‘pinned_msg_id’ => int, ‘common_chats_count’ => int, ‘folder_id’ => int, ‘ttl_period’ => int, ‘theme_emoticon’ => string, ‘private_forward_name’ => string, ‘bot_group_admin_rights’ => ChatAdminRights, ‘bot_broadcast_admin_rights’ => ChatAdminRights, ‘premium_gifts’ => [PremiumGiftOption], ‘wallpaper’ => WallPaper, ‘stories’ => PeerStories, ‘business_work_hours’ => BusinessWorkHours, ‘business_location’ => BusinessLocation, ‘business_greeting_message’ => BusinessGreetingMessage, ‘business_away_message’ => BusinessAwayMessage, ‘business_intro’ => BusinessIntro, ‘birthday’ => Birthday, ‘personal_channel_id’ => long, ‘personal_channel_message’ => int, ‘stargifts_count’ => int, ];




$userProfilePhoto = [‘has_video’ => Bool, ‘personal’ => Bool, ‘photo_id’ => long, ‘stripped_thumb’ => bytes, ‘dc_id’ => int, ];




$userProfilePhotoEmpty = [];




$userStarGift = [‘name_hidden’ => Bool, ‘unsaved’ => Bool, ‘from_id’ => long, ‘date’ => int, ‘gift’ => StarGift, ‘message’ => TextWithEntities, ‘msg_id’ => int, ‘convert_stars’ => long, ];




$userStatusEmpty = [];




$userStatusLastMonth = [‘by_me’ => Bool, ];




$userStatusLastWeek = [‘by_me’ => Bool, ];




$userStatusOffline = [‘was_online’ => int, ];




$userStatusOnline = [‘expires’ => int, ];




$userStatusRecently = [‘by_me’ => Bool, ];




$username = [‘editable’ => Bool, ‘active’ => Bool, ‘username’ => string, ];




$users.userFull = [‘full_user’ => UserFull, ‘chats’ => [Chat], ‘users’ => [User], ];




$videoSize = [‘type’ => string, ‘w’ => int, ‘h’ => int, ‘size’ => int, ‘video_start_ts’ => double, ];




$videoSizeEmojiMarkup = [‘emoji_id’ => long, ‘background_colors’ => [int], ];




$videoSizeStickerMarkup = [‘stickerset’ => InputStickerSet, ‘sticker_id’ => long, ‘background_colors’ => [int], ];




$wallPaper = [‘id’ => long, ‘creator’ => Bool, ‘default’ => Bool, ‘pattern’ => Bool, ‘dark’ => Bool, ‘access_hash’ => long, ‘slug’ => string, ‘document’ => Document, ‘settings’ => WallPaperSettings, ];




$wallPaperNoFile = [‘id’ => long, ‘default’ => Bool, ‘dark’ => Bool, ‘settings’ => WallPaperSettings, ];




$wallPaperSettings = [‘blur’ => Bool, ‘motion’ => Bool, ‘background_color’ => int, ‘second_background_color’ => int, ‘third_background_color’ => int, ‘fourth_background_color’ => int, ‘intensity’ => int, ‘rotation’ => int, ‘emoticon’ => string, ];




$webAuthorization = [‘hash’ => long, ‘bot_id’ => long, ‘domain’ => string, ‘browser’ => string, ‘platform’ => string, ‘date_created’ => int, ‘date_active’ => int, ‘ip’ => string, ‘region’ => string, ];




$webDocument = [‘url’ => string, ‘access_hash’ => long, ‘size’ => int, ‘mime_type’ => string, ‘attributes’ => [DocumentAttribute], ];




$webDocumentNoProxy = [‘url’ => string, ‘size’ => int, ‘mime_type’ => string, ‘attributes’ => [DocumentAttribute], ];




$webPage = [‘has_large_media’ => Bool, ‘id’ => long, ‘url’ => string, ‘display_url’ => string, ‘hash’ => int, ‘type’ => string, ‘site_name’ => string, ‘title’ => string, ‘description’ => string, ‘photo’ => Photo, ‘embed_url’ => string, ‘embed_type’ => string, ‘embed_width’ => int, ‘embed_height’ => int, ‘duration’ => int, ‘author’ => string, ‘document’ => Document, ‘cached_page’ => Page, ‘attributes’ => [WebPageAttribute], ];




$webPageAttributeStickerSet = [‘emojis’ => Bool, ‘text_color’ => Bool, ‘stickers’ => [Document], ];




$webPageAttributeStory = [‘peer’ => long, ‘id’ => int, ‘story’ => StoryItem, ];




$webPageAttributeTheme = [‘documents’ => [Document], ‘settings’ => ThemeSettings, ];




$webPageEmpty = [‘id’ => long, ‘url’ => string, ];




$webPageNotModified = [‘cached_page_views’ => int, ];




$webPagePending = [‘id’ => long, ‘url’ => string, ‘date’ => int, ];




$webViewMessageSent = [‘msg_id’ => InputBotInlineMessageID, ];




$webViewResultUrl = [‘fullsize’ => Bool, ‘fullscreen’ => Bool, ‘query_id’ => long, ‘url’ => string, ];