PowerlineApp / powerline-rn

GNU Affero General Public License v3.0
0 stars 6 forks source link

Twilio Chat Support #287

Open jterps08 opened 6 years ago

jterps08 commented 6 years ago

https://www.twilio.com/blog/2017/06/complete-chat-application-javascript.html

One-on-one Chat

  1. User should be able to send/receive message to another user based on Powerline username.
  2. Frontend will allow user to accept/reject new chat requests as they arrive.
  3. User A should be able to send/receive messages with User B, initiating using Powerline username
  4. Real Name, username, and avatar should be available so that User B can see User A's name and avatar
  5. User A should be able to open chat history with User B
  6. User A should be able to leave chat with User B (which forces future chat requests from User B to require User A's acceptance (Item 2)

Lower Priority (Ad-Hoc Multi-user Chat)

  1. Creating an ad-hoc chat with multiple users should be possible too so that User A can open chat with user B, user C, user D, etc (up to 200 max is the Twilio limit)

Future (Powerline Groups Chat)

  1. Group owner has ability to turn on/off a generic group chat channel. Group members can see / join/leave, but the group channel can only accommodate 200 at one time.
  2. Group owner should be able to create additional channels specifically for its group members. Only those group members can see / join / leave these additional channels. Frontend will make sure user 'leaves' chat when not actively in the chat window.

Have fun!

igaponov commented 6 years ago

https://api-dev.powerli.ne/api-doc#get--api-v2.2-twilio-token

jterps08 commented 6 years ago

@piubellofelipe Can we list out the tasks (and estimated hours) to bring this to closure? At least for one-on-one chat as defined above?