From bd1703d6fb9a7c8829910adf3bd5772d5a2762a5 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 11 Mar 2017 20:06:30 +0100 Subject: [PATCH] Fixes to documentation --- docs/API_docs/constructors/auth_sentCode.md | 4 ++-- docs/API_docs/constructors/botInlineMessageText.md | 4 ++-- docs/API_docs/constructors/channel.md | 4 ++-- docs/API_docs/constructors/channelForbidden.md | 4 ++-- docs/API_docs/constructors/channelFull.md | 4 ++-- docs/API_docs/constructors/channelMessagesFilter.md | 4 ++-- docs/API_docs/constructors/chat.md | 4 ++-- docs/API_docs/constructors/chatInvite.md | 4 ++-- docs/API_docs/constructors/config.md | 4 ++-- docs/API_docs/constructors/dcOption.md | 4 ++-- docs/API_docs/constructors/dialog.md | 4 ++-- docs/API_docs/constructors/documentAttributeAudio.md | 4 ++-- docs/API_docs/constructors/documentAttributeSticker.md | 4 ++-- docs/API_docs/constructors/draftMessage.md | 4 ++-- docs/API_docs/constructors/inputBotInlineMessageText.md | 4 ++-- docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md | 4 ++-- docs/API_docs/constructors/inputPeerNotifySettings.md | 4 ++-- docs/API_docs/constructors/keyboardButtonSwitchInline.md | 4 ++-- docs/API_docs/constructors/message.md | 4 ++-- docs/API_docs/constructors/messageService.md | 4 ++-- docs/API_docs/constructors/messages_botCallbackAnswer.md | 4 ++-- docs/API_docs/constructors/messages_botResults.md | 4 ++-- docs/API_docs/constructors/messages_messageEditData.md | 4 ++-- docs/API_docs/constructors/messages_peerDialogs.md | 4 ++-- docs/API_docs/constructors/pageBlockEmbed.md | 4 ++-- docs/API_docs/constructors/pageBlockVideo.md | 4 ++-- docs/API_docs/constructors/peerNotifySettings.md | 4 ++-- docs/API_docs/constructors/peerSettings.md | 4 ++-- docs/API_docs/constructors/phoneCallProtocol.md | 4 ++-- docs/API_docs/constructors/photo.md | 4 ++-- docs/API_docs/constructors/replyKeyboardForceReply.md | 4 ++-- docs/API_docs/constructors/replyKeyboardHide.md | 4 ++-- docs/API_docs/constructors/replyKeyboardMarkup.md | 4 ++-- docs/API_docs/constructors/stickerSet.md | 4 ++-- docs/API_docs/constructors/updateDialogPinned.md | 4 ++-- docs/API_docs/constructors/updateNewStickerSet.md | 4 ++-- docs/API_docs/constructors/updateServiceNotification.md | 4 ++-- docs/API_docs/constructors/updateShortChatMessage.md | 4 ++-- docs/API_docs/constructors/updateShortMessage.md | 4 ++-- docs/API_docs/constructors/updateShortSentMessage.md | 4 ++-- docs/API_docs/constructors/updateStickerSetsOrder.md | 4 ++-- docs/API_docs/constructors/updates_channelDifference.md | 4 ++-- docs/API_docs/constructors/updates_channelDifferenceEmpty.md | 4 ++-- .../API_docs/constructors/updates_channelDifferenceTooLong.md | 4 ++-- docs/API_docs/constructors/updates_difference.md | 4 ++-- docs/API_docs/constructors/updates_differenceSlice.md | 4 ++-- docs/API_docs/constructors/upload_file.md | 4 ++-- docs/API_docs/constructors/user.md | 4 ++-- docs/API_docs/constructors/userFull.md | 4 ++-- docs/MTProto_docs/constructors/msg_container.md | 4 ++-- docs/TD_docs/constructors/test_vectorIntObject.md | 4 ++-- docs/TD_docs/constructors/test_vectorStringObject.md | 4 ++-- old_docs/API_docs_v18/constructors/contacts_link.md | 4 ++-- .../API_docs_v18/constructors/messages_sentMessageLink.md | 4 ++-- .../API_docs_v18/constructors/messages_statedMessageLink.md | 4 ++-- .../API_docs_v18/constructors/messages_statedMessagesLinks.md | 4 ++-- old_docs/API_docs_v18/constructors/updateContactLink.md | 4 ++-- old_docs/API_docs_v18/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v18/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v18/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v18/constructors/userFull.md | 4 ++-- old_docs/API_docs_v23/constructors/contacts_link.md | 4 ++-- .../API_docs_v23/constructors/messages_sentMessageLink.md | 4 ++-- .../API_docs_v23/constructors/messages_statedMessageLink.md | 4 ++-- .../API_docs_v23/constructors/messages_statedMessagesLinks.md | 4 ++-- old_docs/API_docs_v23/constructors/updateContactLink.md | 4 ++-- old_docs/API_docs_v23/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v23/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v23/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v23/constructors/userFull.md | 4 ++-- .../API_docs_v25/constructors/messages_sentMessageLink.md | 4 ++-- .../API_docs_v25/constructors/messages_statedMessageLink.md | 4 ++-- .../API_docs_v25/constructors/messages_statedMessagesLinks.md | 4 ++-- old_docs/API_docs_v25/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v25/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v25/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v25/constructors/userFull.md | 4 ++-- .../API_docs_v27/constructors/messages_sentMessageLink.md | 4 ++-- old_docs/API_docs_v27/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v27/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v27/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v27/constructors/userFull.md | 4 ++-- .../API_docs_v33/constructors/messages_sentMessageLink.md | 4 ++-- old_docs/API_docs_v33/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v33/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v33/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v33/constructors/userFull.md | 4 ++-- old_docs/API_docs_v38/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v38/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v38/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v38/constructors/userFull.md | 4 ++-- old_docs/API_docs_v40/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v40/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v40/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v40/constructors/userFull.md | 4 ++-- old_docs/API_docs_v41/constructors/channel.md | 4 ++-- old_docs/API_docs_v41/constructors/channelFull.md | 4 ++-- old_docs/API_docs_v41/constructors/channelMessagesFilter.md | 4 ++-- old_docs/API_docs_v41/constructors/chat.md | 4 ++-- old_docs/API_docs_v41/constructors/chatInvite.md | 4 ++-- old_docs/API_docs_v41/constructors/dcOption.md | 4 ++-- old_docs/API_docs_v41/constructors/message.md | 4 ++-- old_docs/API_docs_v41/constructors/messageService.md | 4 ++-- old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md | 4 ++-- old_docs/API_docs_v41/constructors/replyKeyboardHide.md | 4 ++-- old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md | 4 ++-- old_docs/API_docs_v41/constructors/stickerSet.md | 4 ++-- old_docs/API_docs_v41/constructors/updateShortChatMessage.md | 4 ++-- old_docs/API_docs_v41/constructors/updateShortMessage.md | 4 ++-- old_docs/API_docs_v41/constructors/updateShortSentMessage.md | 4 ++-- .../API_docs_v41/constructors/updates_channelDifference.md | 4 ++-- .../constructors/updates_channelDifferenceEmpty.md | 4 ++-- .../constructors/updates_channelDifferenceTooLong.md | 4 ++-- old_docs/API_docs_v41/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v41/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v41/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v41/constructors/user.md | 4 ++-- old_docs/API_docs_v41/constructors/userFull.md | 4 ++-- old_docs/API_docs_v42/constructors/channel.md | 4 ++-- old_docs/API_docs_v42/constructors/channelFull.md | 4 ++-- old_docs/API_docs_v42/constructors/channelMessagesFilter.md | 4 ++-- old_docs/API_docs_v42/constructors/chat.md | 4 ++-- old_docs/API_docs_v42/constructors/chatInvite.md | 4 ++-- old_docs/API_docs_v42/constructors/dcOption.md | 4 ++-- old_docs/API_docs_v42/constructors/message.md | 4 ++-- old_docs/API_docs_v42/constructors/messageService.md | 4 ++-- old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md | 4 ++-- old_docs/API_docs_v42/constructors/replyKeyboardHide.md | 4 ++-- old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md | 4 ++-- old_docs/API_docs_v42/constructors/stickerSet.md | 4 ++-- old_docs/API_docs_v42/constructors/updateShortChatMessage.md | 4 ++-- old_docs/API_docs_v42/constructors/updateShortMessage.md | 4 ++-- old_docs/API_docs_v42/constructors/updateShortSentMessage.md | 4 ++-- .../API_docs_v42/constructors/updates_channelDifference.md | 4 ++-- .../constructors/updates_channelDifferenceEmpty.md | 4 ++-- .../constructors/updates_channelDifferenceTooLong.md | 4 ++-- old_docs/API_docs_v42/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v42/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v42/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v42/constructors/user.md | 4 ++-- old_docs/API_docs_v42/constructors/userFull.md | 4 ++-- old_docs/API_docs_v44/constructors/channel.md | 4 ++-- old_docs/API_docs_v44/constructors/channelFull.md | 4 ++-- old_docs/API_docs_v44/constructors/channelMessagesFilter.md | 4 ++-- old_docs/API_docs_v44/constructors/chat.md | 4 ++-- old_docs/API_docs_v44/constructors/chatInvite.md | 4 ++-- old_docs/API_docs_v44/constructors/dcOption.md | 4 ++-- old_docs/API_docs_v44/constructors/message.md | 4 ++-- old_docs/API_docs_v44/constructors/messageService.md | 4 ++-- old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md | 4 ++-- old_docs/API_docs_v44/constructors/replyKeyboardHide.md | 4 ++-- old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md | 4 ++-- old_docs/API_docs_v44/constructors/stickerSet.md | 4 ++-- old_docs/API_docs_v44/constructors/updateNewStickerSet.md | 4 ++-- old_docs/API_docs_v44/constructors/updateShortChatMessage.md | 4 ++-- old_docs/API_docs_v44/constructors/updateShortMessage.md | 4 ++-- old_docs/API_docs_v44/constructors/updateShortSentMessage.md | 4 ++-- .../API_docs_v44/constructors/updates_channelDifference.md | 4 ++-- .../constructors/updates_channelDifferenceEmpty.md | 4 ++-- .../constructors/updates_channelDifferenceTooLong.md | 4 ++-- old_docs/API_docs_v44/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v44/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v44/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v44/constructors/user.md | 4 ++-- old_docs/API_docs_v44/constructors/userFull.md | 4 ++-- old_docs/API_docs_v45/constructors/botInlineMessageText.md | 4 ++-- old_docs/API_docs_v45/constructors/channel.md | 4 ++-- old_docs/API_docs_v45/constructors/channelFull.md | 4 ++-- old_docs/API_docs_v45/constructors/channelMessagesFilter.md | 4 ++-- old_docs/API_docs_v45/constructors/chat.md | 4 ++-- old_docs/API_docs_v45/constructors/chatInvite.md | 4 ++-- old_docs/API_docs_v45/constructors/dcOption.md | 4 ++-- .../API_docs_v45/constructors/inputBotInlineMessageText.md | 4 ++-- old_docs/API_docs_v45/constructors/message.md | 4 ++-- old_docs/API_docs_v45/constructors/messageService.md | 4 ++-- old_docs/API_docs_v45/constructors/messages_botResults.md | 4 ++-- old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md | 4 ++-- old_docs/API_docs_v45/constructors/replyKeyboardHide.md | 4 ++-- old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md | 4 ++-- old_docs/API_docs_v45/constructors/stickerSet.md | 4 ++-- old_docs/API_docs_v45/constructors/updateNewStickerSet.md | 4 ++-- old_docs/API_docs_v45/constructors/updateShortChatMessage.md | 4 ++-- old_docs/API_docs_v45/constructors/updateShortMessage.md | 4 ++-- old_docs/API_docs_v45/constructors/updateShortSentMessage.md | 4 ++-- .../API_docs_v45/constructors/updates_channelDifference.md | 4 ++-- .../constructors/updates_channelDifferenceEmpty.md | 4 ++-- .../constructors/updates_channelDifferenceTooLong.md | 4 ++-- old_docs/API_docs_v45/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v45/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v45/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v45/constructors/user.md | 4 ++-- old_docs/API_docs_v45/constructors/userFull.md | 4 ++-- old_docs/API_docs_v46/constructors/botInlineMessageText.md | 4 ++-- old_docs/API_docs_v46/constructors/channel.md | 4 ++-- old_docs/API_docs_v46/constructors/channelFull.md | 4 ++-- old_docs/API_docs_v46/constructors/channelMessagesFilter.md | 4 ++-- old_docs/API_docs_v46/constructors/chat.md | 4 ++-- old_docs/API_docs_v46/constructors/chatInvite.md | 4 ++-- old_docs/API_docs_v46/constructors/dcOption.md | 4 ++-- .../API_docs_v46/constructors/inputBotInlineMessageText.md | 4 ++-- old_docs/API_docs_v46/constructors/message.md | 4 ++-- old_docs/API_docs_v46/constructors/messageService.md | 4 ++-- old_docs/API_docs_v46/constructors/messages_botResults.md | 4 ++-- old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md | 4 ++-- old_docs/API_docs_v46/constructors/replyKeyboardHide.md | 4 ++-- old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md | 4 ++-- old_docs/API_docs_v46/constructors/stickerSet.md | 4 ++-- old_docs/API_docs_v46/constructors/updateNewStickerSet.md | 4 ++-- old_docs/API_docs_v46/constructors/updateShortChatMessage.md | 4 ++-- old_docs/API_docs_v46/constructors/updateShortMessage.md | 4 ++-- old_docs/API_docs_v46/constructors/updateShortSentMessage.md | 4 ++-- .../API_docs_v46/constructors/updates_channelDifference.md | 4 ++-- .../constructors/updates_channelDifferenceEmpty.md | 4 ++-- .../constructors/updates_channelDifferenceTooLong.md | 4 ++-- old_docs/API_docs_v46/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v46/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v46/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v46/constructors/user.md | 4 ++-- old_docs/API_docs_v46/constructors/userFull.md | 4 ++-- old_docs/API_docs_v51/constructors/auth_sentCode.md | 4 ++-- old_docs/API_docs_v51/constructors/botInlineMessageText.md | 4 ++-- old_docs/API_docs_v51/constructors/channel.md | 4 ++-- old_docs/API_docs_v51/constructors/channelFull.md | 4 ++-- old_docs/API_docs_v51/constructors/channelMessagesFilter.md | 4 ++-- old_docs/API_docs_v51/constructors/chat.md | 4 ++-- old_docs/API_docs_v51/constructors/chatInvite.md | 4 ++-- old_docs/API_docs_v51/constructors/dcOption.md | 4 ++-- old_docs/API_docs_v51/constructors/documentAttributeAudio.md | 4 ++-- .../API_docs_v51/constructors/inputBotInlineMessageText.md | 4 ++-- old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md | 4 ++-- old_docs/API_docs_v51/constructors/message.md | 4 ++-- old_docs/API_docs_v51/constructors/messageService.md | 4 ++-- .../API_docs_v51/constructors/messages_botCallbackAnswer.md | 4 ++-- old_docs/API_docs_v51/constructors/messages_botResults.md | 4 ++-- .../API_docs_v51/constructors/messages_messageEditData.md | 4 ++-- old_docs/API_docs_v51/constructors/peerNotifySettings.md | 4 ++-- old_docs/API_docs_v51/constructors/peerSettings.md | 4 ++-- old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md | 4 ++-- old_docs/API_docs_v51/constructors/replyKeyboardHide.md | 4 ++-- old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md | 4 ++-- old_docs/API_docs_v51/constructors/stickerSet.md | 4 ++-- old_docs/API_docs_v51/constructors/updateNewStickerSet.md | 4 ++-- old_docs/API_docs_v51/constructors/updateShortChatMessage.md | 4 ++-- old_docs/API_docs_v51/constructors/updateShortMessage.md | 4 ++-- old_docs/API_docs_v51/constructors/updateShortSentMessage.md | 4 ++-- .../API_docs_v51/constructors/updates_channelDifference.md | 4 ++-- .../constructors/updates_channelDifferenceEmpty.md | 4 ++-- .../constructors/updates_channelDifferenceTooLong.md | 4 ++-- old_docs/API_docs_v51/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v51/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v51/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v51/constructors/user.md | 4 ++-- old_docs/API_docs_v51/constructors/userFull.md | 4 ++-- old_docs/API_docs_v53/constructors/auth_sentCode.md | 4 ++-- old_docs/API_docs_v53/constructors/botInlineMessageText.md | 4 ++-- old_docs/API_docs_v53/constructors/channel.md | 4 ++-- old_docs/API_docs_v53/constructors/channelForbidden.md | 4 ++-- old_docs/API_docs_v53/constructors/channelFull.md | 4 ++-- old_docs/API_docs_v53/constructors/channelMessagesFilter.md | 4 ++-- old_docs/API_docs_v53/constructors/chat.md | 4 ++-- old_docs/API_docs_v53/constructors/chatInvite.md | 4 ++-- old_docs/API_docs_v53/constructors/dcOption.md | 4 ++-- old_docs/API_docs_v53/constructors/documentAttributeAudio.md | 4 ++-- old_docs/API_docs_v53/constructors/draftMessage.md | 4 ++-- .../API_docs_v53/constructors/inputBotInlineMessageText.md | 4 ++-- old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md | 4 ++-- old_docs/API_docs_v53/constructors/message.md | 4 ++-- old_docs/API_docs_v53/constructors/messageService.md | 4 ++-- .../API_docs_v53/constructors/messages_botCallbackAnswer.md | 4 ++-- old_docs/API_docs_v53/constructors/messages_botResults.md | 4 ++-- .../API_docs_v53/constructors/messages_messageEditData.md | 4 ++-- old_docs/API_docs_v53/constructors/messages_peerDialogs.md | 4 ++-- old_docs/API_docs_v53/constructors/peerNotifySettings.md | 4 ++-- old_docs/API_docs_v53/constructors/peerSettings.md | 4 ++-- old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md | 4 ++-- old_docs/API_docs_v53/constructors/replyKeyboardHide.md | 4 ++-- old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md | 4 ++-- old_docs/API_docs_v53/constructors/stickerSet.md | 4 ++-- old_docs/API_docs_v53/constructors/updateNewStickerSet.md | 4 ++-- old_docs/API_docs_v53/constructors/updateShortChatMessage.md | 4 ++-- old_docs/API_docs_v53/constructors/updateShortMessage.md | 4 ++-- old_docs/API_docs_v53/constructors/updateShortSentMessage.md | 4 ++-- .../API_docs_v53/constructors/updates_channelDifference.md | 4 ++-- .../constructors/updates_channelDifferenceEmpty.md | 4 ++-- .../constructors/updates_channelDifferenceTooLong.md | 4 ++-- old_docs/API_docs_v53/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v53/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v53/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v53/constructors/user.md | 4 ++-- old_docs/API_docs_v53/constructors/userFull.md | 4 ++-- old_docs/API_docs_v55/constructors/auth_sentCode.md | 4 ++-- old_docs/API_docs_v55/constructors/botInlineMessageText.md | 4 ++-- old_docs/API_docs_v55/constructors/channel.md | 4 ++-- old_docs/API_docs_v55/constructors/channelForbidden.md | 4 ++-- old_docs/API_docs_v55/constructors/channelFull.md | 4 ++-- old_docs/API_docs_v55/constructors/channelMessagesFilter.md | 4 ++-- old_docs/API_docs_v55/constructors/chat.md | 4 ++-- old_docs/API_docs_v55/constructors/chatInvite.md | 4 ++-- old_docs/API_docs_v55/constructors/dcOption.md | 4 ++-- old_docs/API_docs_v55/constructors/documentAttributeAudio.md | 4 ++-- old_docs/API_docs_v55/constructors/draftMessage.md | 4 ++-- .../API_docs_v55/constructors/inputBotInlineMessageText.md | 4 ++-- old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md | 4 ++-- old_docs/API_docs_v55/constructors/message.md | 4 ++-- old_docs/API_docs_v55/constructors/messageService.md | 4 ++-- .../API_docs_v55/constructors/messages_botCallbackAnswer.md | 4 ++-- old_docs/API_docs_v55/constructors/messages_botResults.md | 4 ++-- .../API_docs_v55/constructors/messages_messageEditData.md | 4 ++-- old_docs/API_docs_v55/constructors/messages_peerDialogs.md | 4 ++-- old_docs/API_docs_v55/constructors/peerNotifySettings.md | 4 ++-- old_docs/API_docs_v55/constructors/peerSettings.md | 4 ++-- old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md | 4 ++-- old_docs/API_docs_v55/constructors/replyKeyboardHide.md | 4 ++-- old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md | 4 ++-- old_docs/API_docs_v55/constructors/stickerSet.md | 4 ++-- old_docs/API_docs_v55/constructors/updateNewStickerSet.md | 4 ++-- old_docs/API_docs_v55/constructors/updateShortChatMessage.md | 4 ++-- old_docs/API_docs_v55/constructors/updateShortMessage.md | 4 ++-- old_docs/API_docs_v55/constructors/updateShortSentMessage.md | 4 ++-- .../API_docs_v55/constructors/updates_channelDifference.md | 4 ++-- .../constructors/updates_channelDifferenceEmpty.md | 4 ++-- .../constructors/updates_channelDifferenceTooLong.md | 4 ++-- old_docs/API_docs_v55/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v55/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v55/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v55/constructors/user.md | 4 ++-- old_docs/API_docs_v55/constructors/userFull.md | 4 ++-- old_docs/API_docs_v57/constructors/auth_sentCode.md | 4 ++-- old_docs/API_docs_v57/constructors/botInlineMessageText.md | 4 ++-- old_docs/API_docs_v57/constructors/channel.md | 4 ++-- old_docs/API_docs_v57/constructors/channelForbidden.md | 4 ++-- old_docs/API_docs_v57/constructors/channelFull.md | 4 ++-- old_docs/API_docs_v57/constructors/channelMessagesFilter.md | 4 ++-- old_docs/API_docs_v57/constructors/chat.md | 4 ++-- old_docs/API_docs_v57/constructors/chatInvite.md | 4 ++-- old_docs/API_docs_v57/constructors/dcOption.md | 4 ++-- old_docs/API_docs_v57/constructors/documentAttributeAudio.md | 4 ++-- .../API_docs_v57/constructors/documentAttributeSticker.md | 4 ++-- old_docs/API_docs_v57/constructors/draftMessage.md | 4 ++-- .../API_docs_v57/constructors/inputBotInlineMessageText.md | 4 ++-- old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md | 4 ++-- .../API_docs_v57/constructors/keyboardButtonSwitchInline.md | 4 ++-- old_docs/API_docs_v57/constructors/message.md | 4 ++-- old_docs/API_docs_v57/constructors/messageService.md | 4 ++-- .../API_docs_v57/constructors/messages_botCallbackAnswer.md | 4 ++-- old_docs/API_docs_v57/constructors/messages_botResults.md | 4 ++-- .../API_docs_v57/constructors/messages_messageEditData.md | 4 ++-- old_docs/API_docs_v57/constructors/messages_peerDialogs.md | 4 ++-- old_docs/API_docs_v57/constructors/peerNotifySettings.md | 4 ++-- old_docs/API_docs_v57/constructors/peerSettings.md | 4 ++-- old_docs/API_docs_v57/constructors/photo.md | 4 ++-- old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md | 4 ++-- old_docs/API_docs_v57/constructors/replyKeyboardHide.md | 4 ++-- old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md | 4 ++-- old_docs/API_docs_v57/constructors/stickerSet.md | 4 ++-- old_docs/API_docs_v57/constructors/updateNewStickerSet.md | 4 ++-- old_docs/API_docs_v57/constructors/updateShortChatMessage.md | 4 ++-- old_docs/API_docs_v57/constructors/updateShortMessage.md | 4 ++-- old_docs/API_docs_v57/constructors/updateShortSentMessage.md | 4 ++-- old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md | 4 ++-- .../API_docs_v57/constructors/updates_channelDifference.md | 4 ++-- .../constructors/updates_channelDifferenceEmpty.md | 4 ++-- .../constructors/updates_channelDifferenceTooLong.md | 4 ++-- old_docs/API_docs_v57/constructors/updates_difference.md | 4 ++-- old_docs/API_docs_v57/constructors/updates_differenceSlice.md | 4 ++-- old_docs/API_docs_v57/constructors/upload_file.md | 4 ++-- old_docs/API_docs_v57/constructors/user.md | 4 ++-- old_docs/API_docs_v57/constructors/userFull.md | 4 ++-- src/danog/MadelineProto/DocsBuilder.php | 4 ++-- 369 files changed, 738 insertions(+), 738 deletions(-) diff --git a/docs/API_docs/constructors/auth_sentCode.md b/docs/API_docs/constructors/auth_sentCode.md index 2050604d..f3ac1809 100644 --- a/docs/API_docs/constructors/auth_sentCode.md +++ b/docs/API_docs/constructors/auth_sentCode.md @@ -25,14 +25,14 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => true, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=true, type=auth.SentCodeType, phone_code_hash=string, next_type=auth.CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } ``` diff --git a/docs/API_docs/constructors/botInlineMessageText.md b/docs/API_docs/constructors/botInlineMessageText.md index 703b9569..750ddf50 100644 --- a/docs/API_docs/constructors/botInlineMessageText.md +++ b/docs/API_docs/constructors/botInlineMessageText.md @@ -24,14 +24,14 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } ``` diff --git a/docs/API_docs/constructors/channel.md b/docs/API_docs/constructors/channel.md index 857c1c5c..1a1db52f 100644 --- a/docs/API_docs/constructors/channel.md +++ b/docs/API_docs/constructors/channel.md @@ -40,14 +40,14 @@ description: channel attributes, type and example ### Example: ``` -$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +$channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` Or, if you're into Lua: ``` -channel={_='channel', creator=true, kicked=true, left=true, editor=true, moderator=true, broadcast=true, verified=true, megagroup=true, restricted=true, democracy=true, signatures=true, min=true, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } +channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, democracy=Bool, signatures=Bool, min=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } ``` diff --git a/docs/API_docs/constructors/channelForbidden.md b/docs/API_docs/constructors/channelForbidden.md index 35d130fe..5522fd5c 100644 --- a/docs/API_docs/constructors/channelForbidden.md +++ b/docs/API_docs/constructors/channelForbidden.md @@ -25,14 +25,14 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', broadcast=true, megagroup=true, id=int, access_hash=long, title=string, } +channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, } ``` diff --git a/docs/API_docs/constructors/channelFull.md b/docs/API_docs/constructors/channelFull.md index 1b769f7d..2b3387b7 100644 --- a/docs/API_docs/constructors/channelFull.md +++ b/docs/API_docs/constructors/channelFull.md @@ -37,14 +37,14 @@ description: channelFull attributes, type and example ### Example: ``` -$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'can_set_username' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_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' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; +$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_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' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` Or, if you're into Lua: ``` -channelFull={_='channelFull', can_view_participants=true, can_set_username=true, id=int, about=string, participants_count=int, admins_count=int, kicked_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=int, migrated_from_max_id=int, pinned_msg_id=int, } +channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, id=int, about=string, participants_count=int, admins_count=int, kicked_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=int, migrated_from_max_id=int, pinned_msg_id=int, } ``` diff --git a/docs/API_docs/constructors/channelMessagesFilter.md b/docs/API_docs/constructors/channelMessagesFilter.md index 67427ede..b8b7725b 100644 --- a/docs/API_docs/constructors/channelMessagesFilter.md +++ b/docs/API_docs/constructors/channelMessagesFilter.md @@ -22,14 +22,14 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => true, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=true, ranges={MessageRange}, } +channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}, } ``` diff --git a/docs/API_docs/constructors/chat.md b/docs/API_docs/constructors/chat.md index d999ad0a..9bad67b3 100644 --- a/docs/API_docs/constructors/chat.md +++ b/docs/API_docs/constructors/chat.md @@ -33,14 +33,14 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` Or, if you're into Lua: ``` -chat={_='chat', creator=true, kicked=true, left=true, admins_enabled=true, admin=true, deactivated=true, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } ``` diff --git a/docs/API_docs/constructors/chatInvite.md b/docs/API_docs/constructors/chatInvite.md index ef3768cf..7f23c6b9 100644 --- a/docs/API_docs/constructors/chatInvite.md +++ b/docs/API_docs/constructors/chatInvite.md @@ -28,14 +28,14 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; ``` Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=true, broadcast=true, public=true, megagroup=true, title=string, photo=ChatPhoto, participants_count=int, participants={User}, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, photo=ChatPhoto, participants_count=int, participants={User}, } ``` diff --git a/docs/API_docs/constructors/config.md b/docs/API_docs/constructors/config.md index aba484bd..2aefb385 100644 --- a/docs/API_docs/constructors/config.md +++ b/docs/API_docs/constructors/config.md @@ -49,14 +49,14 @@ description: config attributes, type and example ### Example: ``` -$config = ['_' => 'config', 'phonecalls_enabled' => true, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'disabled_features' => [DisabledFeature], ]; +$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], '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, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'disabled_features' => [DisabledFeature], ]; ``` Or, if you're into Lua: ``` -config={_='config', phonecalls_enabled=true, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, 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, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, disabled_features={DisabledFeature}, } +config={_='config', phonecalls_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, 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, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, disabled_features={DisabledFeature}, } ``` diff --git a/docs/API_docs/constructors/dcOption.md b/docs/API_docs/constructors/dcOption.md index 04f6424d..c05fcca1 100644 --- a/docs/API_docs/constructors/dcOption.md +++ b/docs/API_docs/constructors/dcOption.md @@ -26,14 +26,14 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'tcpo_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=true, media_only=true, tcpo_only=true, id=int, ip_address=string, port=int, } +dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address=string, port=int, } ``` diff --git a/docs/API_docs/constructors/dialog.md b/docs/API_docs/constructors/dialog.md index 1cea7315..5309a2be 100644 --- a/docs/API_docs/constructors/dialog.md +++ b/docs/API_docs/constructors/dialog.md @@ -29,14 +29,14 @@ description: dialog attributes, type and example ### Example: ``` -$dialog = ['_' => 'dialog', 'pinned' => true, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage, ]; +$dialog = ['_' => 'dialog', 'pinned' => Bool, 'peer' => Peer, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int, 'draft' => DraftMessage, ]; ``` Or, if you're into Lua: ``` -dialog={_='dialog', pinned=true, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage, } +dialog={_='dialog', pinned=Bool, peer=Peer, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, notify_settings=PeerNotifySettings, pts=int, draft=DraftMessage, } ``` diff --git a/docs/API_docs/constructors/documentAttributeAudio.md b/docs/API_docs/constructors/documentAttributeAudio.md index 89fabd7a..83ba2eb9 100644 --- a/docs/API_docs/constructors/documentAttributeAudio.md +++ b/docs/API_docs/constructors/documentAttributeAudio.md @@ -25,14 +25,14 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => true, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=true, duration=int, title=string, performer=string, waveform=bytes, } +documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } ``` diff --git a/docs/API_docs/constructors/documentAttributeSticker.md b/docs/API_docs/constructors/documentAttributeSticker.md index d8063603..746b6fd0 100644 --- a/docs/API_docs/constructors/documentAttributeSticker.md +++ b/docs/API_docs/constructors/documentAttributeSticker.md @@ -24,14 +24,14 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => true, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; ``` Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', mask=true, alt=string, stickerset=InputStickerSet, mask_coords=MaskCoords, } +documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt=string, stickerset=InputStickerSet, mask_coords=MaskCoords, } ``` diff --git a/docs/API_docs/constructors/draftMessage.md b/docs/API_docs/constructors/draftMessage.md index cea8e9d8..9cbeec53 100644 --- a/docs/API_docs/constructors/draftMessage.md +++ b/docs/API_docs/constructors/draftMessage.md @@ -25,14 +25,14 @@ description: draftMessage attributes, type and example ### Example: ``` -$draftMessage = ['_' => 'draftMessage', 'no_webpage' => true, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; ``` Or, if you're into Lua: ``` -draftMessage={_='draftMessage', no_webpage=true, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } +draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } ``` diff --git a/docs/API_docs/constructors/inputBotInlineMessageText.md b/docs/API_docs/constructors/inputBotInlineMessageText.md index 8c2007e6..6d751de2 100644 --- a/docs/API_docs/constructors/inputBotInlineMessageText.md +++ b/docs/API_docs/constructors/inputBotInlineMessageText.md @@ -24,14 +24,14 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } ``` diff --git a/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md b/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md index ebbaec0f..e9193dc8 100644 --- a/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md +++ b/docs/API_docs/constructors/inputMessagesFilterPhoneCalls.md @@ -21,14 +21,14 @@ description: inputMessagesFilterPhoneCalls attributes, type and example ### Example: ``` -$inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => true, ]; +$inputMessagesFilterPhoneCalls = ['_' => 'inputMessagesFilterPhoneCalls', 'missed' => Bool, ]; ``` Or, if you're into Lua: ``` -inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=true, } +inputMessagesFilterPhoneCalls={_='inputMessagesFilterPhoneCalls', missed=Bool, } ``` diff --git a/docs/API_docs/constructors/inputPeerNotifySettings.md b/docs/API_docs/constructors/inputPeerNotifySettings.md index 3d7efe93..d8db7388 100644 --- a/docs/API_docs/constructors/inputPeerNotifySettings.md +++ b/docs/API_docs/constructors/inputPeerNotifySettings.md @@ -24,14 +24,14 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=true, silent=true, mute_until=int, sound=string, } +inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } ``` diff --git a/docs/API_docs/constructors/keyboardButtonSwitchInline.md b/docs/API_docs/constructors/keyboardButtonSwitchInline.md index 6ae1d5c8..d93e0087 100644 --- a/docs/API_docs/constructors/keyboardButtonSwitchInline.md +++ b/docs/API_docs/constructors/keyboardButtonSwitchInline.md @@ -23,14 +23,14 @@ description: keyboardButtonSwitchInline attributes, type and example ### Example: ``` -$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => true, 'text' => string, 'query' => string, ]; +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ]; ``` Or, if you're into Lua: ``` -keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=true, text=string, query=string, } +keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text=string, query=string, } ``` diff --git a/docs/API_docs/constructors/message.md b/docs/API_docs/constructors/message.md index 919e0e98..8ecae9bf 100644 --- a/docs/API_docs/constructors/message.md +++ b/docs/API_docs/constructors/message.md @@ -38,14 +38,14 @@ description: message attributes, type and example ### Example: ``` -$message = ['_' => 'message', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; +$message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` Or, if you're into Lua: ``` -message={_='message', out=true, mentioned=true, media_unread=true, silent=true, post=true, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, } +message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, } ``` diff --git a/docs/API_docs/constructors/messageService.md b/docs/API_docs/constructors/messageService.md index ff860435..2b2990c5 100644 --- a/docs/API_docs/constructors/messageService.md +++ b/docs/API_docs/constructors/messageService.md @@ -31,14 +31,14 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` Or, if you're into Lua: ``` -messageService={_='messageService', out=true, mentioned=true, media_unread=true, silent=true, post=true, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction, } +messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction, } ``` diff --git a/docs/API_docs/constructors/messages_botCallbackAnswer.md b/docs/API_docs/constructors/messages_botCallbackAnswer.md index f1c0db8e..122fed81 100644 --- a/docs/API_docs/constructors/messages_botCallbackAnswer.md +++ b/docs/API_docs/constructors/messages_botCallbackAnswer.md @@ -25,14 +25,14 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => true, 'has_url' => true, 'message' => string, 'url' => string, 'cache_time' => int, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, 'cache_time' => int, ]; ``` Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=true, has_url=true, message=string, url=string, cache_time=int, } +messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message=string, url=string, cache_time=int, } ``` diff --git a/docs/API_docs/constructors/messages_botResults.md b/docs/API_docs/constructors/messages_botResults.md index 94c453a3..4b893535 100644 --- a/docs/API_docs/constructors/messages_botResults.md +++ b/docs/API_docs/constructors/messages_botResults.md @@ -26,14 +26,14 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int, ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int, ]; ``` Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=true, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, } +messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, } ``` diff --git a/docs/API_docs/constructors/messages_messageEditData.md b/docs/API_docs/constructors/messages_messageEditData.md index 60a82c2b..84fede7d 100644 --- a/docs/API_docs/constructors/messages_messageEditData.md +++ b/docs/API_docs/constructors/messages_messageEditData.md @@ -21,14 +21,14 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => true, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=true, } +messages_messageEditData={_='messages.messageEditData', caption=Bool, } ``` diff --git a/docs/API_docs/constructors/messages_peerDialogs.md b/docs/API_docs/constructors/messages_peerDialogs.md index c266c6e4..3f6ba7b2 100644 --- a/docs/API_docs/constructors/messages_peerDialogs.md +++ b/docs/API_docs/constructors/messages_peerDialogs.md @@ -25,14 +25,14 @@ description: messages_peerDialogs attributes, type and example ### Example: ``` -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State, } +messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/docs/API_docs/constructors/pageBlockEmbed.md b/docs/API_docs/constructors/pageBlockEmbed.md index d493b907..1b0887b7 100644 --- a/docs/API_docs/constructors/pageBlockEmbed.md +++ b/docs/API_docs/constructors/pageBlockEmbed.md @@ -28,14 +28,14 @@ description: pageBlockEmbed attributes, type and example ### Example: ``` -$pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => true, 'allow_scrolling' => true, 'url' => string, 'html' => string, 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText, ]; +$pageBlockEmbed = ['_' => 'pageBlockEmbed', 'full_width' => Bool, 'allow_scrolling' => Bool, 'url' => string, 'html' => string, 'poster_photo_id' => long, 'w' => int, 'h' => int, 'caption' => RichText, ]; ``` Or, if you're into Lua: ``` -pageBlockEmbed={_='pageBlockEmbed', full_width=true, allow_scrolling=true, url=string, html=string, poster_photo_id=long, w=int, h=int, caption=RichText, } +pageBlockEmbed={_='pageBlockEmbed', full_width=Bool, allow_scrolling=Bool, url=string, html=string, poster_photo_id=long, w=int, h=int, caption=RichText, } ``` diff --git a/docs/API_docs/constructors/pageBlockVideo.md b/docs/API_docs/constructors/pageBlockVideo.md index 2f6f9882..73379377 100644 --- a/docs/API_docs/constructors/pageBlockVideo.md +++ b/docs/API_docs/constructors/pageBlockVideo.md @@ -24,14 +24,14 @@ description: pageBlockVideo attributes, type and example ### Example: ``` -$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => true, 'loop' => true, 'video_id' => long, 'caption' => RichText, ]; +$pageBlockVideo = ['_' => 'pageBlockVideo', 'autoplay' => Bool, 'loop' => Bool, 'video_id' => long, 'caption' => RichText, ]; ``` Or, if you're into Lua: ``` -pageBlockVideo={_='pageBlockVideo', autoplay=true, loop=true, video_id=long, caption=RichText, } +pageBlockVideo={_='pageBlockVideo', autoplay=Bool, loop=Bool, video_id=long, caption=RichText, } ``` diff --git a/docs/API_docs/constructors/peerNotifySettings.md b/docs/API_docs/constructors/peerNotifySettings.md index 76e70810..6c2d984e 100644 --- a/docs/API_docs/constructors/peerNotifySettings.md +++ b/docs/API_docs/constructors/peerNotifySettings.md @@ -24,14 +24,14 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=true, silent=true, mute_until=int, sound=string, } +peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } ``` diff --git a/docs/API_docs/constructors/peerSettings.md b/docs/API_docs/constructors/peerSettings.md index a21ad626..0169488e 100644 --- a/docs/API_docs/constructors/peerSettings.md +++ b/docs/API_docs/constructors/peerSettings.md @@ -21,14 +21,14 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => true, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=true, } +peerSettings={_='peerSettings', report_spam=Bool, } ``` diff --git a/docs/API_docs/constructors/phoneCallProtocol.md b/docs/API_docs/constructors/phoneCallProtocol.md index 70e947a8..f69b1a5f 100644 --- a/docs/API_docs/constructors/phoneCallProtocol.md +++ b/docs/API_docs/constructors/phoneCallProtocol.md @@ -24,14 +24,14 @@ description: phoneCallProtocol attributes, type and example ### Example: ``` -$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => true, 'udp_reflector' => true, 'min_layer' => int, 'max_layer' => int, ]; +$phoneCallProtocol = ['_' => 'phoneCallProtocol', 'udp_p2p' => Bool, 'udp_reflector' => Bool, 'min_layer' => int, 'max_layer' => int, ]; ``` Or, if you're into Lua: ``` -phoneCallProtocol={_='phoneCallProtocol', udp_p2p=true, udp_reflector=true, min_layer=int, max_layer=int, } +phoneCallProtocol={_='phoneCallProtocol', udp_p2p=Bool, udp_reflector=Bool, min_layer=int, max_layer=int, } ``` diff --git a/docs/API_docs/constructors/photo.md b/docs/API_docs/constructors/photo.md index 22652163..3ce8cc62 100644 --- a/docs/API_docs/constructors/photo.md +++ b/docs/API_docs/constructors/photo.md @@ -25,14 +25,14 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'has_stickers' => true, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` Or, if you're into Lua: ``` -photo={_='photo', has_stickers=true, id=long, access_hash=long, date=int, sizes={PhotoSize}, } +photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}, } ``` diff --git a/docs/API_docs/constructors/replyKeyboardForceReply.md b/docs/API_docs/constructors/replyKeyboardForceReply.md index 5afcd970..4f319506 100644 --- a/docs/API_docs/constructors/replyKeyboardForceReply.md +++ b/docs/API_docs/constructors/replyKeyboardForceReply.md @@ -22,14 +22,14 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=true, selective=true, } +replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } ``` diff --git a/docs/API_docs/constructors/replyKeyboardHide.md b/docs/API_docs/constructors/replyKeyboardHide.md index 967193cb..56faa8dd 100644 --- a/docs/API_docs/constructors/replyKeyboardHide.md +++ b/docs/API_docs/constructors/replyKeyboardHide.md @@ -21,14 +21,14 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=true, } +replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } ``` diff --git a/docs/API_docs/constructors/replyKeyboardMarkup.md b/docs/API_docs/constructors/replyKeyboardMarkup.md index 5fdc1540..3cebc41f 100644 --- a/docs/API_docs/constructors/replyKeyboardMarkup.md +++ b/docs/API_docs/constructors/replyKeyboardMarkup.md @@ -24,14 +24,14 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=true, single_use=true, selective=true, rows={KeyboardButtonRow}, } +replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } ``` diff --git a/docs/API_docs/constructors/stickerSet.md b/docs/API_docs/constructors/stickerSet.md index cc715ede..183cd048 100644 --- a/docs/API_docs/constructors/stickerSet.md +++ b/docs/API_docs/constructors/stickerSet.md @@ -30,14 +30,14 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'archived' => true, 'official' => true, 'masks' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=true, archived=true, official=true, masks=true, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } ``` diff --git a/docs/API_docs/constructors/updateDialogPinned.md b/docs/API_docs/constructors/updateDialogPinned.md index 3bc45c79..0851cb65 100644 --- a/docs/API_docs/constructors/updateDialogPinned.md +++ b/docs/API_docs/constructors/updateDialogPinned.md @@ -22,14 +22,14 @@ description: updateDialogPinned attributes, type and example ### Example: ``` -$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => true, 'peer' => Peer, ]; +$updateDialogPinned = ['_' => 'updateDialogPinned', 'pinned' => Bool, 'peer' => Peer, ]; ``` Or, if you're into Lua: ``` -updateDialogPinned={_='updateDialogPinned', pinned=true, peer=Peer, } +updateDialogPinned={_='updateDialogPinned', pinned=Bool, peer=Peer, } ``` diff --git a/docs/API_docs/constructors/updateNewStickerSet.md b/docs/API_docs/constructors/updateNewStickerSet.md index 86d773ed..ccb4f17f 100644 --- a/docs/API_docs/constructors/updateNewStickerSet.md +++ b/docs/API_docs/constructors/updateNewStickerSet.md @@ -21,14 +21,14 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet, } +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } ``` diff --git a/docs/API_docs/constructors/updateServiceNotification.md b/docs/API_docs/constructors/updateServiceNotification.md index 6e79aca2..9e55804d 100644 --- a/docs/API_docs/constructors/updateServiceNotification.md +++ b/docs/API_docs/constructors/updateServiceNotification.md @@ -26,14 +26,14 @@ description: updateServiceNotification attributes, type and example ### Example: ``` -$updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => true, 'inbox_date' => int, 'type' => string, 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateServiceNotification = ['_' => 'updateServiceNotification', 'popup' => Bool, 'inbox_date' => int, 'type' => string, 'message' => string, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateServiceNotification={_='updateServiceNotification', popup=true, inbox_date=int, type=string, message=string, media=MessageMedia, entities={MessageEntity}, } +updateServiceNotification={_='updateServiceNotification', popup=Bool, inbox_date=int, type=string, message=string, media=MessageMedia, entities={MessageEntity}, } ``` diff --git a/docs/API_docs/constructors/updateShortChatMessage.md b/docs/API_docs/constructors/updateShortChatMessage.md index 78cad527..5bd6de08 100644 --- a/docs/API_docs/constructors/updateShortChatMessage.md +++ b/docs/API_docs/constructors/updateShortChatMessage.md @@ -35,14 +35,14 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortChatMessage={_='updateShortChatMessage', out=true, mentioned=true, media_unread=true, silent=true, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/docs/API_docs/constructors/updateShortMessage.md b/docs/API_docs/constructors/updateShortMessage.md index 8127dc82..0c46fb50 100644 --- a/docs/API_docs/constructors/updateShortMessage.md +++ b/docs/API_docs/constructors/updateShortMessage.md @@ -34,14 +34,14 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$updateShortMessage = ['_' => 'updateShortMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortMessage={_='updateShortMessage', out=true, mentioned=true, media_unread=true, silent=true, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/docs/API_docs/constructors/updateShortSentMessage.md b/docs/API_docs/constructors/updateShortSentMessage.md index 733d7dc5..2172b3a1 100644 --- a/docs/API_docs/constructors/updateShortSentMessage.md +++ b/docs/API_docs/constructors/updateShortSentMessage.md @@ -27,14 +27,14 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', out=true, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } ``` diff --git a/docs/API_docs/constructors/updateStickerSetsOrder.md b/docs/API_docs/constructors/updateStickerSetsOrder.md index 21436fcf..4b7ad6af 100644 --- a/docs/API_docs/constructors/updateStickerSetsOrder.md +++ b/docs/API_docs/constructors/updateStickerSetsOrder.md @@ -22,14 +22,14 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => true, 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long], ]; ``` Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', masks=true, order={long}, } +updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}, } ``` diff --git a/docs/API_docs/constructors/updates_channelDifference.md b/docs/API_docs/constructors/updates_channelDifference.md index 6bd38491..c64c69b6 100644 --- a/docs/API_docs/constructors/updates_channelDifference.md +++ b/docs/API_docs/constructors/updates_channelDifference.md @@ -27,14 +27,14 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=true, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } ``` diff --git a/docs/API_docs/constructors/updates_channelDifferenceEmpty.md b/docs/API_docs/constructors/updates_channelDifferenceEmpty.md index 0d7ea903..6e4d7bde 100644 --- a/docs/API_docs/constructors/updates_channelDifferenceEmpty.md +++ b/docs/API_docs/constructors/updates_channelDifferenceEmpty.md @@ -23,14 +23,14 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=true, pts=int, timeout=int, } +updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } ``` diff --git a/docs/API_docs/constructors/updates_channelDifferenceTooLong.md b/docs/API_docs/constructors/updates_channelDifferenceTooLong.md index 8ed294c8..0e295673 100644 --- a/docs/API_docs/constructors/updates_channelDifferenceTooLong.md +++ b/docs/API_docs/constructors/updates_channelDifferenceTooLong.md @@ -30,14 +30,14 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=true, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}, } +updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}, } ``` diff --git a/docs/API_docs/constructors/updates_difference.md b/docs/API_docs/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/docs/API_docs/constructors/updates_difference.md +++ b/docs/API_docs/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/docs/API_docs/constructors/updates_differenceSlice.md b/docs/API_docs/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/docs/API_docs/constructors/updates_differenceSlice.md +++ b/docs/API_docs/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/docs/API_docs/constructors/upload_file.md b/docs/API_docs/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/docs/API_docs/constructors/upload_file.md +++ b/docs/API_docs/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/docs/API_docs/constructors/user.md b/docs/API_docs/constructors/user.md index 9acab8d6..900236af 100644 --- a/docs/API_docs/constructors/user.md +++ b/docs/API_docs/constructors/user.md @@ -42,14 +42,14 @@ description: user attributes, type and example ### Example: ``` -$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'min' => true, 'bot_inline_geo' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +$user = ['_' => '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, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; ``` Or, if you're into Lua: ``` -user={_='user', self=true, contact=true, mutual_contact=true, deleted=true, bot=true, bot_chat_history=true, bot_nochats=true, verified=true, restricted=true, min=true, bot_inline_geo=true, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } +user={_='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, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } ``` diff --git a/docs/API_docs/constructors/userFull.md b/docs/API_docs/constructors/userFull.md index 0518e4c1..b1866137 100644 --- a/docs/API_docs/constructors/userFull.md +++ b/docs/API_docs/constructors/userFull.md @@ -29,14 +29,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'blocked' => true, 'phone_calls_available' => true, 'user' => User, 'about' => string, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int, ]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', blocked=true, phone_calls_available=true, user=User, about=string, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int, } +userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, user=User, about=string, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int, } ``` diff --git a/docs/MTProto_docs/constructors/msg_container.md b/docs/MTProto_docs/constructors/msg_container.md index 03e82c87..ce2c512a 100644 --- a/docs/MTProto_docs/constructors/msg_container.md +++ b/docs/MTProto_docs/constructors/msg_container.md @@ -21,14 +21,14 @@ description: msg_container attributes, type and example ### Example: ``` -$msg_container = ['_' => 'msg_container', 'messages' => [%MTMessage], ]; +$msg_container = ['_' => 'msg_container', 'messages' => [MTmessage], ]; ``` Or, if you're into Lua: ``` -msg_container={_='msg_container', messages={%MTMessage}, } +msg_container={_='msg_container', messages={MTmessage}, } ``` diff --git a/docs/TD_docs/constructors/test_vectorIntObject.md b/docs/TD_docs/constructors/test_vectorIntObject.md index 4ce673ad..72f639e1 100644 --- a/docs/TD_docs/constructors/test_vectorIntObject.md +++ b/docs/TD_docs/constructors/test_vectorIntObject.md @@ -21,14 +21,14 @@ description: test_vectorIntObject attributes, type and example ### Example: ``` -$test_vectorIntObject = ['_' => 'test.vectorIntObject', 'value' => [test.Int], ]; +$test_vectorIntObject = ['_' => 'test.vectorIntObject', 'value' => [test_Int], ]; ``` Or, if you're into Lua: ``` -test_vectorIntObject={_='test.vectorIntObject', value={test.Int}, } +test_vectorIntObject={_='test.vectorIntObject', value={test_Int}, } ``` diff --git a/docs/TD_docs/constructors/test_vectorStringObject.md b/docs/TD_docs/constructors/test_vectorStringObject.md index de5b9d36..5f643b89 100644 --- a/docs/TD_docs/constructors/test_vectorStringObject.md +++ b/docs/TD_docs/constructors/test_vectorStringObject.md @@ -21,14 +21,14 @@ description: test_vectorStringObject attributes, type and example ### Example: ``` -$test_vectorStringObject = ['_' => 'test.vectorStringObject', 'value' => [test.String], ]; +$test_vectorStringObject = ['_' => 'test.vectorStringObject', 'value' => [test_String], ]; ``` Or, if you're into Lua: ``` -test_vectorStringObject={_='test.vectorStringObject', value={test.String}, } +test_vectorStringObject={_='test.vectorStringObject', value={test_String}, } ``` diff --git a/old_docs/API_docs_v18/constructors/contacts_link.md b/old_docs/API_docs_v18/constructors/contacts_link.md index daa91c0f..b1246bd2 100644 --- a/old_docs/API_docs_v18/constructors/contacts_link.md +++ b/old_docs/API_docs_v18/constructors/contacts_link.md @@ -23,14 +23,14 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User, ]; ``` Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=contacts.MyLink, foreign_link=contacts.ForeignLink, user=User, } +contacts_link={_='contacts.link', my_link=contacts_MyLink, foreign_link=contacts_ForeignLink, user=User, } ``` diff --git a/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md index b2c8baef..1c31f100 100644 --- a/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v18/constructors/messages_sentMessageLink.md @@ -25,14 +25,14 @@ description: messages_sentMessageLink attributes, type and example ### Example: ``` -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts.Link], ]; +$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link], ]; ``` Or, if you're into Lua: ``` -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, seq=int, links={contacts.Link}, } +messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, seq=int, links={contacts_Link}, } ``` diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md b/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md index 42cc000c..8cec2c87 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessageLink.md @@ -26,14 +26,14 @@ description: messages_statedMessageLink attributes, type and example ### Example: ``` -$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'links' => [contacts.Link], 'pts' => int, 'seq' => int, ]; +$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ]; ``` Or, if you're into Lua: ``` -messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts.Link}, pts=int, seq=int, } +messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int, } ``` diff --git a/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md b/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md index ec1a454a..970936c9 100644 --- a/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md +++ b/old_docs/API_docs_v18/constructors/messages_statedMessagesLinks.md @@ -26,14 +26,14 @@ description: messages_statedMessagesLinks attributes, type and example ### Example: ``` -$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'links' => [contacts.Link], 'pts' => int, 'seq' => int, ]; +$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ]; ``` Or, if you're into Lua: ``` -messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, links={contacts.Link}, pts=int, seq=int, } +messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int, } ``` diff --git a/old_docs/API_docs_v18/constructors/updateContactLink.md b/old_docs/API_docs_v18/constructors/updateContactLink.md index bb07d7a1..c805df1a 100644 --- a/old_docs/API_docs_v18/constructors/updateContactLink.md +++ b/old_docs/API_docs_v18/constructors/updateContactLink.md @@ -23,14 +23,14 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, ]; ``` Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=contacts.MyLink, foreign_link=contacts.ForeignLink, } +updateContactLink={_='updateContactLink', user_id=int, my_link=contacts_MyLink, foreign_link=contacts_ForeignLink, } ``` diff --git a/old_docs/API_docs_v18/constructors/updates_difference.md b/old_docs/API_docs_v18/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v18/constructors/updates_difference.md +++ b/old_docs/API_docs_v18/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v18/constructors/updates_differenceSlice.md b/old_docs/API_docs_v18/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v18/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v18/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v18/constructors/upload_file.md b/old_docs/API_docs_v18/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v18/constructors/upload_file.md +++ b/old_docs/API_docs_v18/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v18/constructors/userFull.md b/old_docs/API_docs_v18/constructors/userFull.md index fa46c4db..a53b7889 100644 --- a/old_docs/API_docs_v18/constructors/userFull.md +++ b/old_docs/API_docs_v18/constructors/userFull.md @@ -27,14 +27,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name=string, real_last_name=string, } +userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name=string, real_last_name=string, } ``` diff --git a/old_docs/API_docs_v23/constructors/contacts_link.md b/old_docs/API_docs_v23/constructors/contacts_link.md index daa91c0f..b1246bd2 100644 --- a/old_docs/API_docs_v23/constructors/contacts_link.md +++ b/old_docs/API_docs_v23/constructors/contacts_link.md @@ -23,14 +23,14 @@ description: contacts_link attributes, type and example ### Example: ``` -$contacts_link = ['_' => 'contacts.link', 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink, 'user' => User, ]; +$contacts_link = ['_' => 'contacts.link', 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, 'user' => User, ]; ``` Or, if you're into Lua: ``` -contacts_link={_='contacts.link', my_link=contacts.MyLink, foreign_link=contacts.ForeignLink, user=User, } +contacts_link={_='contacts.link', my_link=contacts_MyLink, foreign_link=contacts_ForeignLink, user=User, } ``` diff --git a/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md index b2c8baef..1c31f100 100644 --- a/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v23/constructors/messages_sentMessageLink.md @@ -25,14 +25,14 @@ description: messages_sentMessageLink attributes, type and example ### Example: ``` -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts.Link], ]; +$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'seq' => int, 'links' => [contacts_Link], ]; ``` Or, if you're into Lua: ``` -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, seq=int, links={contacts.Link}, } +messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, seq=int, links={contacts_Link}, } ``` diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md b/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md index 42cc000c..8cec2c87 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessageLink.md @@ -26,14 +26,14 @@ description: messages_statedMessageLink attributes, type and example ### Example: ``` -$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'links' => [contacts.Link], 'pts' => int, 'seq' => int, ]; +$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ]; ``` Or, if you're into Lua: ``` -messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts.Link}, pts=int, seq=int, } +messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int, } ``` diff --git a/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md b/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md index ec1a454a..970936c9 100644 --- a/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md +++ b/old_docs/API_docs_v23/constructors/messages_statedMessagesLinks.md @@ -26,14 +26,14 @@ description: messages_statedMessagesLinks attributes, type and example ### Example: ``` -$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'links' => [contacts.Link], 'pts' => int, 'seq' => int, ]; +$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'links' => [contacts_Link], 'pts' => int, 'seq' => int, ]; ``` Or, if you're into Lua: ``` -messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, links={contacts.Link}, pts=int, seq=int, } +messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, links={contacts_Link}, pts=int, seq=int, } ``` diff --git a/old_docs/API_docs_v23/constructors/updateContactLink.md b/old_docs/API_docs_v23/constructors/updateContactLink.md index bb07d7a1..c805df1a 100644 --- a/old_docs/API_docs_v23/constructors/updateContactLink.md +++ b/old_docs/API_docs_v23/constructors/updateContactLink.md @@ -23,14 +23,14 @@ description: updateContactLink attributes, type and example ### Example: ``` -$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts.MyLink, 'foreign_link' => contacts.ForeignLink, ]; +$updateContactLink = ['_' => 'updateContactLink', 'user_id' => int, 'my_link' => contacts_MyLink, 'foreign_link' => contacts_ForeignLink, ]; ``` Or, if you're into Lua: ``` -updateContactLink={_='updateContactLink', user_id=int, my_link=contacts.MyLink, foreign_link=contacts.ForeignLink, } +updateContactLink={_='updateContactLink', user_id=int, my_link=contacts_MyLink, foreign_link=contacts_ForeignLink, } ``` diff --git a/old_docs/API_docs_v23/constructors/updates_difference.md b/old_docs/API_docs_v23/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v23/constructors/updates_difference.md +++ b/old_docs/API_docs_v23/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v23/constructors/updates_differenceSlice.md b/old_docs/API_docs_v23/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v23/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v23/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v23/constructors/upload_file.md b/old_docs/API_docs_v23/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v23/constructors/upload_file.md +++ b/old_docs/API_docs_v23/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v23/constructors/userFull.md b/old_docs/API_docs_v23/constructors/userFull.md index fa46c4db..a53b7889 100644 --- a/old_docs/API_docs_v23/constructors/userFull.md +++ b/old_docs/API_docs_v23/constructors/userFull.md @@ -27,14 +27,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name=string, real_last_name=string, } +userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name=string, real_last_name=string, } ``` diff --git a/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md index 7454d46a..0b90a3aa 100644 --- a/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v25/constructors/messages_sentMessageLink.md @@ -26,14 +26,14 @@ description: messages_sentMessageLink attributes, type and example ### Example: ``` -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, 'links' => [contacts.Link], 'seq' => int, ]; +$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; ``` Or, if you're into Lua: ``` -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, pts_count=int, links={contacts.Link}, seq=int, } +messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, pts=int, pts_count=int, links={contacts_Link}, seq=int, } ``` diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md b/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md index f66d374e..f7e159d4 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessageLink.md @@ -27,14 +27,14 @@ description: messages_statedMessageLink attributes, type and example ### Example: ``` -$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, 'links' => [contacts.Link], 'seq' => int, ]; +$messages_statedMessageLink = ['_' => 'messages.statedMessageLink', 'message' => Message, 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; ``` Or, if you're into Lua: ``` -messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, pts=int, pts_count=int, links={contacts.Link}, seq=int, } +messages_statedMessageLink={_='messages.statedMessageLink', message=Message, chats={Chat}, users={User}, pts=int, pts_count=int, links={contacts_Link}, seq=int, } ``` diff --git a/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md b/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md index 363c14e2..bba2e03a 100644 --- a/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md +++ b/old_docs/API_docs_v25/constructors/messages_statedMessagesLinks.md @@ -27,14 +27,14 @@ description: messages_statedMessagesLinks attributes, type and example ### Example: ``` -$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, 'links' => [contacts.Link], 'seq' => int, ]; +$messages_statedMessagesLinks = ['_' => 'messages.statedMessagesLinks', 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; ``` Or, if you're into Lua: ``` -messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, pts=int, pts_count=int, links={contacts.Link}, seq=int, } +messages_statedMessagesLinks={_='messages.statedMessagesLinks', messages={Message}, chats={Chat}, users={User}, pts=int, pts_count=int, links={contacts_Link}, seq=int, } ``` diff --git a/old_docs/API_docs_v25/constructors/updates_difference.md b/old_docs/API_docs_v25/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v25/constructors/updates_difference.md +++ b/old_docs/API_docs_v25/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v25/constructors/updates_differenceSlice.md b/old_docs/API_docs_v25/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v25/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v25/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v25/constructors/upload_file.md b/old_docs/API_docs_v25/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v25/constructors/upload_file.md +++ b/old_docs/API_docs_v25/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v25/constructors/userFull.md b/old_docs/API_docs_v25/constructors/userFull.md index fa46c4db..a53b7889 100644 --- a/old_docs/API_docs_v25/constructors/userFull.md +++ b/old_docs/API_docs_v25/constructors/userFull.md @@ -27,14 +27,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name=string, real_last_name=string, } +userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name=string, real_last_name=string, } ``` diff --git a/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md index ea5ce1a4..5733c580 100644 --- a/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v27/constructors/messages_sentMessageLink.md @@ -27,14 +27,14 @@ description: messages_sentMessageLink attributes, type and example ### Example: ``` -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts.Link], 'seq' => int, ]; +$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; ``` Or, if you're into Lua: ``` -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, links={contacts.Link}, seq=int, } +messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, links={contacts_Link}, seq=int, } ``` diff --git a/old_docs/API_docs_v27/constructors/updates_difference.md b/old_docs/API_docs_v27/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v27/constructors/updates_difference.md +++ b/old_docs/API_docs_v27/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v27/constructors/updates_differenceSlice.md b/old_docs/API_docs_v27/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v27/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v27/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v27/constructors/upload_file.md b/old_docs/API_docs_v27/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v27/constructors/upload_file.md +++ b/old_docs/API_docs_v27/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v27/constructors/userFull.md b/old_docs/API_docs_v27/constructors/userFull.md index fa46c4db..a53b7889 100644 --- a/old_docs/API_docs_v27/constructors/userFull.md +++ b/old_docs/API_docs_v27/constructors/userFull.md @@ -27,14 +27,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => string, 'real_last_name' => string, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name=string, real_last_name=string, } +userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name=string, real_last_name=string, } ``` diff --git a/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md b/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md index ea5ce1a4..5733c580 100644 --- a/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md +++ b/old_docs/API_docs_v33/constructors/messages_sentMessageLink.md @@ -27,14 +27,14 @@ description: messages_sentMessageLink attributes, type and example ### Example: ``` -$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts.Link], 'seq' => int, ]; +$messages_sentMessageLink = ['_' => 'messages.sentMessageLink', 'id' => int, 'date' => int, 'media' => MessageMedia, 'pts' => int, 'pts_count' => int, 'links' => [contacts_Link], 'seq' => int, ]; ``` Or, if you're into Lua: ``` -messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, links={contacts.Link}, seq=int, } +messages_sentMessageLink={_='messages.sentMessageLink', id=int, date=int, media=MessageMedia, pts=int, pts_count=int, links={contacts_Link}, seq=int, } ``` diff --git a/old_docs/API_docs_v33/constructors/updates_difference.md b/old_docs/API_docs_v33/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v33/constructors/updates_difference.md +++ b/old_docs/API_docs_v33/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v33/constructors/updates_differenceSlice.md b/old_docs/API_docs_v33/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v33/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v33/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v33/constructors/upload_file.md b/old_docs/API_docs_v33/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v33/constructors/upload_file.md +++ b/old_docs/API_docs_v33/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v33/constructors/userFull.md b/old_docs/API_docs_v33/constructors/userFull.md index 9f8a0da9..eec3fa8c 100644 --- a/old_docs/API_docs_v33/constructors/userFull.md +++ b/old_docs/API_docs_v33/constructors/userFull.md @@ -26,14 +26,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } ``` diff --git a/old_docs/API_docs_v38/constructors/updates_difference.md b/old_docs/API_docs_v38/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v38/constructors/updates_difference.md +++ b/old_docs/API_docs_v38/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v38/constructors/updates_differenceSlice.md b/old_docs/API_docs_v38/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v38/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v38/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v38/constructors/upload_file.md b/old_docs/API_docs_v38/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v38/constructors/upload_file.md +++ b/old_docs/API_docs_v38/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v38/constructors/userFull.md b/old_docs/API_docs_v38/constructors/userFull.md index 9f8a0da9..eec3fa8c 100644 --- a/old_docs/API_docs_v38/constructors/userFull.md +++ b/old_docs/API_docs_v38/constructors/userFull.md @@ -26,14 +26,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } ``` diff --git a/old_docs/API_docs_v40/constructors/updates_difference.md b/old_docs/API_docs_v40/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v40/constructors/updates_difference.md +++ b/old_docs/API_docs_v40/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v40/constructors/updates_differenceSlice.md b/old_docs/API_docs_v40/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v40/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v40/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v40/constructors/upload_file.md b/old_docs/API_docs_v40/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v40/constructors/upload_file.md +++ b/old_docs/API_docs_v40/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v40/constructors/userFull.md b/old_docs/API_docs_v40/constructors/userFull.md index 9f8a0da9..eec3fa8c 100644 --- a/old_docs/API_docs_v40/constructors/userFull.md +++ b/old_docs/API_docs_v40/constructors/userFull.md @@ -26,14 +26,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } ``` diff --git a/old_docs/API_docs_v41/constructors/channel.md b/old_docs/API_docs_v41/constructors/channel.md index 3800591b..9f165331 100644 --- a/old_docs/API_docs_v41/constructors/channel.md +++ b/old_docs/API_docs_v41/constructors/channel.md @@ -35,14 +35,14 @@ description: channel attributes, type and example ### Example: ``` -$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; +$channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; ``` Or, if you're into Lua: ``` -channel={_='channel', creator=true, kicked=true, left=true, editor=true, moderator=true, broadcast=true, verified=true, megagroup=true, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, } +channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, } ``` diff --git a/old_docs/API_docs_v41/constructors/channelFull.md b/old_docs/API_docs_v41/constructors/channelFull.md index 1a609ac2..6fac3d5b 100644 --- a/old_docs/API_docs_v41/constructors/channelFull.md +++ b/old_docs/API_docs_v41/constructors/channelFull.md @@ -35,14 +35,14 @@ description: channelFull attributes, type and example ### Example: ``` -$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; +$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; ``` Or, if you're into Lua: ``` -channelFull={_='channelFull', can_view_participants=true, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, } +channelFull={_='channelFull', can_view_participants=Bool, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, } ``` diff --git a/old_docs/API_docs_v41/constructors/channelMessagesFilter.md b/old_docs/API_docs_v41/constructors/channelMessagesFilter.md index d3525097..c4ba8094 100644 --- a/old_docs/API_docs_v41/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v41/constructors/channelMessagesFilter.md @@ -22,14 +22,14 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'ranges' => [MessageRange], ]; ``` Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', important_only=true, ranges={MessageRange}, } +channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, ranges={MessageRange}, } ``` diff --git a/old_docs/API_docs_v41/constructors/chat.md b/old_docs/API_docs_v41/constructors/chat.md index d999ad0a..9bad67b3 100644 --- a/old_docs/API_docs_v41/constructors/chat.md +++ b/old_docs/API_docs_v41/constructors/chat.md @@ -33,14 +33,14 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` Or, if you're into Lua: ``` -chat={_='chat', creator=true, kicked=true, left=true, admins_enabled=true, admin=true, deactivated=true, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } ``` diff --git a/old_docs/API_docs_v41/constructors/chatInvite.md b/old_docs/API_docs_v41/constructors/chatInvite.md index ff637594..8207c7f1 100644 --- a/old_docs/API_docs_v41/constructors/chatInvite.md +++ b/old_docs/API_docs_v41/constructors/chatInvite.md @@ -25,14 +25,14 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=true, broadcast=true, public=true, megagroup=true, title=string, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } ``` diff --git a/old_docs/API_docs_v41/constructors/dcOption.md b/old_docs/API_docs_v41/constructors/dcOption.md index e457f447..124a7148 100644 --- a/old_docs/API_docs_v41/constructors/dcOption.md +++ b/old_docs/API_docs_v41/constructors/dcOption.md @@ -25,14 +25,14 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=true, media_only=true, id=int, ip_address=string, port=int, } +dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address=string, port=int, } ``` diff --git a/old_docs/API_docs_v41/constructors/message.md b/old_docs/API_docs_v41/constructors/message.md index 4544d3b7..3fffc9df 100644 --- a/old_docs/API_docs_v41/constructors/message.md +++ b/old_docs/API_docs_v41/constructors/message.md @@ -36,14 +36,14 @@ description: message attributes, type and example ### Example: ``` -$message = ['_' => 'message', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, ]; +$message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, ]; ``` Or, if you're into Lua: ``` -message={_='message', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, } +message={_='message', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, } ``` diff --git a/old_docs/API_docs_v41/constructors/messageService.md b/old_docs/API_docs_v41/constructors/messageService.md index ac3804dc..6c59e839 100644 --- a/old_docs/API_docs_v41/constructors/messageService.md +++ b/old_docs/API_docs_v41/constructors/messageService.md @@ -29,14 +29,14 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` Or, if you're into Lua: ``` -messageService={_='messageService', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } ``` diff --git a/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md index 5afcd970..4f319506 100644 --- a/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v41/constructors/replyKeyboardForceReply.md @@ -22,14 +22,14 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=true, selective=true, } +replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } ``` diff --git a/old_docs/API_docs_v41/constructors/replyKeyboardHide.md b/old_docs/API_docs_v41/constructors/replyKeyboardHide.md index 967193cb..56faa8dd 100644 --- a/old_docs/API_docs_v41/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v41/constructors/replyKeyboardHide.md @@ -21,14 +21,14 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=true, } +replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } ``` diff --git a/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md index 5fdc1540..3cebc41f 100644 --- a/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v41/constructors/replyKeyboardMarkup.md @@ -24,14 +24,14 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=true, single_use=true, selective=true, rows={KeyboardButtonRow}, } +replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } ``` diff --git a/old_docs/API_docs_v41/constructors/stickerSet.md b/old_docs/API_docs_v41/constructors/stickerSet.md index a183b839..bed0beeb 100644 --- a/old_docs/API_docs_v41/constructors/stickerSet.md +++ b/old_docs/API_docs_v41/constructors/stickerSet.md @@ -29,14 +29,14 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=true, disabled=true, official=true, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } ``` diff --git a/old_docs/API_docs_v41/constructors/updateShortChatMessage.md b/old_docs/API_docs_v41/constructors/updateShortChatMessage.md index a89e7e22..ce5d7d88 100644 --- a/old_docs/API_docs_v41/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v41/constructors/updateShortChatMessage.md @@ -35,14 +35,14 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortChatMessage={_='updateShortChatMessage', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v41/constructors/updateShortMessage.md b/old_docs/API_docs_v41/constructors/updateShortMessage.md index d615a300..b3220138 100644 --- a/old_docs/API_docs_v41/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v41/constructors/updateShortMessage.md @@ -34,14 +34,14 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortMessage={_='updateShortMessage', unread=true, out=true, mentioned=true, media_unread=true, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortMessage={_='updateShortMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v41/constructors/updateShortSentMessage.md b/old_docs/API_docs_v41/constructors/updateShortSentMessage.md index 4b60a7a0..cf123f7b 100644 --- a/old_docs/API_docs_v41/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v41/constructors/updateShortSentMessage.md @@ -28,14 +28,14 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', unread=true, out=true, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v41/constructors/updates_channelDifference.md b/old_docs/API_docs_v41/constructors/updates_channelDifference.md index 6bd38491..c64c69b6 100644 --- a/old_docs/API_docs_v41/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v41/constructors/updates_channelDifference.md @@ -27,14 +27,14 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=true, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md index 0d7ea903..6e4d7bde 100644 --- a/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v41/constructors/updates_channelDifferenceEmpty.md @@ -23,14 +23,14 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=true, pts=int, timeout=int, } +updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } ``` diff --git a/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md index 193df2be..ca05cf53 100644 --- a/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v41/constructors/updates_channelDifferenceTooLong.md @@ -31,14 +31,14 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=true, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}, } +updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v41/constructors/updates_difference.md b/old_docs/API_docs_v41/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v41/constructors/updates_difference.md +++ b/old_docs/API_docs_v41/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v41/constructors/updates_differenceSlice.md b/old_docs/API_docs_v41/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v41/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v41/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v41/constructors/upload_file.md b/old_docs/API_docs_v41/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v41/constructors/upload_file.md +++ b/old_docs/API_docs_v41/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v41/constructors/user.md b/old_docs/API_docs_v41/constructors/user.md index ef4fa805..a2273bef 100644 --- a/old_docs/API_docs_v41/constructors/user.md +++ b/old_docs/API_docs_v41/constructors/user.md @@ -37,14 +37,14 @@ description: user attributes, type and example ### Example: ``` -$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, ]; +$user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, ]; ``` Or, if you're into Lua: ``` -user={_='user', self=true, contact=true, mutual_contact=true, deleted=true, bot=true, bot_chat_history=true, bot_nochats=true, verified=true, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, } +user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, } ``` diff --git a/old_docs/API_docs_v41/constructors/userFull.md b/old_docs/API_docs_v41/constructors/userFull.md index 9f8a0da9..eec3fa8c 100644 --- a/old_docs/API_docs_v41/constructors/userFull.md +++ b/old_docs/API_docs_v41/constructors/userFull.md @@ -26,14 +26,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } ``` diff --git a/old_docs/API_docs_v42/constructors/channel.md b/old_docs/API_docs_v42/constructors/channel.md index 3800591b..9f165331 100644 --- a/old_docs/API_docs_v42/constructors/channel.md +++ b/old_docs/API_docs_v42/constructors/channel.md @@ -35,14 +35,14 @@ description: channel attributes, type and example ### Example: ``` -$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; +$channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, ]; ``` Or, if you're into Lua: ``` -channel={_='channel', creator=true, kicked=true, left=true, editor=true, moderator=true, broadcast=true, verified=true, megagroup=true, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, } +channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, } ``` diff --git a/old_docs/API_docs_v42/constructors/channelFull.md b/old_docs/API_docs_v42/constructors/channelFull.md index 1a609ac2..6fac3d5b 100644 --- a/old_docs/API_docs_v42/constructors/channelFull.md +++ b/old_docs/API_docs_v42/constructors/channelFull.md @@ -35,14 +35,14 @@ description: channelFull attributes, type and example ### Example: ``` -$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; +$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; ``` Or, if you're into Lua: ``` -channelFull={_='channelFull', can_view_participants=true, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, } +channelFull={_='channelFull', can_view_participants=Bool, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, } ``` diff --git a/old_docs/API_docs_v42/constructors/channelMessagesFilter.md b/old_docs/API_docs_v42/constructors/channelMessagesFilter.md index b54016d4..fe0318da 100644 --- a/old_docs/API_docs_v42/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v42/constructors/channelMessagesFilter.md @@ -23,14 +23,14 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'exclude_new_messages' => true, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', important_only=true, exclude_new_messages=true, ranges={MessageRange}, } +channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}, } ``` diff --git a/old_docs/API_docs_v42/constructors/chat.md b/old_docs/API_docs_v42/constructors/chat.md index d999ad0a..9bad67b3 100644 --- a/old_docs/API_docs_v42/constructors/chat.md +++ b/old_docs/API_docs_v42/constructors/chat.md @@ -33,14 +33,14 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` Or, if you're into Lua: ``` -chat={_='chat', creator=true, kicked=true, left=true, admins_enabled=true, admin=true, deactivated=true, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } ``` diff --git a/old_docs/API_docs_v42/constructors/chatInvite.md b/old_docs/API_docs_v42/constructors/chatInvite.md index ff637594..8207c7f1 100644 --- a/old_docs/API_docs_v42/constructors/chatInvite.md +++ b/old_docs/API_docs_v42/constructors/chatInvite.md @@ -25,14 +25,14 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=true, broadcast=true, public=true, megagroup=true, title=string, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } ``` diff --git a/old_docs/API_docs_v42/constructors/dcOption.md b/old_docs/API_docs_v42/constructors/dcOption.md index e457f447..124a7148 100644 --- a/old_docs/API_docs_v42/constructors/dcOption.md +++ b/old_docs/API_docs_v42/constructors/dcOption.md @@ -25,14 +25,14 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=true, media_only=true, id=int, ip_address=string, port=int, } +dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address=string, port=int, } ``` diff --git a/old_docs/API_docs_v42/constructors/message.md b/old_docs/API_docs_v42/constructors/message.md index 4544d3b7..3fffc9df 100644 --- a/old_docs/API_docs_v42/constructors/message.md +++ b/old_docs/API_docs_v42/constructors/message.md @@ -36,14 +36,14 @@ description: message attributes, type and example ### Example: ``` -$message = ['_' => 'message', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, ]; +$message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, ]; ``` Or, if you're into Lua: ``` -message={_='message', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, } +message={_='message', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, } ``` diff --git a/old_docs/API_docs_v42/constructors/messageService.md b/old_docs/API_docs_v42/constructors/messageService.md index ac3804dc..6c59e839 100644 --- a/old_docs/API_docs_v42/constructors/messageService.md +++ b/old_docs/API_docs_v42/constructors/messageService.md @@ -29,14 +29,14 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` Or, if you're into Lua: ``` -messageService={_='messageService', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } ``` diff --git a/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md index 5afcd970..4f319506 100644 --- a/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v42/constructors/replyKeyboardForceReply.md @@ -22,14 +22,14 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=true, selective=true, } +replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } ``` diff --git a/old_docs/API_docs_v42/constructors/replyKeyboardHide.md b/old_docs/API_docs_v42/constructors/replyKeyboardHide.md index 967193cb..56faa8dd 100644 --- a/old_docs/API_docs_v42/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v42/constructors/replyKeyboardHide.md @@ -21,14 +21,14 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=true, } +replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } ``` diff --git a/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md index 5fdc1540..3cebc41f 100644 --- a/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v42/constructors/replyKeyboardMarkup.md @@ -24,14 +24,14 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=true, single_use=true, selective=true, rows={KeyboardButtonRow}, } +replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } ``` diff --git a/old_docs/API_docs_v42/constructors/stickerSet.md b/old_docs/API_docs_v42/constructors/stickerSet.md index a183b839..bed0beeb 100644 --- a/old_docs/API_docs_v42/constructors/stickerSet.md +++ b/old_docs/API_docs_v42/constructors/stickerSet.md @@ -29,14 +29,14 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=true, disabled=true, official=true, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } ``` diff --git a/old_docs/API_docs_v42/constructors/updateShortChatMessage.md b/old_docs/API_docs_v42/constructors/updateShortChatMessage.md index a89e7e22..ce5d7d88 100644 --- a/old_docs/API_docs_v42/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v42/constructors/updateShortChatMessage.md @@ -35,14 +35,14 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortChatMessage={_='updateShortChatMessage', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v42/constructors/updateShortMessage.md b/old_docs/API_docs_v42/constructors/updateShortMessage.md index d615a300..b3220138 100644 --- a/old_docs/API_docs_v42/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v42/constructors/updateShortMessage.md @@ -34,14 +34,14 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortMessage={_='updateShortMessage', unread=true, out=true, mentioned=true, media_unread=true, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortMessage={_='updateShortMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v42/constructors/updateShortSentMessage.md b/old_docs/API_docs_v42/constructors/updateShortSentMessage.md index 4b60a7a0..cf123f7b 100644 --- a/old_docs/API_docs_v42/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v42/constructors/updateShortSentMessage.md @@ -28,14 +28,14 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', unread=true, out=true, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v42/constructors/updates_channelDifference.md b/old_docs/API_docs_v42/constructors/updates_channelDifference.md index 6bd38491..c64c69b6 100644 --- a/old_docs/API_docs_v42/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v42/constructors/updates_channelDifference.md @@ -27,14 +27,14 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=true, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md index 0d7ea903..6e4d7bde 100644 --- a/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v42/constructors/updates_channelDifferenceEmpty.md @@ -23,14 +23,14 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=true, pts=int, timeout=int, } +updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } ``` diff --git a/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md index 193df2be..ca05cf53 100644 --- a/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v42/constructors/updates_channelDifferenceTooLong.md @@ -31,14 +31,14 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=true, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}, } +updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v42/constructors/updates_difference.md b/old_docs/API_docs_v42/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v42/constructors/updates_difference.md +++ b/old_docs/API_docs_v42/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v42/constructors/updates_differenceSlice.md b/old_docs/API_docs_v42/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v42/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v42/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v42/constructors/upload_file.md b/old_docs/API_docs_v42/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v42/constructors/upload_file.md +++ b/old_docs/API_docs_v42/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v42/constructors/user.md b/old_docs/API_docs_v42/constructors/user.md index ef4fa805..a2273bef 100644 --- a/old_docs/API_docs_v42/constructors/user.md +++ b/old_docs/API_docs_v42/constructors/user.md @@ -37,14 +37,14 @@ description: user attributes, type and example ### Example: ``` -$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, ]; +$user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, ]; ``` Or, if you're into Lua: ``` -user={_='user', self=true, contact=true, mutual_contact=true, deleted=true, bot=true, bot_chat_history=true, bot_nochats=true, verified=true, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, } +user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, } ``` diff --git a/old_docs/API_docs_v42/constructors/userFull.md b/old_docs/API_docs_v42/constructors/userFull.md index 9f8a0da9..eec3fa8c 100644 --- a/old_docs/API_docs_v42/constructors/userFull.md +++ b/old_docs/API_docs_v42/constructors/userFull.md @@ -26,14 +26,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } ``` diff --git a/old_docs/API_docs_v44/constructors/channel.md b/old_docs/API_docs_v44/constructors/channel.md index 01a4dcdc..daeaf2ed 100644 --- a/old_docs/API_docs_v44/constructors/channel.md +++ b/old_docs/API_docs_v44/constructors/channel.md @@ -37,14 +37,14 @@ description: channel attributes, type and example ### Example: ``` -$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restiction_reason' => string, ]; +$channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restiction_reason' => string, ]; ``` Or, if you're into Lua: ``` -channel={_='channel', creator=true, kicked=true, left=true, editor=true, moderator=true, broadcast=true, verified=true, megagroup=true, restricted=true, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restiction_reason=string, } +channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restiction_reason=string, } ``` diff --git a/old_docs/API_docs_v44/constructors/channelFull.md b/old_docs/API_docs_v44/constructors/channelFull.md index 1a609ac2..6fac3d5b 100644 --- a/old_docs/API_docs_v44/constructors/channelFull.md +++ b/old_docs/API_docs_v44/constructors/channelFull.md @@ -35,14 +35,14 @@ description: channelFull attributes, type and example ### Example: ``` -$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; +$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; ``` Or, if you're into Lua: ``` -channelFull={_='channelFull', can_view_participants=true, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, } +channelFull={_='channelFull', can_view_participants=Bool, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, } ``` diff --git a/old_docs/API_docs_v44/constructors/channelMessagesFilter.md b/old_docs/API_docs_v44/constructors/channelMessagesFilter.md index b54016d4..fe0318da 100644 --- a/old_docs/API_docs_v44/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v44/constructors/channelMessagesFilter.md @@ -23,14 +23,14 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'exclude_new_messages' => true, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', important_only=true, exclude_new_messages=true, ranges={MessageRange}, } +channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}, } ``` diff --git a/old_docs/API_docs_v44/constructors/chat.md b/old_docs/API_docs_v44/constructors/chat.md index d999ad0a..9bad67b3 100644 --- a/old_docs/API_docs_v44/constructors/chat.md +++ b/old_docs/API_docs_v44/constructors/chat.md @@ -33,14 +33,14 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` Or, if you're into Lua: ``` -chat={_='chat', creator=true, kicked=true, left=true, admins_enabled=true, admin=true, deactivated=true, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } ``` diff --git a/old_docs/API_docs_v44/constructors/chatInvite.md b/old_docs/API_docs_v44/constructors/chatInvite.md index ff637594..8207c7f1 100644 --- a/old_docs/API_docs_v44/constructors/chatInvite.md +++ b/old_docs/API_docs_v44/constructors/chatInvite.md @@ -25,14 +25,14 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=true, broadcast=true, public=true, megagroup=true, title=string, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } ``` diff --git a/old_docs/API_docs_v44/constructors/dcOption.md b/old_docs/API_docs_v44/constructors/dcOption.md index e457f447..124a7148 100644 --- a/old_docs/API_docs_v44/constructors/dcOption.md +++ b/old_docs/API_docs_v44/constructors/dcOption.md @@ -25,14 +25,14 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=true, media_only=true, id=int, ip_address=string, port=int, } +dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address=string, port=int, } ``` diff --git a/old_docs/API_docs_v44/constructors/message.md b/old_docs/API_docs_v44/constructors/message.md index 4544d3b7..3fffc9df 100644 --- a/old_docs/API_docs_v44/constructors/message.md +++ b/old_docs/API_docs_v44/constructors/message.md @@ -36,14 +36,14 @@ description: message attributes, type and example ### Example: ``` -$message = ['_' => 'message', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, ]; +$message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, ]; ``` Or, if you're into Lua: ``` -message={_='message', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, } +message={_='message', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, } ``` diff --git a/old_docs/API_docs_v44/constructors/messageService.md b/old_docs/API_docs_v44/constructors/messageService.md index ac3804dc..6c59e839 100644 --- a/old_docs/API_docs_v44/constructors/messageService.md +++ b/old_docs/API_docs_v44/constructors/messageService.md @@ -29,14 +29,14 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` Or, if you're into Lua: ``` -messageService={_='messageService', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } ``` diff --git a/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md index 5afcd970..4f319506 100644 --- a/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v44/constructors/replyKeyboardForceReply.md @@ -22,14 +22,14 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=true, selective=true, } +replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } ``` diff --git a/old_docs/API_docs_v44/constructors/replyKeyboardHide.md b/old_docs/API_docs_v44/constructors/replyKeyboardHide.md index 967193cb..56faa8dd 100644 --- a/old_docs/API_docs_v44/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v44/constructors/replyKeyboardHide.md @@ -21,14 +21,14 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=true, } +replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } ``` diff --git a/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md index 5fdc1540..3cebc41f 100644 --- a/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v44/constructors/replyKeyboardMarkup.md @@ -24,14 +24,14 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=true, single_use=true, selective=true, rows={KeyboardButtonRow}, } +replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } ``` diff --git a/old_docs/API_docs_v44/constructors/stickerSet.md b/old_docs/API_docs_v44/constructors/stickerSet.md index a183b839..bed0beeb 100644 --- a/old_docs/API_docs_v44/constructors/stickerSet.md +++ b/old_docs/API_docs_v44/constructors/stickerSet.md @@ -29,14 +29,14 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=true, disabled=true, official=true, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } ``` diff --git a/old_docs/API_docs_v44/constructors/updateNewStickerSet.md b/old_docs/API_docs_v44/constructors/updateNewStickerSet.md index 86d773ed..ccb4f17f 100644 --- a/old_docs/API_docs_v44/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v44/constructors/updateNewStickerSet.md @@ -21,14 +21,14 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet, } +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } ``` diff --git a/old_docs/API_docs_v44/constructors/updateShortChatMessage.md b/old_docs/API_docs_v44/constructors/updateShortChatMessage.md index a89e7e22..ce5d7d88 100644 --- a/old_docs/API_docs_v44/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v44/constructors/updateShortChatMessage.md @@ -35,14 +35,14 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortChatMessage={_='updateShortChatMessage', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v44/constructors/updateShortMessage.md b/old_docs/API_docs_v44/constructors/updateShortMessage.md index d615a300..b3220138 100644 --- a/old_docs/API_docs_v44/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v44/constructors/updateShortMessage.md @@ -34,14 +34,14 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortMessage={_='updateShortMessage', unread=true, out=true, mentioned=true, media_unread=true, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortMessage={_='updateShortMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v44/constructors/updateShortSentMessage.md b/old_docs/API_docs_v44/constructors/updateShortSentMessage.md index 4b60a7a0..cf123f7b 100644 --- a/old_docs/API_docs_v44/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v44/constructors/updateShortSentMessage.md @@ -28,14 +28,14 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', unread=true, out=true, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v44/constructors/updates_channelDifference.md b/old_docs/API_docs_v44/constructors/updates_channelDifference.md index 6bd38491..c64c69b6 100644 --- a/old_docs/API_docs_v44/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v44/constructors/updates_channelDifference.md @@ -27,14 +27,14 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=true, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md index 0d7ea903..6e4d7bde 100644 --- a/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v44/constructors/updates_channelDifferenceEmpty.md @@ -23,14 +23,14 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=true, pts=int, timeout=int, } +updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } ``` diff --git a/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md index 193df2be..ca05cf53 100644 --- a/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v44/constructors/updates_channelDifferenceTooLong.md @@ -31,14 +31,14 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=true, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}, } +updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v44/constructors/updates_difference.md b/old_docs/API_docs_v44/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v44/constructors/updates_difference.md +++ b/old_docs/API_docs_v44/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v44/constructors/updates_differenceSlice.md b/old_docs/API_docs_v44/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v44/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v44/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v44/constructors/upload_file.md b/old_docs/API_docs_v44/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v44/constructors/upload_file.md +++ b/old_docs/API_docs_v44/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v44/constructors/user.md b/old_docs/API_docs_v44/constructors/user.md index 73b0b983..39c781e8 100644 --- a/old_docs/API_docs_v44/constructors/user.md +++ b/old_docs/API_docs_v44/constructors/user.md @@ -39,14 +39,14 @@ description: user attributes, type and example ### Example: ``` -$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restiction_reason' => string, ]; +$user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restiction_reason' => string, ]; ``` Or, if you're into Lua: ``` -user={_='user', self=true, contact=true, mutual_contact=true, deleted=true, bot=true, bot_chat_history=true, bot_nochats=true, verified=true, restricted=true, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restiction_reason=string, } +user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restiction_reason=string, } ``` diff --git a/old_docs/API_docs_v44/constructors/userFull.md b/old_docs/API_docs_v44/constructors/userFull.md index 9f8a0da9..eec3fa8c 100644 --- a/old_docs/API_docs_v44/constructors/userFull.md +++ b/old_docs/API_docs_v44/constructors/userFull.md @@ -26,14 +26,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } ``` diff --git a/old_docs/API_docs_v45/constructors/botInlineMessageText.md b/old_docs/API_docs_v45/constructors/botInlineMessageText.md index 23e32257..c3a64925 100644 --- a/old_docs/API_docs_v45/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v45/constructors/botInlineMessageText.md @@ -23,14 +23,14 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v45/constructors/channel.md b/old_docs/API_docs_v45/constructors/channel.md index cf6f4570..dd755216 100644 --- a/old_docs/API_docs_v45/constructors/channel.md +++ b/old_docs/API_docs_v45/constructors/channel.md @@ -37,14 +37,14 @@ description: channel attributes, type and example ### Example: ``` -$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +$channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` Or, if you're into Lua: ``` -channel={_='channel', creator=true, kicked=true, left=true, editor=true, moderator=true, broadcast=true, verified=true, megagroup=true, restricted=true, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } +channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } ``` diff --git a/old_docs/API_docs_v45/constructors/channelFull.md b/old_docs/API_docs_v45/constructors/channelFull.md index 1a609ac2..6fac3d5b 100644 --- a/old_docs/API_docs_v45/constructors/channelFull.md +++ b/old_docs/API_docs_v45/constructors/channelFull.md @@ -35,14 +35,14 @@ description: channelFull attributes, type and example ### Example: ``` -$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; +$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; ``` Or, if you're into Lua: ``` -channelFull={_='channelFull', can_view_participants=true, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, } +channelFull={_='channelFull', can_view_participants=Bool, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, } ``` diff --git a/old_docs/API_docs_v45/constructors/channelMessagesFilter.md b/old_docs/API_docs_v45/constructors/channelMessagesFilter.md index b54016d4..fe0318da 100644 --- a/old_docs/API_docs_v45/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v45/constructors/channelMessagesFilter.md @@ -23,14 +23,14 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'exclude_new_messages' => true, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', important_only=true, exclude_new_messages=true, ranges={MessageRange}, } +channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}, } ``` diff --git a/old_docs/API_docs_v45/constructors/chat.md b/old_docs/API_docs_v45/constructors/chat.md index d999ad0a..9bad67b3 100644 --- a/old_docs/API_docs_v45/constructors/chat.md +++ b/old_docs/API_docs_v45/constructors/chat.md @@ -33,14 +33,14 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` Or, if you're into Lua: ``` -chat={_='chat', creator=true, kicked=true, left=true, admins_enabled=true, admin=true, deactivated=true, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } ``` diff --git a/old_docs/API_docs_v45/constructors/chatInvite.md b/old_docs/API_docs_v45/constructors/chatInvite.md index ff637594..8207c7f1 100644 --- a/old_docs/API_docs_v45/constructors/chatInvite.md +++ b/old_docs/API_docs_v45/constructors/chatInvite.md @@ -25,14 +25,14 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=true, broadcast=true, public=true, megagroup=true, title=string, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } ``` diff --git a/old_docs/API_docs_v45/constructors/dcOption.md b/old_docs/API_docs_v45/constructors/dcOption.md index e457f447..124a7148 100644 --- a/old_docs/API_docs_v45/constructors/dcOption.md +++ b/old_docs/API_docs_v45/constructors/dcOption.md @@ -25,14 +25,14 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=true, media_only=true, id=int, ip_address=string, port=int, } +dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address=string, port=int, } ``` diff --git a/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md index bdca1dad..51d1fd58 100644 --- a/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v45/constructors/inputBotInlineMessageText.md @@ -23,14 +23,14 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, } +inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v45/constructors/message.md b/old_docs/API_docs_v45/constructors/message.md index ff0ba7a9..1eef33ab 100644 --- a/old_docs/API_docs_v45/constructors/message.md +++ b/old_docs/API_docs_v45/constructors/message.md @@ -37,14 +37,14 @@ description: message attributes, type and example ### Example: ``` -$message = ['_' => 'message', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, ]; +$message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, ]; ``` Or, if you're into Lua: ``` -message={_='message', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, } +message={_='message', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, } ``` diff --git a/old_docs/API_docs_v45/constructors/messageService.md b/old_docs/API_docs_v45/constructors/messageService.md index ac3804dc..6c59e839 100644 --- a/old_docs/API_docs_v45/constructors/messageService.md +++ b/old_docs/API_docs_v45/constructors/messageService.md @@ -29,14 +29,14 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` Or, if you're into Lua: ``` -messageService={_='messageService', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } ``` diff --git a/old_docs/API_docs_v45/constructors/messages_botResults.md b/old_docs/API_docs_v45/constructors/messages_botResults.md index 97600b30..4942a53f 100644 --- a/old_docs/API_docs_v45/constructors/messages_botResults.md +++ b/old_docs/API_docs_v45/constructors/messages_botResults.md @@ -24,14 +24,14 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'results' => [BotInlineResult], ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'results' => [BotInlineResult], ]; ``` Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=true, query_id=long, next_offset=string, results={BotInlineResult}, } +messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, results={BotInlineResult}, } ``` diff --git a/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md index 5afcd970..4f319506 100644 --- a/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v45/constructors/replyKeyboardForceReply.md @@ -22,14 +22,14 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=true, selective=true, } +replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } ``` diff --git a/old_docs/API_docs_v45/constructors/replyKeyboardHide.md b/old_docs/API_docs_v45/constructors/replyKeyboardHide.md index 967193cb..56faa8dd 100644 --- a/old_docs/API_docs_v45/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v45/constructors/replyKeyboardHide.md @@ -21,14 +21,14 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=true, } +replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } ``` diff --git a/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md index 5fdc1540..3cebc41f 100644 --- a/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v45/constructors/replyKeyboardMarkup.md @@ -24,14 +24,14 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=true, single_use=true, selective=true, rows={KeyboardButtonRow}, } +replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } ``` diff --git a/old_docs/API_docs_v45/constructors/stickerSet.md b/old_docs/API_docs_v45/constructors/stickerSet.md index a183b839..bed0beeb 100644 --- a/old_docs/API_docs_v45/constructors/stickerSet.md +++ b/old_docs/API_docs_v45/constructors/stickerSet.md @@ -29,14 +29,14 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=true, disabled=true, official=true, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } ``` diff --git a/old_docs/API_docs_v45/constructors/updateNewStickerSet.md b/old_docs/API_docs_v45/constructors/updateNewStickerSet.md index 86d773ed..ccb4f17f 100644 --- a/old_docs/API_docs_v45/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v45/constructors/updateNewStickerSet.md @@ -21,14 +21,14 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet, } +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } ``` diff --git a/old_docs/API_docs_v45/constructors/updateShortChatMessage.md b/old_docs/API_docs_v45/constructors/updateShortChatMessage.md index 14914ee4..7ada7b18 100644 --- a/old_docs/API_docs_v45/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v45/constructors/updateShortChatMessage.md @@ -36,14 +36,14 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortChatMessage={_='updateShortChatMessage', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v45/constructors/updateShortMessage.md b/old_docs/API_docs_v45/constructors/updateShortMessage.md index e5f0c3fe..ac9c8fe8 100644 --- a/old_docs/API_docs_v45/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v45/constructors/updateShortMessage.md @@ -35,14 +35,14 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortMessage={_='updateShortMessage', unread=true, out=true, mentioned=true, media_unread=true, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortMessage={_='updateShortMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v45/constructors/updateShortSentMessage.md b/old_docs/API_docs_v45/constructors/updateShortSentMessage.md index 4b60a7a0..cf123f7b 100644 --- a/old_docs/API_docs_v45/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v45/constructors/updateShortSentMessage.md @@ -28,14 +28,14 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', unread=true, out=true, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v45/constructors/updates_channelDifference.md b/old_docs/API_docs_v45/constructors/updates_channelDifference.md index 6bd38491..c64c69b6 100644 --- a/old_docs/API_docs_v45/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v45/constructors/updates_channelDifference.md @@ -27,14 +27,14 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=true, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md index 0d7ea903..6e4d7bde 100644 --- a/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v45/constructors/updates_channelDifferenceEmpty.md @@ -23,14 +23,14 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=true, pts=int, timeout=int, } +updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } ``` diff --git a/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md index 193df2be..ca05cf53 100644 --- a/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v45/constructors/updates_channelDifferenceTooLong.md @@ -31,14 +31,14 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=true, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}, } +updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v45/constructors/updates_difference.md b/old_docs/API_docs_v45/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v45/constructors/updates_difference.md +++ b/old_docs/API_docs_v45/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v45/constructors/updates_differenceSlice.md b/old_docs/API_docs_v45/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v45/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v45/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v45/constructors/upload_file.md b/old_docs/API_docs_v45/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v45/constructors/upload_file.md +++ b/old_docs/API_docs_v45/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v45/constructors/user.md b/old_docs/API_docs_v45/constructors/user.md index 190580d0..16355382 100644 --- a/old_docs/API_docs_v45/constructors/user.md +++ b/old_docs/API_docs_v45/constructors/user.md @@ -40,14 +40,14 @@ description: user attributes, type and example ### Example: ``` -$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +$user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; ``` Or, if you're into Lua: ``` -user={_='user', self=true, contact=true, mutual_contact=true, deleted=true, bot=true, bot_chat_history=true, bot_nochats=true, verified=true, restricted=true, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } +user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } ``` diff --git a/old_docs/API_docs_v45/constructors/userFull.md b/old_docs/API_docs_v45/constructors/userFull.md index 9f8a0da9..eec3fa8c 100644 --- a/old_docs/API_docs_v45/constructors/userFull.md +++ b/old_docs/API_docs_v45/constructors/userFull.md @@ -26,14 +26,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } ``` diff --git a/old_docs/API_docs_v46/constructors/botInlineMessageText.md b/old_docs/API_docs_v46/constructors/botInlineMessageText.md index 23e32257..c3a64925 100644 --- a/old_docs/API_docs_v46/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v46/constructors/botInlineMessageText.md @@ -23,14 +23,14 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v46/constructors/channel.md b/old_docs/API_docs_v46/constructors/channel.md index cf6f4570..dd755216 100644 --- a/old_docs/API_docs_v46/constructors/channel.md +++ b/old_docs/API_docs_v46/constructors/channel.md @@ -37,14 +37,14 @@ description: channel attributes, type and example ### Example: ``` -$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +$channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` Or, if you're into Lua: ``` -channel={_='channel', creator=true, kicked=true, left=true, editor=true, moderator=true, broadcast=true, verified=true, megagroup=true, restricted=true, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } +channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } ``` diff --git a/old_docs/API_docs_v46/constructors/channelFull.md b/old_docs/API_docs_v46/constructors/channelFull.md index 1a609ac2..6fac3d5b 100644 --- a/old_docs/API_docs_v46/constructors/channelFull.md +++ b/old_docs/API_docs_v46/constructors/channelFull.md @@ -35,14 +35,14 @@ description: channelFull attributes, type and example ### Example: ``` -$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; +$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, ]; ``` Or, if you're into Lua: ``` -channelFull={_='channelFull', can_view_participants=true, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, } +channelFull={_='channelFull', can_view_participants=Bool, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, } ``` diff --git a/old_docs/API_docs_v46/constructors/channelMessagesFilter.md b/old_docs/API_docs_v46/constructors/channelMessagesFilter.md index b54016d4..fe0318da 100644 --- a/old_docs/API_docs_v46/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v46/constructors/channelMessagesFilter.md @@ -23,14 +23,14 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'exclude_new_messages' => true, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', important_only=true, exclude_new_messages=true, ranges={MessageRange}, } +channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}, } ``` diff --git a/old_docs/API_docs_v46/constructors/chat.md b/old_docs/API_docs_v46/constructors/chat.md index d999ad0a..9bad67b3 100644 --- a/old_docs/API_docs_v46/constructors/chat.md +++ b/old_docs/API_docs_v46/constructors/chat.md @@ -33,14 +33,14 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` Or, if you're into Lua: ``` -chat={_='chat', creator=true, kicked=true, left=true, admins_enabled=true, admin=true, deactivated=true, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } ``` diff --git a/old_docs/API_docs_v46/constructors/chatInvite.md b/old_docs/API_docs_v46/constructors/chatInvite.md index ff637594..8207c7f1 100644 --- a/old_docs/API_docs_v46/constructors/chatInvite.md +++ b/old_docs/API_docs_v46/constructors/chatInvite.md @@ -25,14 +25,14 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=true, broadcast=true, public=true, megagroup=true, title=string, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } ``` diff --git a/old_docs/API_docs_v46/constructors/dcOption.md b/old_docs/API_docs_v46/constructors/dcOption.md index e457f447..124a7148 100644 --- a/old_docs/API_docs_v46/constructors/dcOption.md +++ b/old_docs/API_docs_v46/constructors/dcOption.md @@ -25,14 +25,14 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=true, media_only=true, id=int, ip_address=string, port=int, } +dcOption={_='dcOption', ipv6=Bool, media_only=Bool, id=int, ip_address=string, port=int, } ``` diff --git a/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md index bdca1dad..51d1fd58 100644 --- a/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v46/constructors/inputBotInlineMessageText.md @@ -23,14 +23,14 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, } +inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v46/constructors/message.md b/old_docs/API_docs_v46/constructors/message.md index ff0ba7a9..1eef33ab 100644 --- a/old_docs/API_docs_v46/constructors/message.md +++ b/old_docs/API_docs_v46/constructors/message.md @@ -37,14 +37,14 @@ description: message attributes, type and example ### Example: ``` -$message = ['_' => 'message', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, ]; +$message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, ]; ``` Or, if you're into Lua: ``` -message={_='message', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, } +message={_='message', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, } ``` diff --git a/old_docs/API_docs_v46/constructors/messageService.md b/old_docs/API_docs_v46/constructors/messageService.md index ac3804dc..6c59e839 100644 --- a/old_docs/API_docs_v46/constructors/messageService.md +++ b/old_docs/API_docs_v46/constructors/messageService.md @@ -29,14 +29,14 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'date' => int, 'action' => MessageAction, ]; ``` Or, if you're into Lua: ``` -messageService={_='messageService', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } +messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, to_id=Peer, date=int, action=MessageAction, } ``` diff --git a/old_docs/API_docs_v46/constructors/messages_botResults.md b/old_docs/API_docs_v46/constructors/messages_botResults.md index 97600b30..4942a53f 100644 --- a/old_docs/API_docs_v46/constructors/messages_botResults.md +++ b/old_docs/API_docs_v46/constructors/messages_botResults.md @@ -24,14 +24,14 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'results' => [BotInlineResult], ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'results' => [BotInlineResult], ]; ``` Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=true, query_id=long, next_offset=string, results={BotInlineResult}, } +messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, results={BotInlineResult}, } ``` diff --git a/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md index 5afcd970..4f319506 100644 --- a/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v46/constructors/replyKeyboardForceReply.md @@ -22,14 +22,14 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=true, selective=true, } +replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } ``` diff --git a/old_docs/API_docs_v46/constructors/replyKeyboardHide.md b/old_docs/API_docs_v46/constructors/replyKeyboardHide.md index 967193cb..56faa8dd 100644 --- a/old_docs/API_docs_v46/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v46/constructors/replyKeyboardHide.md @@ -21,14 +21,14 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=true, } +replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } ``` diff --git a/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md index 5fdc1540..3cebc41f 100644 --- a/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v46/constructors/replyKeyboardMarkup.md @@ -24,14 +24,14 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=true, single_use=true, selective=true, rows={KeyboardButtonRow}, } +replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } ``` diff --git a/old_docs/API_docs_v46/constructors/stickerSet.md b/old_docs/API_docs_v46/constructors/stickerSet.md index a183b839..bed0beeb 100644 --- a/old_docs/API_docs_v46/constructors/stickerSet.md +++ b/old_docs/API_docs_v46/constructors/stickerSet.md @@ -29,14 +29,14 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=true, disabled=true, official=true, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } ``` diff --git a/old_docs/API_docs_v46/constructors/updateNewStickerSet.md b/old_docs/API_docs_v46/constructors/updateNewStickerSet.md index 86d773ed..ccb4f17f 100644 --- a/old_docs/API_docs_v46/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v46/constructors/updateNewStickerSet.md @@ -21,14 +21,14 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet, } +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } ``` diff --git a/old_docs/API_docs_v46/constructors/updateShortChatMessage.md b/old_docs/API_docs_v46/constructors/updateShortChatMessage.md index 14914ee4..7ada7b18 100644 --- a/old_docs/API_docs_v46/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v46/constructors/updateShortChatMessage.md @@ -36,14 +36,14 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortChatMessage={_='updateShortChatMessage', unread=true, out=true, mentioned=true, media_unread=true, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v46/constructors/updateShortMessage.md b/old_docs/API_docs_v46/constructors/updateShortMessage.md index e5f0c3fe..ac9c8fe8 100644 --- a/old_docs/API_docs_v46/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v46/constructors/updateShortMessage.md @@ -35,14 +35,14 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from_id' => Peer, 'fwd_date' => int, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortMessage={_='updateShortMessage', unread=true, out=true, mentioned=true, media_unread=true, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortMessage={_='updateShortMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from_id=Peer, fwd_date=int, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v46/constructors/updateShortSentMessage.md b/old_docs/API_docs_v46/constructors/updateShortSentMessage.md index 4b60a7a0..cf123f7b 100644 --- a/old_docs/API_docs_v46/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v46/constructors/updateShortSentMessage.md @@ -28,14 +28,14 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', unread=true, out=true, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v46/constructors/updates_channelDifference.md b/old_docs/API_docs_v46/constructors/updates_channelDifference.md index 173ed113..3e44b0cd 100644 --- a/old_docs/API_docs_v46/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v46/constructors/updates_channelDifference.md @@ -27,14 +27,14 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => true, 'channel_pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=true, channel_pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +updates_channelDifference={_='updates.channelDifference', final=Bool, channel_pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md index 14ec5729..56b04ac8 100644 --- a/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v46/constructors/updates_channelDifferenceEmpty.md @@ -23,14 +23,14 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => true, 'channel_pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=true, channel_pts=int, timeout=int, } +updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, channel_pts=int, timeout=int, } ``` diff --git a/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md index fa002f89..b956131e 100644 --- a/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v46/constructors/updates_channelDifferenceTooLong.md @@ -31,14 +31,14 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => true, 'channel_pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'channel_pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=true, channel_pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}, } +updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, channel_pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v46/constructors/updates_difference.md b/old_docs/API_docs_v46/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v46/constructors/updates_difference.md +++ b/old_docs/API_docs_v46/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v46/constructors/updates_differenceSlice.md b/old_docs/API_docs_v46/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v46/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v46/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v46/constructors/upload_file.md b/old_docs/API_docs_v46/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v46/constructors/upload_file.md +++ b/old_docs/API_docs_v46/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v46/constructors/user.md b/old_docs/API_docs_v46/constructors/user.md index 190580d0..16355382 100644 --- a/old_docs/API_docs_v46/constructors/user.md +++ b/old_docs/API_docs_v46/constructors/user.md @@ -40,14 +40,14 @@ description: user attributes, type and example ### Example: ``` -$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +$user = ['_' => 'user', 'self' => Bool, 'contact' => Bool, 'mutual_contact' => Bool, 'deleted' => Bool, 'bot' => Bool, 'bot_chat_history' => Bool, 'bot_nochats' => Bool, 'verified' => Bool, 'restricted' => Bool, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; ``` Or, if you're into Lua: ``` -user={_='user', self=true, contact=true, mutual_contact=true, deleted=true, bot=true, bot_chat_history=true, bot_nochats=true, verified=true, restricted=true, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } +user={_='user', self=Bool, contact=Bool, mutual_contact=Bool, deleted=Bool, bot=Bool, bot_chat_history=Bool, bot_nochats=Bool, verified=Bool, restricted=Bool, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } ``` diff --git a/old_docs/API_docs_v46/constructors/userFull.md b/old_docs/API_docs_v46/constructors/userFull.md index 9f8a0da9..eec3fa8c 100644 --- a/old_docs/API_docs_v46/constructors/userFull.md +++ b/old_docs/API_docs_v46/constructors/userFull.md @@ -26,14 +26,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } +userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo, } ``` diff --git a/old_docs/API_docs_v51/constructors/auth_sentCode.md b/old_docs/API_docs_v51/constructors/auth_sentCode.md index 2050604d..f3ac1809 100644 --- a/old_docs/API_docs_v51/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v51/constructors/auth_sentCode.md @@ -25,14 +25,14 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => true, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=true, type=auth.SentCodeType, phone_code_hash=string, next_type=auth.CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } ``` diff --git a/old_docs/API_docs_v51/constructors/botInlineMessageText.md b/old_docs/API_docs_v51/constructors/botInlineMessageText.md index 703b9569..750ddf50 100644 --- a/old_docs/API_docs_v51/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v51/constructors/botInlineMessageText.md @@ -24,14 +24,14 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } ``` diff --git a/old_docs/API_docs_v51/constructors/channel.md b/old_docs/API_docs_v51/constructors/channel.md index 857c1c5c..1a1db52f 100644 --- a/old_docs/API_docs_v51/constructors/channel.md +++ b/old_docs/API_docs_v51/constructors/channel.md @@ -40,14 +40,14 @@ description: channel attributes, type and example ### Example: ``` -$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +$channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` Or, if you're into Lua: ``` -channel={_='channel', creator=true, kicked=true, left=true, editor=true, moderator=true, broadcast=true, verified=true, megagroup=true, restricted=true, democracy=true, signatures=true, min=true, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } +channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, democracy=Bool, signatures=Bool, min=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } ``` diff --git a/old_docs/API_docs_v51/constructors/channelFull.md b/old_docs/API_docs_v51/constructors/channelFull.md index 9d5cb1ab..dcd44c78 100644 --- a/old_docs/API_docs_v51/constructors/channelFull.md +++ b/old_docs/API_docs_v51/constructors/channelFull.md @@ -37,14 +37,14 @@ description: channelFull attributes, type and example ### Example: ``` -$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'can_set_username' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; +$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` Or, if you're into Lua: ``` -channelFull={_='channelFull', can_view_participants=true, can_set_username=true, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, } +channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, id=int, about=string, participants_count=int, admins_count=int, kicked_count=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, } ``` diff --git a/old_docs/API_docs_v51/constructors/channelMessagesFilter.md b/old_docs/API_docs_v51/constructors/channelMessagesFilter.md index b54016d4..fe0318da 100644 --- a/old_docs/API_docs_v51/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v51/constructors/channelMessagesFilter.md @@ -23,14 +23,14 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => true, 'exclude_new_messages' => true, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'important_only' => Bool, 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', important_only=true, exclude_new_messages=true, ranges={MessageRange}, } +channelMessagesFilter={_='channelMessagesFilter', important_only=Bool, exclude_new_messages=Bool, ranges={MessageRange}, } ``` diff --git a/old_docs/API_docs_v51/constructors/chat.md b/old_docs/API_docs_v51/constructors/chat.md index d999ad0a..9bad67b3 100644 --- a/old_docs/API_docs_v51/constructors/chat.md +++ b/old_docs/API_docs_v51/constructors/chat.md @@ -33,14 +33,14 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` Or, if you're into Lua: ``` -chat={_='chat', creator=true, kicked=true, left=true, admins_enabled=true, admin=true, deactivated=true, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } ``` diff --git a/old_docs/API_docs_v51/constructors/chatInvite.md b/old_docs/API_docs_v51/constructors/chatInvite.md index ff637594..8207c7f1 100644 --- a/old_docs/API_docs_v51/constructors/chatInvite.md +++ b/old_docs/API_docs_v51/constructors/chatInvite.md @@ -25,14 +25,14 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=true, broadcast=true, public=true, megagroup=true, title=string, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } ``` diff --git a/old_docs/API_docs_v51/constructors/dcOption.md b/old_docs/API_docs_v51/constructors/dcOption.md index 04f6424d..c05fcca1 100644 --- a/old_docs/API_docs_v51/constructors/dcOption.md +++ b/old_docs/API_docs_v51/constructors/dcOption.md @@ -26,14 +26,14 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'tcpo_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=true, media_only=true, tcpo_only=true, id=int, ip_address=string, port=int, } +dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address=string, port=int, } ``` diff --git a/old_docs/API_docs_v51/constructors/documentAttributeAudio.md b/old_docs/API_docs_v51/constructors/documentAttributeAudio.md index 89fabd7a..83ba2eb9 100644 --- a/old_docs/API_docs_v51/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v51/constructors/documentAttributeAudio.md @@ -25,14 +25,14 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => true, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=true, duration=int, title=string, performer=string, waveform=bytes, } +documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } ``` diff --git a/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md index 8c2007e6..6d751de2 100644 --- a/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v51/constructors/inputBotInlineMessageText.md @@ -24,14 +24,14 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } ``` diff --git a/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md index 3d7efe93..d8db7388 100644 --- a/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v51/constructors/inputPeerNotifySettings.md @@ -24,14 +24,14 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=true, silent=true, mute_until=int, sound=string, } +inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } ``` diff --git a/old_docs/API_docs_v51/constructors/message.md b/old_docs/API_docs_v51/constructors/message.md index 8c0f1ade..52f830bd 100644 --- a/old_docs/API_docs_v51/constructors/message.md +++ b/old_docs/API_docs_v51/constructors/message.md @@ -39,14 +39,14 @@ description: message attributes, type and example ### Example: ``` -$message = ['_' => 'message', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; +$message = ['_' => 'message', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` Or, if you're into Lua: ``` -message={_='message', unread=true, out=true, mentioned=true, media_unread=true, silent=true, post=true, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, } +message={_='message', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, } ``` diff --git a/old_docs/API_docs_v51/constructors/messageService.md b/old_docs/API_docs_v51/constructors/messageService.md index 7413c021..801f4bc8 100644 --- a/old_docs/API_docs_v51/constructors/messageService.md +++ b/old_docs/API_docs_v51/constructors/messageService.md @@ -32,14 +32,14 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` Or, if you're into Lua: ``` -messageService={_='messageService', unread=true, out=true, mentioned=true, media_unread=true, silent=true, post=true, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction, } +messageService={_='messageService', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction, } ``` diff --git a/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md index ce1eecd2..0f6860c6 100644 --- a/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v51/constructors/messages_botCallbackAnswer.md @@ -22,14 +22,14 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => true, 'message' => string, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => string, ]; ``` Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=true, message=string, } +messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message=string, } ``` diff --git a/old_docs/API_docs_v51/constructors/messages_botResults.md b/old_docs/API_docs_v51/constructors/messages_botResults.md index fe89b41e..10eb3db0 100644 --- a/old_docs/API_docs_v51/constructors/messages_botResults.md +++ b/old_docs/API_docs_v51/constructors/messages_botResults.md @@ -25,14 +25,14 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; ``` Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=true, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, } +messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, } ``` diff --git a/old_docs/API_docs_v51/constructors/messages_messageEditData.md b/old_docs/API_docs_v51/constructors/messages_messageEditData.md index 60a82c2b..84fede7d 100644 --- a/old_docs/API_docs_v51/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v51/constructors/messages_messageEditData.md @@ -21,14 +21,14 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => true, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=true, } +messages_messageEditData={_='messages.messageEditData', caption=Bool, } ``` diff --git a/old_docs/API_docs_v51/constructors/peerNotifySettings.md b/old_docs/API_docs_v51/constructors/peerNotifySettings.md index 76e70810..6c2d984e 100644 --- a/old_docs/API_docs_v51/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v51/constructors/peerNotifySettings.md @@ -24,14 +24,14 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=true, silent=true, mute_until=int, sound=string, } +peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } ``` diff --git a/old_docs/API_docs_v51/constructors/peerSettings.md b/old_docs/API_docs_v51/constructors/peerSettings.md index a21ad626..0169488e 100644 --- a/old_docs/API_docs_v51/constructors/peerSettings.md +++ b/old_docs/API_docs_v51/constructors/peerSettings.md @@ -21,14 +21,14 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => true, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=true, } +peerSettings={_='peerSettings', report_spam=Bool, } ``` diff --git a/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md index 5afcd970..4f319506 100644 --- a/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v51/constructors/replyKeyboardForceReply.md @@ -22,14 +22,14 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=true, selective=true, } +replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } ``` diff --git a/old_docs/API_docs_v51/constructors/replyKeyboardHide.md b/old_docs/API_docs_v51/constructors/replyKeyboardHide.md index 967193cb..56faa8dd 100644 --- a/old_docs/API_docs_v51/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v51/constructors/replyKeyboardHide.md @@ -21,14 +21,14 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=true, } +replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } ``` diff --git a/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md index 5fdc1540..3cebc41f 100644 --- a/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v51/constructors/replyKeyboardMarkup.md @@ -24,14 +24,14 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=true, single_use=true, selective=true, rows={KeyboardButtonRow}, } +replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } ``` diff --git a/old_docs/API_docs_v51/constructors/stickerSet.md b/old_docs/API_docs_v51/constructors/stickerSet.md index a183b839..bed0beeb 100644 --- a/old_docs/API_docs_v51/constructors/stickerSet.md +++ b/old_docs/API_docs_v51/constructors/stickerSet.md @@ -29,14 +29,14 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=true, disabled=true, official=true, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } ``` diff --git a/old_docs/API_docs_v51/constructors/updateNewStickerSet.md b/old_docs/API_docs_v51/constructors/updateNewStickerSet.md index 86d773ed..ccb4f17f 100644 --- a/old_docs/API_docs_v51/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v51/constructors/updateNewStickerSet.md @@ -21,14 +21,14 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet, } +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } ``` diff --git a/old_docs/API_docs_v51/constructors/updateShortChatMessage.md b/old_docs/API_docs_v51/constructors/updateShortChatMessage.md index bdb1ecbf..2e263f0a 100644 --- a/old_docs/API_docs_v51/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v51/constructors/updateShortChatMessage.md @@ -36,14 +36,14 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortChatMessage={_='updateShortChatMessage', unread=true, out=true, mentioned=true, media_unread=true, silent=true, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortChatMessage={_='updateShortChatMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v51/constructors/updateShortMessage.md b/old_docs/API_docs_v51/constructors/updateShortMessage.md index 12a26643..3f0ee5d0 100644 --- a/old_docs/API_docs_v51/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v51/constructors/updateShortMessage.md @@ -35,14 +35,14 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => true, 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortMessage = ['_' => 'updateShortMessage', 'unread' => Bool, 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortMessage={_='updateShortMessage', unread=true, out=true, mentioned=true, media_unread=true, silent=true, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortMessage={_='updateShortMessage', unread=Bool, out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v51/constructors/updateShortSentMessage.md b/old_docs/API_docs_v51/constructors/updateShortSentMessage.md index 4b60a7a0..cf123f7b 100644 --- a/old_docs/API_docs_v51/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v51/constructors/updateShortSentMessage.md @@ -28,14 +28,14 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => true, 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'unread' => Bool, 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', unread=true, out=true, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +updateShortSentMessage={_='updateShortSentMessage', unread=Bool, out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v51/constructors/updates_channelDifference.md b/old_docs/API_docs_v51/constructors/updates_channelDifference.md index 6bd38491..c64c69b6 100644 --- a/old_docs/API_docs_v51/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v51/constructors/updates_channelDifference.md @@ -27,14 +27,14 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=true, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md index 0d7ea903..6e4d7bde 100644 --- a/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v51/constructors/updates_channelDifferenceEmpty.md @@ -23,14 +23,14 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=true, pts=int, timeout=int, } +updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } ``` diff --git a/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md index 193df2be..ca05cf53 100644 --- a/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v51/constructors/updates_channelDifferenceTooLong.md @@ -31,14 +31,14 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=true, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}, } +updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, messages={Message}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v51/constructors/updates_difference.md b/old_docs/API_docs_v51/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v51/constructors/updates_difference.md +++ b/old_docs/API_docs_v51/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v51/constructors/updates_differenceSlice.md b/old_docs/API_docs_v51/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v51/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v51/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v51/constructors/upload_file.md b/old_docs/API_docs_v51/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v51/constructors/upload_file.md +++ b/old_docs/API_docs_v51/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v51/constructors/user.md b/old_docs/API_docs_v51/constructors/user.md index 9acab8d6..900236af 100644 --- a/old_docs/API_docs_v51/constructors/user.md +++ b/old_docs/API_docs_v51/constructors/user.md @@ -42,14 +42,14 @@ description: user attributes, type and example ### Example: ``` -$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'min' => true, 'bot_inline_geo' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +$user = ['_' => '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, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; ``` Or, if you're into Lua: ``` -user={_='user', self=true, contact=true, mutual_contact=true, deleted=true, bot=true, bot_chat_history=true, bot_nochats=true, verified=true, restricted=true, min=true, bot_inline_geo=true, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } +user={_='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, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } ``` diff --git a/old_docs/API_docs_v51/constructors/userFull.md b/old_docs/API_docs_v51/constructors/userFull.md index f043fc7e..4b9a2346 100644 --- a/old_docs/API_docs_v51/constructors/userFull.md +++ b/old_docs/API_docs_v51/constructors/userFull.md @@ -27,14 +27,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'blocked' => true, 'user' => User, 'about' => string, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', blocked=true, user=User, about=string, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, } +userFull={_='userFull', blocked=Bool, user=User, about=string, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, } ``` diff --git a/old_docs/API_docs_v53/constructors/auth_sentCode.md b/old_docs/API_docs_v53/constructors/auth_sentCode.md index 2050604d..f3ac1809 100644 --- a/old_docs/API_docs_v53/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v53/constructors/auth_sentCode.md @@ -25,14 +25,14 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => true, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=true, type=auth.SentCodeType, phone_code_hash=string, next_type=auth.CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } ``` diff --git a/old_docs/API_docs_v53/constructors/botInlineMessageText.md b/old_docs/API_docs_v53/constructors/botInlineMessageText.md index 703b9569..750ddf50 100644 --- a/old_docs/API_docs_v53/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v53/constructors/botInlineMessageText.md @@ -24,14 +24,14 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } ``` diff --git a/old_docs/API_docs_v53/constructors/channel.md b/old_docs/API_docs_v53/constructors/channel.md index 857c1c5c..1a1db52f 100644 --- a/old_docs/API_docs_v53/constructors/channel.md +++ b/old_docs/API_docs_v53/constructors/channel.md @@ -40,14 +40,14 @@ description: channel attributes, type and example ### Example: ``` -$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +$channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` Or, if you're into Lua: ``` -channel={_='channel', creator=true, kicked=true, left=true, editor=true, moderator=true, broadcast=true, verified=true, megagroup=true, restricted=true, democracy=true, signatures=true, min=true, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } +channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, democracy=Bool, signatures=Bool, min=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } ``` diff --git a/old_docs/API_docs_v53/constructors/channelForbidden.md b/old_docs/API_docs_v53/constructors/channelForbidden.md index 35d130fe..5522fd5c 100644 --- a/old_docs/API_docs_v53/constructors/channelForbidden.md +++ b/old_docs/API_docs_v53/constructors/channelForbidden.md @@ -25,14 +25,14 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', broadcast=true, megagroup=true, id=int, access_hash=long, title=string, } +channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, } ``` diff --git a/old_docs/API_docs_v53/constructors/channelFull.md b/old_docs/API_docs_v53/constructors/channelFull.md index 1b769f7d..2b3387b7 100644 --- a/old_docs/API_docs_v53/constructors/channelFull.md +++ b/old_docs/API_docs_v53/constructors/channelFull.md @@ -37,14 +37,14 @@ description: channelFull attributes, type and example ### Example: ``` -$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'can_set_username' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_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' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; +$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_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' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` Or, if you're into Lua: ``` -channelFull={_='channelFull', can_view_participants=true, can_set_username=true, id=int, about=string, participants_count=int, admins_count=int, kicked_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=int, migrated_from_max_id=int, pinned_msg_id=int, } +channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, id=int, about=string, participants_count=int, admins_count=int, kicked_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=int, migrated_from_max_id=int, pinned_msg_id=int, } ``` diff --git a/old_docs/API_docs_v53/constructors/channelMessagesFilter.md b/old_docs/API_docs_v53/constructors/channelMessagesFilter.md index 67427ede..b8b7725b 100644 --- a/old_docs/API_docs_v53/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v53/constructors/channelMessagesFilter.md @@ -22,14 +22,14 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => true, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=true, ranges={MessageRange}, } +channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}, } ``` diff --git a/old_docs/API_docs_v53/constructors/chat.md b/old_docs/API_docs_v53/constructors/chat.md index d999ad0a..9bad67b3 100644 --- a/old_docs/API_docs_v53/constructors/chat.md +++ b/old_docs/API_docs_v53/constructors/chat.md @@ -33,14 +33,14 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` Or, if you're into Lua: ``` -chat={_='chat', creator=true, kicked=true, left=true, admins_enabled=true, admin=true, deactivated=true, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } ``` diff --git a/old_docs/API_docs_v53/constructors/chatInvite.md b/old_docs/API_docs_v53/constructors/chatInvite.md index ff637594..8207c7f1 100644 --- a/old_docs/API_docs_v53/constructors/chatInvite.md +++ b/old_docs/API_docs_v53/constructors/chatInvite.md @@ -25,14 +25,14 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, ]; ``` Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=true, broadcast=true, public=true, megagroup=true, title=string, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, } ``` diff --git a/old_docs/API_docs_v53/constructors/dcOption.md b/old_docs/API_docs_v53/constructors/dcOption.md index 04f6424d..c05fcca1 100644 --- a/old_docs/API_docs_v53/constructors/dcOption.md +++ b/old_docs/API_docs_v53/constructors/dcOption.md @@ -26,14 +26,14 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'tcpo_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=true, media_only=true, tcpo_only=true, id=int, ip_address=string, port=int, } +dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address=string, port=int, } ``` diff --git a/old_docs/API_docs_v53/constructors/documentAttributeAudio.md b/old_docs/API_docs_v53/constructors/documentAttributeAudio.md index 89fabd7a..83ba2eb9 100644 --- a/old_docs/API_docs_v53/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v53/constructors/documentAttributeAudio.md @@ -25,14 +25,14 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => true, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=true, duration=int, title=string, performer=string, waveform=bytes, } +documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } ``` diff --git a/old_docs/API_docs_v53/constructors/draftMessage.md b/old_docs/API_docs_v53/constructors/draftMessage.md index cea8e9d8..9cbeec53 100644 --- a/old_docs/API_docs_v53/constructors/draftMessage.md +++ b/old_docs/API_docs_v53/constructors/draftMessage.md @@ -25,14 +25,14 @@ description: draftMessage attributes, type and example ### Example: ``` -$draftMessage = ['_' => 'draftMessage', 'no_webpage' => true, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; ``` Or, if you're into Lua: ``` -draftMessage={_='draftMessage', no_webpage=true, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } +draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } ``` diff --git a/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md index 8c2007e6..6d751de2 100644 --- a/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v53/constructors/inputBotInlineMessageText.md @@ -24,14 +24,14 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } ``` diff --git a/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md index 3d7efe93..d8db7388 100644 --- a/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v53/constructors/inputPeerNotifySettings.md @@ -24,14 +24,14 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=true, silent=true, mute_until=int, sound=string, } +inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } ``` diff --git a/old_docs/API_docs_v53/constructors/message.md b/old_docs/API_docs_v53/constructors/message.md index 919e0e98..8ecae9bf 100644 --- a/old_docs/API_docs_v53/constructors/message.md +++ b/old_docs/API_docs_v53/constructors/message.md @@ -38,14 +38,14 @@ description: message attributes, type and example ### Example: ``` -$message = ['_' => 'message', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; +$message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` Or, if you're into Lua: ``` -message={_='message', out=true, mentioned=true, media_unread=true, silent=true, post=true, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, } +message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, } ``` diff --git a/old_docs/API_docs_v53/constructors/messageService.md b/old_docs/API_docs_v53/constructors/messageService.md index ff860435..2b2990c5 100644 --- a/old_docs/API_docs_v53/constructors/messageService.md +++ b/old_docs/API_docs_v53/constructors/messageService.md @@ -31,14 +31,14 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` Or, if you're into Lua: ``` -messageService={_='messageService', out=true, mentioned=true, media_unread=true, silent=true, post=true, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction, } +messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction, } ``` diff --git a/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md index ce1eecd2..0f6860c6 100644 --- a/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v53/constructors/messages_botCallbackAnswer.md @@ -22,14 +22,14 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => true, 'message' => string, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => string, ]; ``` Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=true, message=string, } +messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message=string, } ``` diff --git a/old_docs/API_docs_v53/constructors/messages_botResults.md b/old_docs/API_docs_v53/constructors/messages_botResults.md index fe89b41e..10eb3db0 100644 --- a/old_docs/API_docs_v53/constructors/messages_botResults.md +++ b/old_docs/API_docs_v53/constructors/messages_botResults.md @@ -25,14 +25,14 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; ``` Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=true, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, } +messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, } ``` diff --git a/old_docs/API_docs_v53/constructors/messages_messageEditData.md b/old_docs/API_docs_v53/constructors/messages_messageEditData.md index 60a82c2b..84fede7d 100644 --- a/old_docs/API_docs_v53/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v53/constructors/messages_messageEditData.md @@ -21,14 +21,14 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => true, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=true, } +messages_messageEditData={_='messages.messageEditData', caption=Bool, } ``` diff --git a/old_docs/API_docs_v53/constructors/messages_peerDialogs.md b/old_docs/API_docs_v53/constructors/messages_peerDialogs.md index c266c6e4..3f6ba7b2 100644 --- a/old_docs/API_docs_v53/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v53/constructors/messages_peerDialogs.md @@ -25,14 +25,14 @@ description: messages_peerDialogs attributes, type and example ### Example: ``` -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State, } +messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v53/constructors/peerNotifySettings.md b/old_docs/API_docs_v53/constructors/peerNotifySettings.md index 76e70810..6c2d984e 100644 --- a/old_docs/API_docs_v53/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v53/constructors/peerNotifySettings.md @@ -24,14 +24,14 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=true, silent=true, mute_until=int, sound=string, } +peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } ``` diff --git a/old_docs/API_docs_v53/constructors/peerSettings.md b/old_docs/API_docs_v53/constructors/peerSettings.md index a21ad626..0169488e 100644 --- a/old_docs/API_docs_v53/constructors/peerSettings.md +++ b/old_docs/API_docs_v53/constructors/peerSettings.md @@ -21,14 +21,14 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => true, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=true, } +peerSettings={_='peerSettings', report_spam=Bool, } ``` diff --git a/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md index 5afcd970..4f319506 100644 --- a/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v53/constructors/replyKeyboardForceReply.md @@ -22,14 +22,14 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=true, selective=true, } +replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } ``` diff --git a/old_docs/API_docs_v53/constructors/replyKeyboardHide.md b/old_docs/API_docs_v53/constructors/replyKeyboardHide.md index 967193cb..56faa8dd 100644 --- a/old_docs/API_docs_v53/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v53/constructors/replyKeyboardHide.md @@ -21,14 +21,14 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=true, } +replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } ``` diff --git a/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md index 5fdc1540..3cebc41f 100644 --- a/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v53/constructors/replyKeyboardMarkup.md @@ -24,14 +24,14 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=true, single_use=true, selective=true, rows={KeyboardButtonRow}, } +replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } ``` diff --git a/old_docs/API_docs_v53/constructors/stickerSet.md b/old_docs/API_docs_v53/constructors/stickerSet.md index a183b839..bed0beeb 100644 --- a/old_docs/API_docs_v53/constructors/stickerSet.md +++ b/old_docs/API_docs_v53/constructors/stickerSet.md @@ -29,14 +29,14 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'disabled' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'disabled' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=true, disabled=true, official=true, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', installed=Bool, disabled=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } ``` diff --git a/old_docs/API_docs_v53/constructors/updateNewStickerSet.md b/old_docs/API_docs_v53/constructors/updateNewStickerSet.md index 86d773ed..ccb4f17f 100644 --- a/old_docs/API_docs_v53/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v53/constructors/updateNewStickerSet.md @@ -21,14 +21,14 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet, } +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } ``` diff --git a/old_docs/API_docs_v53/constructors/updateShortChatMessage.md b/old_docs/API_docs_v53/constructors/updateShortChatMessage.md index 78cad527..5bd6de08 100644 --- a/old_docs/API_docs_v53/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v53/constructors/updateShortChatMessage.md @@ -35,14 +35,14 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortChatMessage={_='updateShortChatMessage', out=true, mentioned=true, media_unread=true, silent=true, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v53/constructors/updateShortMessage.md b/old_docs/API_docs_v53/constructors/updateShortMessage.md index 8127dc82..0c46fb50 100644 --- a/old_docs/API_docs_v53/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v53/constructors/updateShortMessage.md @@ -34,14 +34,14 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$updateShortMessage = ['_' => 'updateShortMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortMessage={_='updateShortMessage', out=true, mentioned=true, media_unread=true, silent=true, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v53/constructors/updateShortSentMessage.md b/old_docs/API_docs_v53/constructors/updateShortSentMessage.md index 733d7dc5..2172b3a1 100644 --- a/old_docs/API_docs_v53/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v53/constructors/updateShortSentMessage.md @@ -27,14 +27,14 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', out=true, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v53/constructors/updates_channelDifference.md b/old_docs/API_docs_v53/constructors/updates_channelDifference.md index 6bd38491..c64c69b6 100644 --- a/old_docs/API_docs_v53/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v53/constructors/updates_channelDifference.md @@ -27,14 +27,14 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=true, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md index 0d7ea903..6e4d7bde 100644 --- a/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v53/constructors/updates_channelDifferenceEmpty.md @@ -23,14 +23,14 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=true, pts=int, timeout=int, } +updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } ``` diff --git a/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md index 8ed294c8..0e295673 100644 --- a/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v53/constructors/updates_channelDifferenceTooLong.md @@ -30,14 +30,14 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=true, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}, } +updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v53/constructors/updates_difference.md b/old_docs/API_docs_v53/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v53/constructors/updates_difference.md +++ b/old_docs/API_docs_v53/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v53/constructors/updates_differenceSlice.md b/old_docs/API_docs_v53/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v53/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v53/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v53/constructors/upload_file.md b/old_docs/API_docs_v53/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v53/constructors/upload_file.md +++ b/old_docs/API_docs_v53/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v53/constructors/user.md b/old_docs/API_docs_v53/constructors/user.md index 9acab8d6..900236af 100644 --- a/old_docs/API_docs_v53/constructors/user.md +++ b/old_docs/API_docs_v53/constructors/user.md @@ -42,14 +42,14 @@ description: user attributes, type and example ### Example: ``` -$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'min' => true, 'bot_inline_geo' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +$user = ['_' => '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, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; ``` Or, if you're into Lua: ``` -user={_='user', self=true, contact=true, mutual_contact=true, deleted=true, bot=true, bot_chat_history=true, bot_nochats=true, verified=true, restricted=true, min=true, bot_inline_geo=true, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } +user={_='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, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } ``` diff --git a/old_docs/API_docs_v53/constructors/userFull.md b/old_docs/API_docs_v53/constructors/userFull.md index f043fc7e..4b9a2346 100644 --- a/old_docs/API_docs_v53/constructors/userFull.md +++ b/old_docs/API_docs_v53/constructors/userFull.md @@ -27,14 +27,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'blocked' => true, 'user' => User, 'about' => string, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', blocked=true, user=User, about=string, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, } +userFull={_='userFull', blocked=Bool, user=User, about=string, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, } ``` diff --git a/old_docs/API_docs_v55/constructors/auth_sentCode.md b/old_docs/API_docs_v55/constructors/auth_sentCode.md index 2050604d..f3ac1809 100644 --- a/old_docs/API_docs_v55/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v55/constructors/auth_sentCode.md @@ -25,14 +25,14 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => true, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=true, type=auth.SentCodeType, phone_code_hash=string, next_type=auth.CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } ``` diff --git a/old_docs/API_docs_v55/constructors/botInlineMessageText.md b/old_docs/API_docs_v55/constructors/botInlineMessageText.md index 703b9569..750ddf50 100644 --- a/old_docs/API_docs_v55/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v55/constructors/botInlineMessageText.md @@ -24,14 +24,14 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } ``` diff --git a/old_docs/API_docs_v55/constructors/channel.md b/old_docs/API_docs_v55/constructors/channel.md index 857c1c5c..1a1db52f 100644 --- a/old_docs/API_docs_v55/constructors/channel.md +++ b/old_docs/API_docs_v55/constructors/channel.md @@ -40,14 +40,14 @@ description: channel attributes, type and example ### Example: ``` -$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +$channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` Or, if you're into Lua: ``` -channel={_='channel', creator=true, kicked=true, left=true, editor=true, moderator=true, broadcast=true, verified=true, megagroup=true, restricted=true, democracy=true, signatures=true, min=true, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } +channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, democracy=Bool, signatures=Bool, min=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } ``` diff --git a/old_docs/API_docs_v55/constructors/channelForbidden.md b/old_docs/API_docs_v55/constructors/channelForbidden.md index 35d130fe..5522fd5c 100644 --- a/old_docs/API_docs_v55/constructors/channelForbidden.md +++ b/old_docs/API_docs_v55/constructors/channelForbidden.md @@ -25,14 +25,14 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', broadcast=true, megagroup=true, id=int, access_hash=long, title=string, } +channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, } ``` diff --git a/old_docs/API_docs_v55/constructors/channelFull.md b/old_docs/API_docs_v55/constructors/channelFull.md index 1b769f7d..2b3387b7 100644 --- a/old_docs/API_docs_v55/constructors/channelFull.md +++ b/old_docs/API_docs_v55/constructors/channelFull.md @@ -37,14 +37,14 @@ description: channelFull attributes, type and example ### Example: ``` -$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'can_set_username' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_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' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; +$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_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' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` Or, if you're into Lua: ``` -channelFull={_='channelFull', can_view_participants=true, can_set_username=true, id=int, about=string, participants_count=int, admins_count=int, kicked_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=int, migrated_from_max_id=int, pinned_msg_id=int, } +channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, id=int, about=string, participants_count=int, admins_count=int, kicked_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=int, migrated_from_max_id=int, pinned_msg_id=int, } ``` diff --git a/old_docs/API_docs_v55/constructors/channelMessagesFilter.md b/old_docs/API_docs_v55/constructors/channelMessagesFilter.md index 67427ede..b8b7725b 100644 --- a/old_docs/API_docs_v55/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v55/constructors/channelMessagesFilter.md @@ -22,14 +22,14 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => true, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=true, ranges={MessageRange}, } +channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}, } ``` diff --git a/old_docs/API_docs_v55/constructors/chat.md b/old_docs/API_docs_v55/constructors/chat.md index d999ad0a..9bad67b3 100644 --- a/old_docs/API_docs_v55/constructors/chat.md +++ b/old_docs/API_docs_v55/constructors/chat.md @@ -33,14 +33,14 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` Or, if you're into Lua: ``` -chat={_='chat', creator=true, kicked=true, left=true, admins_enabled=true, admin=true, deactivated=true, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } ``` diff --git a/old_docs/API_docs_v55/constructors/chatInvite.md b/old_docs/API_docs_v55/constructors/chatInvite.md index ef3768cf..7f23c6b9 100644 --- a/old_docs/API_docs_v55/constructors/chatInvite.md +++ b/old_docs/API_docs_v55/constructors/chatInvite.md @@ -28,14 +28,14 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; ``` Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=true, broadcast=true, public=true, megagroup=true, title=string, photo=ChatPhoto, participants_count=int, participants={User}, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, photo=ChatPhoto, participants_count=int, participants={User}, } ``` diff --git a/old_docs/API_docs_v55/constructors/dcOption.md b/old_docs/API_docs_v55/constructors/dcOption.md index 04f6424d..c05fcca1 100644 --- a/old_docs/API_docs_v55/constructors/dcOption.md +++ b/old_docs/API_docs_v55/constructors/dcOption.md @@ -26,14 +26,14 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'tcpo_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=true, media_only=true, tcpo_only=true, id=int, ip_address=string, port=int, } +dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address=string, port=int, } ``` diff --git a/old_docs/API_docs_v55/constructors/documentAttributeAudio.md b/old_docs/API_docs_v55/constructors/documentAttributeAudio.md index 89fabd7a..83ba2eb9 100644 --- a/old_docs/API_docs_v55/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v55/constructors/documentAttributeAudio.md @@ -25,14 +25,14 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => true, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=true, duration=int, title=string, performer=string, waveform=bytes, } +documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } ``` diff --git a/old_docs/API_docs_v55/constructors/draftMessage.md b/old_docs/API_docs_v55/constructors/draftMessage.md index cea8e9d8..9cbeec53 100644 --- a/old_docs/API_docs_v55/constructors/draftMessage.md +++ b/old_docs/API_docs_v55/constructors/draftMessage.md @@ -25,14 +25,14 @@ description: draftMessage attributes, type and example ### Example: ``` -$draftMessage = ['_' => 'draftMessage', 'no_webpage' => true, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; ``` Or, if you're into Lua: ``` -draftMessage={_='draftMessage', no_webpage=true, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } +draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } ``` diff --git a/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md index 8c2007e6..6d751de2 100644 --- a/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v55/constructors/inputBotInlineMessageText.md @@ -24,14 +24,14 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } ``` diff --git a/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md index 3d7efe93..d8db7388 100644 --- a/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v55/constructors/inputPeerNotifySettings.md @@ -24,14 +24,14 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=true, silent=true, mute_until=int, sound=string, } +inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } ``` diff --git a/old_docs/API_docs_v55/constructors/message.md b/old_docs/API_docs_v55/constructors/message.md index 919e0e98..8ecae9bf 100644 --- a/old_docs/API_docs_v55/constructors/message.md +++ b/old_docs/API_docs_v55/constructors/message.md @@ -38,14 +38,14 @@ description: message attributes, type and example ### Example: ``` -$message = ['_' => 'message', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; +$message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` Or, if you're into Lua: ``` -message={_='message', out=true, mentioned=true, media_unread=true, silent=true, post=true, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, } +message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, } ``` diff --git a/old_docs/API_docs_v55/constructors/messageService.md b/old_docs/API_docs_v55/constructors/messageService.md index ff860435..2b2990c5 100644 --- a/old_docs/API_docs_v55/constructors/messageService.md +++ b/old_docs/API_docs_v55/constructors/messageService.md @@ -31,14 +31,14 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` Or, if you're into Lua: ``` -messageService={_='messageService', out=true, mentioned=true, media_unread=true, silent=true, post=true, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction, } +messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction, } ``` diff --git a/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md index 67fced7c..a14d3e57 100644 --- a/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v55/constructors/messages_botCallbackAnswer.md @@ -23,14 +23,14 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => true, 'message' => string, 'url' => string, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'message' => string, 'url' => string, ]; ``` Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=true, message=string, url=string, } +messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, message=string, url=string, } ``` diff --git a/old_docs/API_docs_v55/constructors/messages_botResults.md b/old_docs/API_docs_v55/constructors/messages_botResults.md index fe89b41e..10eb3db0 100644 --- a/old_docs/API_docs_v55/constructors/messages_botResults.md +++ b/old_docs/API_docs_v55/constructors/messages_botResults.md @@ -25,14 +25,14 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; ``` Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=true, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, } +messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, } ``` diff --git a/old_docs/API_docs_v55/constructors/messages_messageEditData.md b/old_docs/API_docs_v55/constructors/messages_messageEditData.md index 60a82c2b..84fede7d 100644 --- a/old_docs/API_docs_v55/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v55/constructors/messages_messageEditData.md @@ -21,14 +21,14 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => true, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=true, } +messages_messageEditData={_='messages.messageEditData', caption=Bool, } ``` diff --git a/old_docs/API_docs_v55/constructors/messages_peerDialogs.md b/old_docs/API_docs_v55/constructors/messages_peerDialogs.md index c266c6e4..3f6ba7b2 100644 --- a/old_docs/API_docs_v55/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v55/constructors/messages_peerDialogs.md @@ -25,14 +25,14 @@ description: messages_peerDialogs attributes, type and example ### Example: ``` -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State, } +messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v55/constructors/peerNotifySettings.md b/old_docs/API_docs_v55/constructors/peerNotifySettings.md index 76e70810..6c2d984e 100644 --- a/old_docs/API_docs_v55/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v55/constructors/peerNotifySettings.md @@ -24,14 +24,14 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=true, silent=true, mute_until=int, sound=string, } +peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } ``` diff --git a/old_docs/API_docs_v55/constructors/peerSettings.md b/old_docs/API_docs_v55/constructors/peerSettings.md index a21ad626..0169488e 100644 --- a/old_docs/API_docs_v55/constructors/peerSettings.md +++ b/old_docs/API_docs_v55/constructors/peerSettings.md @@ -21,14 +21,14 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => true, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=true, } +peerSettings={_='peerSettings', report_spam=Bool, } ``` diff --git a/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md index 5afcd970..4f319506 100644 --- a/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v55/constructors/replyKeyboardForceReply.md @@ -22,14 +22,14 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=true, selective=true, } +replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } ``` diff --git a/old_docs/API_docs_v55/constructors/replyKeyboardHide.md b/old_docs/API_docs_v55/constructors/replyKeyboardHide.md index 967193cb..56faa8dd 100644 --- a/old_docs/API_docs_v55/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v55/constructors/replyKeyboardHide.md @@ -21,14 +21,14 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=true, } +replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } ``` diff --git a/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md index 5fdc1540..3cebc41f 100644 --- a/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v55/constructors/replyKeyboardMarkup.md @@ -24,14 +24,14 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=true, single_use=true, selective=true, rows={KeyboardButtonRow}, } +replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } ``` diff --git a/old_docs/API_docs_v55/constructors/stickerSet.md b/old_docs/API_docs_v55/constructors/stickerSet.md index 9bd9b0b7..13136aae 100644 --- a/old_docs/API_docs_v55/constructors/stickerSet.md +++ b/old_docs/API_docs_v55/constructors/stickerSet.md @@ -29,14 +29,14 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'archived' => true, 'official' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=true, archived=true, official=true, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } ``` diff --git a/old_docs/API_docs_v55/constructors/updateNewStickerSet.md b/old_docs/API_docs_v55/constructors/updateNewStickerSet.md index 86d773ed..ccb4f17f 100644 --- a/old_docs/API_docs_v55/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v55/constructors/updateNewStickerSet.md @@ -21,14 +21,14 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet, } +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } ``` diff --git a/old_docs/API_docs_v55/constructors/updateShortChatMessage.md b/old_docs/API_docs_v55/constructors/updateShortChatMessage.md index 78cad527..5bd6de08 100644 --- a/old_docs/API_docs_v55/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v55/constructors/updateShortChatMessage.md @@ -35,14 +35,14 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortChatMessage={_='updateShortChatMessage', out=true, mentioned=true, media_unread=true, silent=true, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v55/constructors/updateShortMessage.md b/old_docs/API_docs_v55/constructors/updateShortMessage.md index 8127dc82..0c46fb50 100644 --- a/old_docs/API_docs_v55/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v55/constructors/updateShortMessage.md @@ -34,14 +34,14 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$updateShortMessage = ['_' => 'updateShortMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortMessage={_='updateShortMessage', out=true, mentioned=true, media_unread=true, silent=true, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v55/constructors/updateShortSentMessage.md b/old_docs/API_docs_v55/constructors/updateShortSentMessage.md index 733d7dc5..2172b3a1 100644 --- a/old_docs/API_docs_v55/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v55/constructors/updateShortSentMessage.md @@ -27,14 +27,14 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', out=true, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v55/constructors/updates_channelDifference.md b/old_docs/API_docs_v55/constructors/updates_channelDifference.md index 6bd38491..c64c69b6 100644 --- a/old_docs/API_docs_v55/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v55/constructors/updates_channelDifference.md @@ -27,14 +27,14 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=true, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md index 0d7ea903..6e4d7bde 100644 --- a/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v55/constructors/updates_channelDifferenceEmpty.md @@ -23,14 +23,14 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=true, pts=int, timeout=int, } +updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } ``` diff --git a/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md index 8ed294c8..0e295673 100644 --- a/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v55/constructors/updates_channelDifferenceTooLong.md @@ -30,14 +30,14 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=true, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}, } +updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v55/constructors/updates_difference.md b/old_docs/API_docs_v55/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v55/constructors/updates_difference.md +++ b/old_docs/API_docs_v55/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v55/constructors/updates_differenceSlice.md b/old_docs/API_docs_v55/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v55/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v55/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v55/constructors/upload_file.md b/old_docs/API_docs_v55/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v55/constructors/upload_file.md +++ b/old_docs/API_docs_v55/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v55/constructors/user.md b/old_docs/API_docs_v55/constructors/user.md index 9acab8d6..900236af 100644 --- a/old_docs/API_docs_v55/constructors/user.md +++ b/old_docs/API_docs_v55/constructors/user.md @@ -42,14 +42,14 @@ description: user attributes, type and example ### Example: ``` -$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'min' => true, 'bot_inline_geo' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +$user = ['_' => '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, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; ``` Or, if you're into Lua: ``` -user={_='user', self=true, contact=true, mutual_contact=true, deleted=true, bot=true, bot_chat_history=true, bot_nochats=true, verified=true, restricted=true, min=true, bot_inline_geo=true, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } +user={_='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, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } ``` diff --git a/old_docs/API_docs_v55/constructors/userFull.md b/old_docs/API_docs_v55/constructors/userFull.md index f043fc7e..4b9a2346 100644 --- a/old_docs/API_docs_v55/constructors/userFull.md +++ b/old_docs/API_docs_v55/constructors/userFull.md @@ -27,14 +27,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'blocked' => true, 'user' => User, 'about' => string, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', blocked=true, user=User, about=string, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, } +userFull={_='userFull', blocked=Bool, user=User, about=string, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, } ``` diff --git a/old_docs/API_docs_v57/constructors/auth_sentCode.md b/old_docs/API_docs_v57/constructors/auth_sentCode.md index 2050604d..f3ac1809 100644 --- a/old_docs/API_docs_v57/constructors/auth_sentCode.md +++ b/old_docs/API_docs_v57/constructors/auth_sentCode.md @@ -25,14 +25,14 @@ description: auth_sentCode attributes, type and example ### Example: ``` -$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => true, 'type' => auth.SentCodeType, 'phone_code_hash' => string, 'next_type' => auth.CodeType, 'timeout' => int, ]; +$auth_sentCode = ['_' => 'auth.sentCode', 'phone_registered' => Bool, 'type' => auth_SentCodeType, 'phone_code_hash' => string, 'next_type' => auth_CodeType, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -auth_sentCode={_='auth.sentCode', phone_registered=true, type=auth.SentCodeType, phone_code_hash=string, next_type=auth.CodeType, timeout=int, } +auth_sentCode={_='auth.sentCode', phone_registered=Bool, type=auth_SentCodeType, phone_code_hash=string, next_type=auth_CodeType, timeout=int, } ``` diff --git a/old_docs/API_docs_v57/constructors/botInlineMessageText.md b/old_docs/API_docs_v57/constructors/botInlineMessageText.md index 703b9569..750ddf50 100644 --- a/old_docs/API_docs_v57/constructors/botInlineMessageText.md +++ b/old_docs/API_docs_v57/constructors/botInlineMessageText.md @@ -24,14 +24,14 @@ description: botInlineMessageText attributes, type and example ### Example: ``` -$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$botInlineMessageText = ['_' => 'botInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` Or, if you're into Lua: ``` -botInlineMessageText={_='botInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +botInlineMessageText={_='botInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } ``` diff --git a/old_docs/API_docs_v57/constructors/channel.md b/old_docs/API_docs_v57/constructors/channel.md index 857c1c5c..1a1db52f 100644 --- a/old_docs/API_docs_v57/constructors/channel.md +++ b/old_docs/API_docs_v57/constructors/channel.md @@ -40,14 +40,14 @@ description: channel attributes, type and example ### Example: ``` -$channel = ['_' => 'channel', 'creator' => true, 'kicked' => true, 'left' => true, 'editor' => true, 'moderator' => true, 'broadcast' => true, 'verified' => true, 'megagroup' => true, 'restricted' => true, 'democracy' => true, 'signatures' => true, 'min' => true, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; +$channel = ['_' => 'channel', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'editor' => Bool, 'moderator' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'democracy' => Bool, 'signatures' => Bool, 'min' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, 'username' => string, 'photo' => ChatPhoto, 'date' => int, 'version' => int, 'restriction_reason' => string, ]; ``` Or, if you're into Lua: ``` -channel={_='channel', creator=true, kicked=true, left=true, editor=true, moderator=true, broadcast=true, verified=true, megagroup=true, restricted=true, democracy=true, signatures=true, min=true, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } +channel={_='channel', creator=Bool, kicked=Bool, left=Bool, editor=Bool, moderator=Bool, broadcast=Bool, verified=Bool, megagroup=Bool, restricted=Bool, democracy=Bool, signatures=Bool, min=Bool, id=int, access_hash=long, title=string, username=string, photo=ChatPhoto, date=int, version=int, restriction_reason=string, } ``` diff --git a/old_docs/API_docs_v57/constructors/channelForbidden.md b/old_docs/API_docs_v57/constructors/channelForbidden.md index 35d130fe..5522fd5c 100644 --- a/old_docs/API_docs_v57/constructors/channelForbidden.md +++ b/old_docs/API_docs_v57/constructors/channelForbidden.md @@ -25,14 +25,14 @@ description: channelForbidden attributes, type and example ### Example: ``` -$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => true, 'megagroup' => true, 'id' => int, 'access_hash' => long, 'title' => string, ]; +$channelForbidden = ['_' => 'channelForbidden', 'broadcast' => Bool, 'megagroup' => Bool, 'id' => int, 'access_hash' => long, 'title' => string, ]; ``` Or, if you're into Lua: ``` -channelForbidden={_='channelForbidden', broadcast=true, megagroup=true, id=int, access_hash=long, title=string, } +channelForbidden={_='channelForbidden', broadcast=Bool, megagroup=Bool, id=int, access_hash=long, title=string, } ``` diff --git a/old_docs/API_docs_v57/constructors/channelFull.md b/old_docs/API_docs_v57/constructors/channelFull.md index 1b769f7d..2b3387b7 100644 --- a/old_docs/API_docs_v57/constructors/channelFull.md +++ b/old_docs/API_docs_v57/constructors/channelFull.md @@ -37,14 +37,14 @@ description: channelFull attributes, type and example ### Example: ``` -$channelFull = ['_' => 'channelFull', 'can_view_participants' => true, 'can_set_username' => true, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_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' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; +$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'id' => int, 'about' => string, 'participants_count' => int, 'admins_count' => int, 'kicked_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' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, ]; ``` Or, if you're into Lua: ``` -channelFull={_='channelFull', can_view_participants=true, can_set_username=true, id=int, about=string, participants_count=int, admins_count=int, kicked_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=int, migrated_from_max_id=int, pinned_msg_id=int, } +channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, id=int, about=string, participants_count=int, admins_count=int, kicked_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=int, migrated_from_max_id=int, pinned_msg_id=int, } ``` diff --git a/old_docs/API_docs_v57/constructors/channelMessagesFilter.md b/old_docs/API_docs_v57/constructors/channelMessagesFilter.md index 67427ede..b8b7725b 100644 --- a/old_docs/API_docs_v57/constructors/channelMessagesFilter.md +++ b/old_docs/API_docs_v57/constructors/channelMessagesFilter.md @@ -22,14 +22,14 @@ description: channelMessagesFilter attributes, type and example ### Example: ``` -$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => true, 'ranges' => [MessageRange], ]; +$channelMessagesFilter = ['_' => 'channelMessagesFilter', 'exclude_new_messages' => Bool, 'ranges' => [MessageRange], ]; ``` Or, if you're into Lua: ``` -channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=true, ranges={MessageRange}, } +channelMessagesFilter={_='channelMessagesFilter', exclude_new_messages=Bool, ranges={MessageRange}, } ``` diff --git a/old_docs/API_docs_v57/constructors/chat.md b/old_docs/API_docs_v57/constructors/chat.md index d999ad0a..9bad67b3 100644 --- a/old_docs/API_docs_v57/constructors/chat.md +++ b/old_docs/API_docs_v57/constructors/chat.md @@ -33,14 +33,14 @@ description: chat attributes, type and example ### Example: ``` -$chat = ['_' => 'chat', 'creator' => true, 'kicked' => true, 'left' => true, 'admins_enabled' => true, 'admin' => true, 'deactivated' => true, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; +$chat = ['_' => 'chat', 'creator' => Bool, 'kicked' => Bool, 'left' => Bool, 'admins_enabled' => Bool, 'admin' => Bool, 'deactivated' => Bool, 'id' => int, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'date' => int, 'version' => int, 'migrated_to' => InputChannel, ]; ``` Or, if you're into Lua: ``` -chat={_='chat', creator=true, kicked=true, left=true, admins_enabled=true, admin=true, deactivated=true, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } +chat={_='chat', creator=Bool, kicked=Bool, left=Bool, admins_enabled=Bool, admin=Bool, deactivated=Bool, id=int, title=string, photo=ChatPhoto, participants_count=int, date=int, version=int, migrated_to=InputChannel, } ``` diff --git a/old_docs/API_docs_v57/constructors/chatInvite.md b/old_docs/API_docs_v57/constructors/chatInvite.md index ef3768cf..7f23c6b9 100644 --- a/old_docs/API_docs_v57/constructors/chatInvite.md +++ b/old_docs/API_docs_v57/constructors/chatInvite.md @@ -28,14 +28,14 @@ description: chatInvite attributes, type and example ### Example: ``` -$chatInvite = ['_' => 'chatInvite', 'channel' => true, 'broadcast' => true, 'public' => true, 'megagroup' => true, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; +$chatInvite = ['_' => 'chatInvite', 'channel' => Bool, 'broadcast' => Bool, 'public' => Bool, 'megagroup' => Bool, 'title' => string, 'photo' => ChatPhoto, 'participants_count' => int, 'participants' => [User], ]; ``` Or, if you're into Lua: ``` -chatInvite={_='chatInvite', channel=true, broadcast=true, public=true, megagroup=true, title=string, photo=ChatPhoto, participants_count=int, participants={User}, } +chatInvite={_='chatInvite', channel=Bool, broadcast=Bool, public=Bool, megagroup=Bool, title=string, photo=ChatPhoto, participants_count=int, participants={User}, } ``` diff --git a/old_docs/API_docs_v57/constructors/dcOption.md b/old_docs/API_docs_v57/constructors/dcOption.md index 04f6424d..c05fcca1 100644 --- a/old_docs/API_docs_v57/constructors/dcOption.md +++ b/old_docs/API_docs_v57/constructors/dcOption.md @@ -26,14 +26,14 @@ description: dcOption attributes, type and example ### Example: ``` -$dcOption = ['_' => 'dcOption', 'ipv6' => true, 'media_only' => true, 'tcpo_only' => true, 'id' => int, 'ip_address' => string, 'port' => int, ]; +$dcOption = ['_' => 'dcOption', 'ipv6' => Bool, 'media_only' => Bool, 'tcpo_only' => Bool, 'id' => int, 'ip_address' => string, 'port' => int, ]; ``` Or, if you're into Lua: ``` -dcOption={_='dcOption', ipv6=true, media_only=true, tcpo_only=true, id=int, ip_address=string, port=int, } +dcOption={_='dcOption', ipv6=Bool, media_only=Bool, tcpo_only=Bool, id=int, ip_address=string, port=int, } ``` diff --git a/old_docs/API_docs_v57/constructors/documentAttributeAudio.md b/old_docs/API_docs_v57/constructors/documentAttributeAudio.md index 89fabd7a..83ba2eb9 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeAudio.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeAudio.md @@ -25,14 +25,14 @@ description: documentAttributeAudio attributes, type and example ### Example: ``` -$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => true, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; +$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'voice' => Bool, 'duration' => int, 'title' => string, 'performer' => string, 'waveform' => bytes, ]; ``` Or, if you're into Lua: ``` -documentAttributeAudio={_='documentAttributeAudio', voice=true, duration=int, title=string, performer=string, waveform=bytes, } +documentAttributeAudio={_='documentAttributeAudio', voice=Bool, duration=int, title=string, performer=string, waveform=bytes, } ``` diff --git a/old_docs/API_docs_v57/constructors/documentAttributeSticker.md b/old_docs/API_docs_v57/constructors/documentAttributeSticker.md index d8063603..746b6fd0 100644 --- a/old_docs/API_docs_v57/constructors/documentAttributeSticker.md +++ b/old_docs/API_docs_v57/constructors/documentAttributeSticker.md @@ -24,14 +24,14 @@ description: documentAttributeSticker attributes, type and example ### Example: ``` -$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => true, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; +$documentAttributeSticker = ['_' => 'documentAttributeSticker', 'mask' => Bool, 'alt' => string, 'stickerset' => InputStickerSet, 'mask_coords' => MaskCoords, ]; ``` Or, if you're into Lua: ``` -documentAttributeSticker={_='documentAttributeSticker', mask=true, alt=string, stickerset=InputStickerSet, mask_coords=MaskCoords, } +documentAttributeSticker={_='documentAttributeSticker', mask=Bool, alt=string, stickerset=InputStickerSet, mask_coords=MaskCoords, } ``` diff --git a/old_docs/API_docs_v57/constructors/draftMessage.md b/old_docs/API_docs_v57/constructors/draftMessage.md index cea8e9d8..9cbeec53 100644 --- a/old_docs/API_docs_v57/constructors/draftMessage.md +++ b/old_docs/API_docs_v57/constructors/draftMessage.md @@ -25,14 +25,14 @@ description: draftMessage attributes, type and example ### Example: ``` -$draftMessage = ['_' => 'draftMessage', 'no_webpage' => true, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; +$draftMessage = ['_' => 'draftMessage', 'no_webpage' => Bool, 'reply_to_msg_id' => int, 'message' => string, 'entities' => [MessageEntity], 'date' => int, ]; ``` Or, if you're into Lua: ``` -draftMessage={_='draftMessage', no_webpage=true, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } +draftMessage={_='draftMessage', no_webpage=Bool, reply_to_msg_id=int, message=string, entities={MessageEntity}, date=int, } ``` diff --git a/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md b/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md index 8c2007e6..6d751de2 100644 --- a/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md +++ b/old_docs/API_docs_v57/constructors/inputBotInlineMessageText.md @@ -24,14 +24,14 @@ description: inputBotInlineMessageText attributes, type and example ### Example: ``` -$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => true, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; +$inputBotInlineMessageText = ['_' => 'inputBotInlineMessageText', 'no_webpage' => Bool, 'message' => string, 'entities' => [MessageEntity], 'reply_markup' => ReplyMarkup, ]; ``` Or, if you're into Lua: ``` -inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=true, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } +inputBotInlineMessageText={_='inputBotInlineMessageText', no_webpage=Bool, message=string, entities={MessageEntity}, reply_markup=ReplyMarkup, } ``` diff --git a/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md b/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md index 3d7efe93..d8db7388 100644 --- a/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md +++ b/old_docs/API_docs_v57/constructors/inputPeerNotifySettings.md @@ -24,14 +24,14 @@ description: inputPeerNotifySettings attributes, type and example ### Example: ``` -$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +$inputPeerNotifySettings = ['_' => 'inputPeerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` Or, if you're into Lua: ``` -inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=true, silent=true, mute_until=int, sound=string, } +inputPeerNotifySettings={_='inputPeerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } ``` diff --git a/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md b/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md index 6ae1d5c8..d93e0087 100644 --- a/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md +++ b/old_docs/API_docs_v57/constructors/keyboardButtonSwitchInline.md @@ -23,14 +23,14 @@ description: keyboardButtonSwitchInline attributes, type and example ### Example: ``` -$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => true, 'text' => string, 'query' => string, ]; +$keyboardButtonSwitchInline = ['_' => 'keyboardButtonSwitchInline', 'same_peer' => Bool, 'text' => string, 'query' => string, ]; ``` Or, if you're into Lua: ``` -keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=true, text=string, query=string, } +keyboardButtonSwitchInline={_='keyboardButtonSwitchInline', same_peer=Bool, text=string, query=string, } ``` diff --git a/old_docs/API_docs_v57/constructors/message.md b/old_docs/API_docs_v57/constructors/message.md index 919e0e98..8ecae9bf 100644 --- a/old_docs/API_docs_v57/constructors/message.md +++ b/old_docs/API_docs_v57/constructors/message.md @@ -38,14 +38,14 @@ description: message attributes, type and example ### Example: ``` -$message = ['_' => 'message', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; +$message = ['_' => 'message', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'date' => int, 'message' => string, 'media' => MessageMedia, 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'views' => int, 'edit_date' => int, ]; ``` Or, if you're into Lua: ``` -message={_='message', out=true, mentioned=true, media_unread=true, silent=true, post=true, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, } +message={_='message', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, date=int, message=string, media=MessageMedia, reply_markup=ReplyMarkup, entities={MessageEntity}, views=int, edit_date=int, } ``` diff --git a/old_docs/API_docs_v57/constructors/messageService.md b/old_docs/API_docs_v57/constructors/messageService.md index ff860435..2b2990c5 100644 --- a/old_docs/API_docs_v57/constructors/messageService.md +++ b/old_docs/API_docs_v57/constructors/messageService.md @@ -31,14 +31,14 @@ description: messageService attributes, type and example ### Example: ``` -$messageService = ['_' => 'messageService', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'post' => true, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; +$messageService = ['_' => 'messageService', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'post' => Bool, 'id' => int, 'from_id' => int, 'to_id' => Peer, 'reply_to_msg_id' => int, 'date' => int, 'action' => MessageAction, ]; ``` Or, if you're into Lua: ``` -messageService={_='messageService', out=true, mentioned=true, media_unread=true, silent=true, post=true, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction, } +messageService={_='messageService', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, post=Bool, id=int, from_id=int, to_id=Peer, reply_to_msg_id=int, date=int, action=MessageAction, } ``` diff --git a/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md b/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md index f888268f..e847d80c 100644 --- a/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md +++ b/old_docs/API_docs_v57/constructors/messages_botCallbackAnswer.md @@ -24,14 +24,14 @@ description: messages_botCallbackAnswer attributes, type and example ### Example: ``` -$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => true, 'has_url' => true, 'message' => string, 'url' => string, ]; +$messages_botCallbackAnswer = ['_' => 'messages.botCallbackAnswer', 'alert' => Bool, 'has_url' => Bool, 'message' => string, 'url' => string, ]; ``` Or, if you're into Lua: ``` -messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=true, has_url=true, message=string, url=string, } +messages_botCallbackAnswer={_='messages.botCallbackAnswer', alert=Bool, has_url=Bool, message=string, url=string, } ``` diff --git a/old_docs/API_docs_v57/constructors/messages_botResults.md b/old_docs/API_docs_v57/constructors/messages_botResults.md index fe89b41e..10eb3db0 100644 --- a/old_docs/API_docs_v57/constructors/messages_botResults.md +++ b/old_docs/API_docs_v57/constructors/messages_botResults.md @@ -25,14 +25,14 @@ description: messages_botResults attributes, type and example ### Example: ``` -$messages_botResults = ['_' => 'messages.botResults', 'gallery' => true, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; +$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => string, 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], ]; ``` Or, if you're into Lua: ``` -messages_botResults={_='messages.botResults', gallery=true, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, } +messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset=string, switch_pm=InlineBotSwitchPM, results={BotInlineResult}, } ``` diff --git a/old_docs/API_docs_v57/constructors/messages_messageEditData.md b/old_docs/API_docs_v57/constructors/messages_messageEditData.md index 60a82c2b..84fede7d 100644 --- a/old_docs/API_docs_v57/constructors/messages_messageEditData.md +++ b/old_docs/API_docs_v57/constructors/messages_messageEditData.md @@ -21,14 +21,14 @@ description: messages_messageEditData attributes, type and example ### Example: ``` -$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => true, ]; +$messages_messageEditData = ['_' => 'messages.messageEditData', 'caption' => Bool, ]; ``` Or, if you're into Lua: ``` -messages_messageEditData={_='messages.messageEditData', caption=true, } +messages_messageEditData={_='messages.messageEditData', caption=Bool, } ``` diff --git a/old_docs/API_docs_v57/constructors/messages_peerDialogs.md b/old_docs/API_docs_v57/constructors/messages_peerDialogs.md index c266c6e4..3f6ba7b2 100644 --- a/old_docs/API_docs_v57/constructors/messages_peerDialogs.md +++ b/old_docs/API_docs_v57/constructors/messages_peerDialogs.md @@ -25,14 +25,14 @@ description: messages_peerDialogs attributes, type and example ### Example: ``` -$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$messages_peerDialogs = ['_' => 'messages.peerDialogs', 'dialogs' => [Dialog], 'messages' => [Message], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates.State, } +messages_peerDialogs={_='messages.peerDialogs', dialogs={Dialog}, messages={Message}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v57/constructors/peerNotifySettings.md b/old_docs/API_docs_v57/constructors/peerNotifySettings.md index 76e70810..6c2d984e 100644 --- a/old_docs/API_docs_v57/constructors/peerNotifySettings.md +++ b/old_docs/API_docs_v57/constructors/peerNotifySettings.md @@ -24,14 +24,14 @@ description: peerNotifySettings attributes, type and example ### Example: ``` -$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => true, 'silent' => true, 'mute_until' => int, 'sound' => string, ]; +$peerNotifySettings = ['_' => 'peerNotifySettings', 'show_previews' => Bool, 'silent' => Bool, 'mute_until' => int, 'sound' => string, ]; ``` Or, if you're into Lua: ``` -peerNotifySettings={_='peerNotifySettings', show_previews=true, silent=true, mute_until=int, sound=string, } +peerNotifySettings={_='peerNotifySettings', show_previews=Bool, silent=Bool, mute_until=int, sound=string, } ``` diff --git a/old_docs/API_docs_v57/constructors/peerSettings.md b/old_docs/API_docs_v57/constructors/peerSettings.md index a21ad626..0169488e 100644 --- a/old_docs/API_docs_v57/constructors/peerSettings.md +++ b/old_docs/API_docs_v57/constructors/peerSettings.md @@ -21,14 +21,14 @@ description: peerSettings attributes, type and example ### Example: ``` -$peerSettings = ['_' => 'peerSettings', 'report_spam' => true, ]; +$peerSettings = ['_' => 'peerSettings', 'report_spam' => Bool, ]; ``` Or, if you're into Lua: ``` -peerSettings={_='peerSettings', report_spam=true, } +peerSettings={_='peerSettings', report_spam=Bool, } ``` diff --git a/old_docs/API_docs_v57/constructors/photo.md b/old_docs/API_docs_v57/constructors/photo.md index 22652163..3ce8cc62 100644 --- a/old_docs/API_docs_v57/constructors/photo.md +++ b/old_docs/API_docs_v57/constructors/photo.md @@ -25,14 +25,14 @@ description: photo attributes, type and example ### Example: ``` -$photo = ['_' => 'photo', 'has_stickers' => true, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; +$photo = ['_' => 'photo', 'has_stickers' => Bool, 'id' => long, 'access_hash' => long, 'date' => int, 'sizes' => [PhotoSize], ]; ``` Or, if you're into Lua: ``` -photo={_='photo', has_stickers=true, id=long, access_hash=long, date=int, sizes={PhotoSize}, } +photo={_='photo', has_stickers=Bool, id=long, access_hash=long, date=int, sizes={PhotoSize}, } ``` diff --git a/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md b/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md index 5afcd970..4f319506 100644 --- a/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md +++ b/old_docs/API_docs_v57/constructors/replyKeyboardForceReply.md @@ -22,14 +22,14 @@ description: replyKeyboardForceReply attributes, type and example ### Example: ``` -$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => true, 'selective' => true, ]; +$replyKeyboardForceReply = ['_' => 'replyKeyboardForceReply', 'single_use' => Bool, 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=true, selective=true, } +replyKeyboardForceReply={_='replyKeyboardForceReply', single_use=Bool, selective=Bool, } ``` diff --git a/old_docs/API_docs_v57/constructors/replyKeyboardHide.md b/old_docs/API_docs_v57/constructors/replyKeyboardHide.md index 967193cb..56faa8dd 100644 --- a/old_docs/API_docs_v57/constructors/replyKeyboardHide.md +++ b/old_docs/API_docs_v57/constructors/replyKeyboardHide.md @@ -21,14 +21,14 @@ description: replyKeyboardHide attributes, type and example ### Example: ``` -$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => true, ]; +$replyKeyboardHide = ['_' => 'replyKeyboardHide', 'selective' => Bool, ]; ``` Or, if you're into Lua: ``` -replyKeyboardHide={_='replyKeyboardHide', selective=true, } +replyKeyboardHide={_='replyKeyboardHide', selective=Bool, } ``` diff --git a/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md b/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md index 5fdc1540..3cebc41f 100644 --- a/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md +++ b/old_docs/API_docs_v57/constructors/replyKeyboardMarkup.md @@ -24,14 +24,14 @@ description: replyKeyboardMarkup attributes, type and example ### Example: ``` -$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => true, 'single_use' => true, 'selective' => true, 'rows' => [KeyboardButtonRow], ]; +$replyKeyboardMarkup = ['_' => 'replyKeyboardMarkup', 'resize' => Bool, 'single_use' => Bool, 'selective' => Bool, 'rows' => [KeyboardButtonRow], ]; ``` Or, if you're into Lua: ``` -replyKeyboardMarkup={_='replyKeyboardMarkup', resize=true, single_use=true, selective=true, rows={KeyboardButtonRow}, } +replyKeyboardMarkup={_='replyKeyboardMarkup', resize=Bool, single_use=Bool, selective=Bool, rows={KeyboardButtonRow}, } ``` diff --git a/old_docs/API_docs_v57/constructors/stickerSet.md b/old_docs/API_docs_v57/constructors/stickerSet.md index cc715ede..183cd048 100644 --- a/old_docs/API_docs_v57/constructors/stickerSet.md +++ b/old_docs/API_docs_v57/constructors/stickerSet.md @@ -30,14 +30,14 @@ description: stickerSet attributes, type and example ### Example: ``` -$stickerSet = ['_' => 'stickerSet', 'installed' => true, 'archived' => true, 'official' => true, 'masks' => true, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; +$stickerSet = ['_' => 'stickerSet', 'installed' => Bool, 'archived' => Bool, 'official' => Bool, 'masks' => Bool, 'id' => long, 'access_hash' => long, 'title' => string, 'short_name' => string, 'count' => int, 'hash' => int, ]; ``` Or, if you're into Lua: ``` -stickerSet={_='stickerSet', installed=true, archived=true, official=true, masks=true, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } +stickerSet={_='stickerSet', installed=Bool, archived=Bool, official=Bool, masks=Bool, id=long, access_hash=long, title=string, short_name=string, count=int, hash=int, } ``` diff --git a/old_docs/API_docs_v57/constructors/updateNewStickerSet.md b/old_docs/API_docs_v57/constructors/updateNewStickerSet.md index 86d773ed..ccb4f17f 100644 --- a/old_docs/API_docs_v57/constructors/updateNewStickerSet.md +++ b/old_docs/API_docs_v57/constructors/updateNewStickerSet.md @@ -21,14 +21,14 @@ description: updateNewStickerSet attributes, type and example ### Example: ``` -$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages.StickerSet, ]; +$updateNewStickerSet = ['_' => 'updateNewStickerSet', 'stickerset' => messages_StickerSet, ]; ``` Or, if you're into Lua: ``` -updateNewStickerSet={_='updateNewStickerSet', stickerset=messages.StickerSet, } +updateNewStickerSet={_='updateNewStickerSet', stickerset=messages_StickerSet, } ``` diff --git a/old_docs/API_docs_v57/constructors/updateShortChatMessage.md b/old_docs/API_docs_v57/constructors/updateShortChatMessage.md index 78cad527..5bd6de08 100644 --- a/old_docs/API_docs_v57/constructors/updateShortChatMessage.md +++ b/old_docs/API_docs_v57/constructors/updateShortChatMessage.md @@ -35,14 +35,14 @@ description: updateShortChatMessage attributes, type and example ### Example: ``` -$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortChatMessage = ['_' => 'updateShortChatMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'from_id' => int, 'chat_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortChatMessage={_='updateShortChatMessage', out=true, mentioned=true, media_unread=true, silent=true, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortChatMessage={_='updateShortChatMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, from_id=int, chat_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v57/constructors/updateShortMessage.md b/old_docs/API_docs_v57/constructors/updateShortMessage.md index 8127dc82..0c46fb50 100644 --- a/old_docs/API_docs_v57/constructors/updateShortMessage.md +++ b/old_docs/API_docs_v57/constructors/updateShortMessage.md @@ -34,14 +34,14 @@ description: updateShortMessage attributes, type and example ### Example: ``` -$updateShortMessage = ['_' => 'updateShortMessage', 'out' => true, 'mentioned' => true, 'media_unread' => true, 'silent' => true, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; +$updateShortMessage = ['_' => 'updateShortMessage', 'out' => Bool, 'mentioned' => Bool, 'media_unread' => Bool, 'silent' => Bool, 'id' => int, 'user_id' => int, 'message' => string, 'pts' => int, 'pts_count' => int, 'date' => int, 'fwd_from' => MessageFwdHeader, 'via_bot_id' => int, 'reply_to_msg_id' => int, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortMessage={_='updateShortMessage', out=true, mentioned=true, media_unread=true, silent=true, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } +updateShortMessage={_='updateShortMessage', out=Bool, mentioned=Bool, media_unread=Bool, silent=Bool, id=int, user_id=int, message=string, pts=int, pts_count=int, date=int, fwd_from=MessageFwdHeader, via_bot_id=int, reply_to_msg_id=int, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v57/constructors/updateShortSentMessage.md b/old_docs/API_docs_v57/constructors/updateShortSentMessage.md index 733d7dc5..2172b3a1 100644 --- a/old_docs/API_docs_v57/constructors/updateShortSentMessage.md +++ b/old_docs/API_docs_v57/constructors/updateShortSentMessage.md @@ -27,14 +27,14 @@ description: updateShortSentMessage attributes, type and example ### Example: ``` -$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => true, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; +$updateShortSentMessage = ['_' => 'updateShortSentMessage', 'out' => Bool, 'id' => int, 'pts' => int, 'pts_count' => int, 'date' => int, 'media' => MessageMedia, 'entities' => [MessageEntity], ]; ``` Or, if you're into Lua: ``` -updateShortSentMessage={_='updateShortSentMessage', out=true, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } +updateShortSentMessage={_='updateShortSentMessage', out=Bool, id=int, pts=int, pts_count=int, date=int, media=MessageMedia, entities={MessageEntity}, } ``` diff --git a/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md b/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md index 21436fcf..4b7ad6af 100644 --- a/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md +++ b/old_docs/API_docs_v57/constructors/updateStickerSetsOrder.md @@ -22,14 +22,14 @@ description: updateStickerSetsOrder attributes, type and example ### Example: ``` -$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => true, 'order' => [long], ]; +$updateStickerSetsOrder = ['_' => 'updateStickerSetsOrder', 'masks' => Bool, 'order' => [long], ]; ``` Or, if you're into Lua: ``` -updateStickerSetsOrder={_='updateStickerSetsOrder', masks=true, order={long}, } +updateStickerSetsOrder={_='updateStickerSetsOrder', masks=Bool, order={long}, } ``` diff --git a/old_docs/API_docs_v57/constructors/updates_channelDifference.md b/old_docs/API_docs_v57/constructors/updates_channelDifference.md index 6bd38491..c64c69b6 100644 --- a/old_docs/API_docs_v57/constructors/updates_channelDifference.md +++ b/old_docs/API_docs_v57/constructors/updates_channelDifference.md @@ -27,14 +27,14 @@ description: updates_channelDifference attributes, type and example ### Example: ``` -$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => true, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifference = ['_' => 'updates.channelDifference', 'final' => Bool, 'pts' => int, 'timeout' => int, 'new_messages' => [Message], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifference={_='updates.channelDifference', final=true, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } +updates_channelDifference={_='updates.channelDifference', final=Bool, pts=int, timeout=int, new_messages={Message}, other_updates={Update}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md b/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md index 0d7ea903..6e4d7bde 100644 --- a/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md +++ b/old_docs/API_docs_v57/constructors/updates_channelDifferenceEmpty.md @@ -23,14 +23,14 @@ description: updates_channelDifferenceEmpty attributes, type and example ### Example: ``` -$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => true, 'pts' => int, 'timeout' => int, ]; +$updates_channelDifferenceEmpty = ['_' => 'updates.channelDifferenceEmpty', 'final' => Bool, 'pts' => int, 'timeout' => int, ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=true, pts=int, timeout=int, } +updates_channelDifferenceEmpty={_='updates.channelDifferenceEmpty', final=Bool, pts=int, timeout=int, } ``` diff --git a/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md b/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md index 8ed294c8..0e295673 100644 --- a/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md +++ b/old_docs/API_docs_v57/constructors/updates_channelDifferenceTooLong.md @@ -30,14 +30,14 @@ description: updates_channelDifferenceTooLong attributes, type and example ### Example: ``` -$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => true, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; +$updates_channelDifferenceTooLong = ['_' => 'updates.channelDifferenceTooLong', 'final' => Bool, 'pts' => int, 'timeout' => int, 'top_message' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'messages' => [Message], 'chats' => [Chat], 'users' => [User], ]; ``` Or, if you're into Lua: ``` -updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=true, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}, } +updates_channelDifferenceTooLong={_='updates.channelDifferenceTooLong', final=Bool, pts=int, timeout=int, top_message=int, read_inbox_max_id=int, read_outbox_max_id=int, unread_count=int, messages={Message}, chats={Chat}, users={User}, } ``` diff --git a/old_docs/API_docs_v57/constructors/updates_difference.md b/old_docs/API_docs_v57/constructors/updates_difference.md index 6846b139..77353eac 100644 --- a/old_docs/API_docs_v57/constructors/updates_difference.md +++ b/old_docs/API_docs_v57/constructors/updates_difference.md @@ -26,14 +26,14 @@ description: updates_difference attributes, type and example ### Example: ``` -$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates.State, ]; +$updates_difference = ['_' => 'updates.difference', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates.State, } +updates_difference={_='updates.difference', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, state=updates_State, } ``` diff --git a/old_docs/API_docs_v57/constructors/updates_differenceSlice.md b/old_docs/API_docs_v57/constructors/updates_differenceSlice.md index 2cbf3a29..d2670c53 100644 --- a/old_docs/API_docs_v57/constructors/updates_differenceSlice.md +++ b/old_docs/API_docs_v57/constructors/updates_differenceSlice.md @@ -26,14 +26,14 @@ description: updates_differenceSlice attributes, type and example ### Example: ``` -$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates.State, ]; +$updates_differenceSlice = ['_' => 'updates.differenceSlice', 'new_messages' => [Message], 'new_encrypted_messages' => [EncryptedMessage], 'other_updates' => [Update], 'chats' => [Chat], 'users' => [User], 'intermediate_state' => updates_State, ]; ``` Or, if you're into Lua: ``` -updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates.State, } +updates_differenceSlice={_='updates.differenceSlice', new_messages={Message}, new_encrypted_messages={EncryptedMessage}, other_updates={Update}, chats={Chat}, users={User}, intermediate_state=updates_State, } ``` diff --git a/old_docs/API_docs_v57/constructors/upload_file.md b/old_docs/API_docs_v57/constructors/upload_file.md index 7d8ecfd9..8e335fa7 100644 --- a/old_docs/API_docs_v57/constructors/upload_file.md +++ b/old_docs/API_docs_v57/constructors/upload_file.md @@ -23,14 +23,14 @@ description: upload_file attributes, type and example ### Example: ``` -$upload_file = ['_' => 'upload.file', 'type' => storage.FileType, 'mtime' => int, 'bytes' => bytes, ]; +$upload_file = ['_' => 'upload.file', 'type' => storage_FileType, 'mtime' => int, 'bytes' => bytes, ]; ``` Or, if you're into Lua: ``` -upload_file={_='upload.file', type=storage.FileType, mtime=int, bytes=bytes, } +upload_file={_='upload.file', type=storage_FileType, mtime=int, bytes=bytes, } ``` diff --git a/old_docs/API_docs_v57/constructors/user.md b/old_docs/API_docs_v57/constructors/user.md index 9acab8d6..900236af 100644 --- a/old_docs/API_docs_v57/constructors/user.md +++ b/old_docs/API_docs_v57/constructors/user.md @@ -42,14 +42,14 @@ description: user attributes, type and example ### Example: ``` -$user = ['_' => 'user', 'self' => true, 'contact' => true, 'mutual_contact' => true, 'deleted' => true, 'bot' => true, 'bot_chat_history' => true, 'bot_nochats' => true, 'verified' => true, 'restricted' => true, 'min' => true, 'bot_inline_geo' => true, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; +$user = ['_' => '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, 'id' => int, 'access_hash' => long, 'first_name' => string, 'last_name' => string, 'username' => string, 'phone' => string, 'photo' => UserProfilePhoto, 'status' => UserStatus, 'bot_info_version' => int, 'restriction_reason' => string, 'bot_inline_placeholder' => string, ]; ``` Or, if you're into Lua: ``` -user={_='user', self=true, contact=true, mutual_contact=true, deleted=true, bot=true, bot_chat_history=true, bot_nochats=true, verified=true, restricted=true, min=true, bot_inline_geo=true, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } +user={_='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, id=int, access_hash=long, first_name=string, last_name=string, username=string, phone=string, photo=UserProfilePhoto, status=UserStatus, bot_info_version=int, restriction_reason=string, bot_inline_placeholder=string, } ``` diff --git a/old_docs/API_docs_v57/constructors/userFull.md b/old_docs/API_docs_v57/constructors/userFull.md index f043fc7e..4b9a2346 100644 --- a/old_docs/API_docs_v57/constructors/userFull.md +++ b/old_docs/API_docs_v57/constructors/userFull.md @@ -27,14 +27,14 @@ description: userFull attributes, type and example ### Example: ``` -$userFull = ['_' => 'userFull', 'blocked' => true, 'user' => User, 'about' => string, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; +$userFull = ['_' => 'userFull', 'blocked' => Bool, 'user' => User, 'about' => string, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, ]; ``` Or, if you're into Lua: ``` -userFull={_='userFull', blocked=true, user=User, about=string, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, } +userFull={_='userFull', blocked=Bool, user=User, about=string, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, } ``` diff --git a/src/danog/MadelineProto/DocsBuilder.php b/src/danog/MadelineProto/DocsBuilder.php index 75ec68b2..55e93afe 100755 --- a/src/danog/MadelineProto/DocsBuilder.php +++ b/src/danog/MadelineProto/DocsBuilder.php @@ -392,9 +392,9 @@ description: List of methods $table .= PHP_EOL; $params .= "'".$param['name']."' => "; - $params .= (isset($param['subtype']) ? '['.$param['subtype'].']' : $param['type']).', '; + $params .= (isset($param['subtype']) ? '['.$ptype.']' : $ptype).', '; $lua_params .= $param['name'].'='; - $lua_params .= (isset($param['subtype']) ? '{'.$param['subtype'].'}' : $param['type']).', '; + $lua_params .= (isset($param['subtype']) ? '{'.$ptype.'}' : $ptype).', '; } $params = "['_' => '".$rconstructor."', ".$params.']'; $lua_params = "{_='".$rconstructor."', ".$lua_params.'}';