ADimeo / gameprog-detective-app

Android application for the HPI "Game Programming" seminar winter semester 2019/20
https://hpi.de/studium/lehrveranstaltungen/it-systems-engineering-ma/lehrveranstaltung/wise-19-20-2889-game-programming.html
0 stars 0 forks source link

Open Telegram Chat with App after fulfill is clicked #62

Open Paulpanther opened 4 years ago

Paulpanther commented 4 years ago

If possible, write a (for now hard coded) response for the user to send. If not possible (or only with / commands) only open the Chat

robinwersich commented 4 years ago

do you already know if you can open telegram with a prewritten response? If yes, I would add that field to the task

ADimeo commented 4 years ago

Paused until we decide on what we actually want to do.

Paulpanther commented 4 years ago

Options:

  1. Open Telegram via Android Share: Telegram opens, the user has to select a chat, click ok on Do you want to send this message to this user? and the chat opens, with the text inserted
  2. Open Telegram via Link: The Bot opens directly, but no message can be send. The buttons will not appear so the user has to close the chat and reopen it. This cannot be used
  3. The Server sends a message from the bot via the Telegram Api. The Message is always the same ("You have completed task X"). A notification for a new message will appear. The user will proceed in the story by clicking the button. This is possible with the Telegram Api, but our own server architecture prevents it (Server cannot talk to bot)