Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge two chats #41

Closed
lucasrodes opened this issue May 2, 2020 · 0 comments · Fixed by #60
Closed

Merge two chats #41

lucasrodes opened this issue May 2, 2020 · 0 comments · Fixed by #60
Assignees
Projects
Milestone

Comments

@lucasrodes
Copy link
Owner

Sometimes we may have several chats from the same group, exported at different moments. Some of them might have messages that others do not have (maybe because of phone change). Therefore, it could be interesting to be able to merge different chats.

Example usage could be:

Option 1

from whatstk import WhatsAppChat
chat_1 = WhatsAppChat.from_txt('chat-part-1.txt')
chat_2 = WhatsAppChat.from_txt('chat-part-2txt')

chat = WhatsAppChat.merge([chat_1, chat_2])

Option 2

from whatstk import WhatsAppChat
chat = WhatsAppChat.from_multiple_txt(['chat-part-1.txt', 'chat-part-2.txt'])

Option 3

from whatstk import WhatsAppChat
chat_1 = WhatsAppChat.from_txt('chat-part-1.txt')
chat_2 = WhatsAppChat.from_txt('chat-part-2txt')

chat = chat_1.merge(chat_2)
@lucasrodes lucasrodes changed the title Combine two chats Merge two chats May 2, 2020
@lucasrodes lucasrodes added this to BACKLOG in Road Map May 2, 2020
@lucasrodes lucasrodes added this to the release 0.3.0 milestone May 2, 2020
@lucasrodes lucasrodes moved this from BACKLOG to TO DO in Road Map May 6, 2020
@lucasrodes lucasrodes self-assigned this May 6, 2020
@lucasrodes lucasrodes moved this from TO DO to BACKLOG in Road Map May 8, 2020
@lucasrodes lucasrodes moved this from BACKLOG to TO DO in Road Map May 8, 2020
@lucasrodes lucasrodes moved this from TO DO to DOING in Road Map May 11, 2020
lucasrodes added a commit that referenced this issue May 11, 2020
Feature/merge two chats.
Closes and Fixes #59 #41
@lucasrodes lucasrodes linked a pull request May 11, 2020 that will close this issue
@lucasrodes lucasrodes moved this from DOING to DONE in Road Map May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

1 participant