Giter Site home page Giter Site logo

Comments (10)

Moberaptor avatar Moberaptor commented on July 20, 2024 4

@iyear pleeeeeeaaaaaaaseeeeee

from tdl.

iyear avatar iyear commented on July 20, 2024 4

v0.8.0 has been released, feel free to try it or reopen the issue.

from tdl.

iyear avatar iyear commented on July 20, 2024 2

I thought about doing this, but I don't know if I should create a format myself or refer to tdesktop's export format

from tdl.

Moberaptor avatar Moberaptor commented on July 20, 2024 1

@iyear
Thank you for the reply! In general it doen't matter and depends on you. I would prefer to save all data from chat, aspesially protected, with JSON or HTML and setup trigger for new messages autosave))) But I just want to download all chat (I mean with messages too) in one folder. Because I have a lot education groups in Telegram and want to save text also (it is a very important part). I mean create total backup. It means any kind of json which one will be easiear/faster for you. Many thanks!

from tdl.

iyear avatar iyear commented on July 20, 2024 1

Ignored this, my mistake. It will be supported in next version

Like this, maybe we can add more fileds in the future(file a new issue for request):

{
  "id": 47,
  "type": "message",
  "file": "0",
  "date": 1666001629,
  "text": "Shazam Encore v13.0.0\n@PowerAPK"
}

from tdl.

Moberaptor avatar Moberaptor commented on July 20, 2024

Dear @iyear could you please add easiest (fastest) way to save messages. I'm not a Golang developer but as I could see:
https://github.com/iyear/tdl/blob/master/app/chat/export.go (line 99):
_, err = f.WriteString(fmt.Sprintf(`{"id":%d,"type":"message","file":"0"},`, m.ID))
Just add other fields for export.
Please could you add this feature to your brilliant program.

Kind regards.

from tdl.

iyear avatar iyear commented on July 20, 2024

@Moberaptor
Sorry I forgot about this issue. I will add the relevant code in v0.6.1.

from tdl.

Moberaptor avatar Moberaptor commented on July 20, 2024

@iyear could you please add this feature... Please, please, please...

from tdl.

iyear avatar iyear commented on July 20, 2024

@Moberaptor
Maybe we need to talk about what kind of JSON you need to export to. Can you give an example?

from tdl.

Moberaptor avatar Moberaptor commented on July 20, 2024

YOU ARE BEST!!!!!!!!!!!!!!!!!

from tdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.