obsidian-telegram-sync icon indicating copy to clipboard operation
obsidian-telegram-sync copied to clipboard

Chat View Integration

Open msnr opened this issue 2 years ago • 0 comments

I'd like to archive meaningful conversations day I had per user/chat divided by date. Would be great if this could be combined with adifyr/obsidian-chat-view

Expectation / Example:

ExampleName.md

# ExampleName

## 2023-11-30
ExampleName 30.11.2023  06:54:18
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum porttitor, sem vel porttitor porta, mauris ligula euismod elit, ac malesuada ipsum quam gravida nulla. Proin dignissim aliquet nunc ut dictum. 

Me  30.11.2023  06:56:20
Vestibulum bibendum felis tempor dui vehicula suscipit. Integer bibendum quam ac enim blandit tempus. Etiam maximus nulla nisl, nec congue est gravida id. Quisque eu cursus nunc. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 

ExampleName 30.11.2023  06:59:16
Praesent vestibulum urna nec ante pharetra facilisis. Ut turpis libero, vehicula eu fringilla in, dapibus quis leo. In vel neque nulla. Integer quis eros nisl. Suspendisse sapien ligula, ultricies eu erat vel, ullamcorper suscipit eros. 


## 2023-12-01
ExampleName 01.12.2023  06:54:18
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum porttitor, sem vel porttitor porta, mauris ligula euismod elit, ac malesuada ipsum quam gravida nulla. Proin dignissim aliquet nunc ut dictum. 

Me 01.12.2023  06:56:20
Vestibulum bibendum felis tempor dui vehicula suscipit. Integer bibendum quam ac enim blandit tempus. Etiam maximus nulla nisl, nec congue est gravida id. Quisque eu cursus nunc. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 

ExampleName 01.12.2023  06:59:16
Praesent vestibulum urna nec ante pharetra facilisis. Ut turpis libero, vehicula eu fringilla in, dapibus quis leo. In vel neque nulla. Integer quis eros nisl. Suspendisse sapien ligula, ultricies eu erat vel, ullamcorper suscipit eros. 

The Issues:

  1. If I want to divide the messages by Chat I cannot use {{chat}} bc the Chat would be "Obsidian" once I forwarded it but if I divide it by {{forwardFrom:name}} the messages ofc will end up in 2 files, one for me and one for my counterpart. So the current solution I have would be a special duplicate group for every important chat with obsidian bot invited and forward the messages to that chat(?)
  2. The headings: Not a biggie since I can use a template with a date heading and remove the ones which are to much but currently there is no way to group it (#228)

I guess if would have a solution for issue 1 it would be easy to write a template and also include chat view with the given replace method

msnr avatar Dec 01 '23 15:12 msnr