diff --git a/data/corefork.telegram.org/api/import.html b/data/corefork.telegram.org/api/import.html new file mode 100644 index 0000000000..bdd6c945b5 --- /dev/null +++ b/data/corefork.telegram.org/api/import.html @@ -0,0 +1,115 @@ + + +
+ +PINNED_*
baseThemeNight - Night theme
unsave=true
) wallpapers using account.saveWallPaper, specifying just the wallpaper ID.Wallpaper with no file
+Wallpaper with no file access hash, used for example when deleting (unsave=true
) wallpapers using account.saveWallPaper, specifying just the wallpaper ID.
Install/uninstall wallpaper
Contains information about a chat export file, generated by a foreign chat app.
+If neither the pm
or group
flags are set, the specified chat export was generated from a chat of unknown type.
User has clicked on an animated emoji, triggering a reaction
+User is watching an animated emoji reaction triggered by another user
+Obtains information about a chat export file, generated by a foreign chat app.
+Import chat history from a foreign chat app into a specific Telegram chat.
+Make sure to call messages.checkHistoryImportPeer, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call.
+Typically, history imports are allowed for private chats with a mutual contact or supergroups with change_info
administrator rights ».
After initializing the history import process and uploading all media files associated with the chat using messages.uploadImportedMedia, call messages.startHistoryImport to complete the history import process, importing all messages into the chat.
+Upload a media file associated with an imported chat.
+Check whether chat history exported from another chat app can be imported into a specific Telegram chat.
+If the check succeeds, and no RPC errors are returned, a messages.CheckedHistoryImportPeer constructor will be returned, with a confirmation text to be shown to the user, before actually initializing the import.
+How to handle channels, supergroups, groups, and what's the difference between them.
+How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.
+Complete the history import process, importing all messages into the chat.
+To be called only after initializing the import with messages.initHistoryImport and uploading all files using messages.uploadImportedMedia.
Complete the history import process, importing all messages into the chat.
+To be called only after initializing the import with messages.initHistoryImport and uploading all files using messages.uploadImportedMedia.
Import chat history from a foreign chat app into a specific Telegram chat.
+Make sure to call messages.checkHistoryImportPeer, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call.
+Typically, history imports are allowed for private chats with a mutual contact or supergroups with change_info
administrator rights ».
After initializing the history import process and uploading all media files associated with the chat using messages.uploadImportedMedia, call messages.startHistoryImport to complete the history import process, importing all messages into the chat.
+Upload a media file associated with an imported chat.
Upload a media file associated with an imported chat.
+Import chat history from a foreign chat app into a specific Telegram chat.
+Make sure to call messages.checkHistoryImportPeer, first, to make sure you have the rights to import history into this chat, and to show an additional confirmation prompt to the user with useful information returned by the RPC call.
+Typically, history imports are allowed for private chats with a mutual contact or supergroups with change_info
administrator rights ».
After initializing the history import process and uploading all media files associated with the chat using messages.uploadImportedMedia, call messages.startHistoryImport to complete the history import process, importing all messages into the chat.
change_info
administrator rights ».change_info
administrator rights ».Info about an imported chat
+Contains information about a chat export file, generated by a foreign chat app.
pm
or group
flags are set, the specified chat export was generated from a chat of unknown type.