tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

Can't import messages to telegram #2714

Closed MistakeHub closed 8 months ago

MistakeHub commented 10 months ago

There is a problem. I try to put all messages, that were exported from telegram in json format. I use method in c# Client.ImportMessagesAsync(chatid, new TdApi.InputFile.InputFileLocal() { Path=path });, in path I indicate to generated json file. After that i get such exception TdLib.TdException: 'IMPORT_FORMAT_UNRECOGNIZED'.

levlam commented 10 months ago

Import of messages exported from Telegram isn't supported server-side. Only other popular messenger apps are supported: "Imports messages exported from another app".