chat-linker icon indicating copy to clipboard operation
chat-linker copied to clipboard

Not all types of messages are translated from Telegram

Open Bannerets opened this issue 6 years ago • 4 comments

  • [x] text
  • [x] forwarded message
  • [x] reply
  • [ ] photo [partially]
  • [ ] document [partially]
  • [ ] sticker [partially]
  • [ ] audio
  • [ ] video
  • [ ] video_note
  • [ ] voice
  • [ ] contact
  • [ ] location
  • [ ] venue
  • [ ] game
  • [ ] new_chat_participant
  • [ ] left_chat_participant
  • [ ] new_chat_photo
  • [ ] delete_chat_photo (service message)
  • [ ] new_chat_title
  • [ ] invoice
  • [ ] successful_payment (service message)

Bannerets avatar Jan 27 '18 04:01 Bannerets

did you did any research on how images could be transferred? here a pull request from the matrix <-> telegram bridge:

https://github.com/SijmenSchoon/telematrix/pull/25/commits/f097a25a267705a6edf149987cdf1a9e67ca7cb6

albjeremias avatar Aug 16 '18 09:08 albjeremias

Hi, I was checking a bit this thing. I have no idea what this file is about: https://github.com/jt3k/chat-linker/blob/master/flow-typed/telegraf_vx.x.x.js

the bot should be able to handle images... https://github.com/telegraf/telegraf/blob/develop/docs/examples/media-bot.js but this abstraction of the telegraf makes it more complicated? I need a hint

albjeremias avatar Aug 16 '18 16:08 albjeremias

That's our own flow definitions for the telegraf library. You should be able to extend them if you need any additional stuff from Telegraf.

We wasn't able to found any official or external flow definitions for it, so we had to roll out our own.

Probably (I'm not sure because I'm not a flow expert yet) it will work even without them. Check yourself :)

ForNeVeR avatar Aug 19 '18 03:08 ForNeVeR

did you did any research on how images could be transferred? here a pull request from the matrix <-> telegram bridge:

We have a separate bot that took any image from the telegram and transferred it to imgur.com We wanted to merge the chat-linker with this bot, but not enough time for that. It seems this bot wrote @Bannerets

jt3k avatar Sep 20 '18 09:09 jt3k