Should I create a game or use inline buttons? Use Python-telegram-bot? Telethon? Pyrogram? aiogram? Chatterbot? I want to build a Chatbot to collaboratively build content. I’m a bit overwhelmed with the plethora of APIs, frameworks, and wrappers.

Should I create a game or use inline buttons? Use Python-telegram-bot? Telethon? Pyrogram? aiogram? Chatterbot? I want to build a Chatbot to collaboratively build content. I'm a bit overwhelmed with the plethora of APIs, frameworks, and wrappers.

I want to create a bot to collect some recordings in a collaborative workflow; each user fills out something according to their assigned role in the group. But I’m not really concerned about any of that. Let’s say that all the different media files for some item are collected. User taps on its entry in the listview, what can a bot send?

The media group is structured like ::

  • Title
  • Animation
  • Contributor recording (video or audio) from users with contributor role.
    • 1st recording
    • 2nd recording
    • 3rd recording
  • Response recording videos from users with reviewer role
    • Unlimited.

This is just a mockup, I don’t care about it being pretty for now. Back to my question, what could a bot send? Ideally, I’d want one continuous playback for:

  1. Animation
  2. Sequentially play Contributor Recordings (all 3 or whatever is available)
  3. front camera opens prompting user for a recording.
  4. All those elements on the screen are buttons. << this is the question

Viewer

Placeholder

From what I understand, inline buttons won’t play videos, audio, or open GIF animations, or maybe that was true for one of the APIs, I don’t know. Instead, the user would have to tap on the media file itself to play or view it. That would be too many steps for what I’m trying to build.

Another thing, I want to change the default behavior of the video and audio recording buttons. It should play the audio as soon as the recording button is released. I think I remember that’s how WhatsApp really works. To change this, do I have to build another Telegram client? What would I use then?

Any help appreciated, thanks

submitted by /u/somenick
[link] [comments]


Posted

in

by

Tags: