Skip to content
nattapon.r edited this page Apr 10, 2017 · 14 revisions

Chats

///@ Specs.

  • backoffice can chats with app user.

    • Mkt_topic : all_agent <--> user
    • CS_topic : all_agent <--> user
    • CS_chat : CS_agent <--> user
  • App user can chats with user.

    • user <--> user

Backend-contact.

  • ***username.
  • _id.
  • email.
  • avatar.
export class Room {
    _id: any;
    name: string;
    type: RoomType;
    members: Member[];
    status: RoomStatus;
    createTime: Date;
}

export class Agent {
    _id: any;
    username: string;
    email: string;
}

fetchChatRoom

http://smelink.animation-genius.com:9000/api/chatroom/?room_id=9b8c419ca4c31d : GET();

createPrivateGroup

http://smelink.animation-genius.com:9000/api/group/private_group/create : POST({room : ROOM});

Chatsroom features.

  • Mobile App
    • text
    • encrypted text
    • image
    • video
    • file
    • location
  • Web App
    • text
    • encrypted text
    • image
    • video
    • file
    • location

ChatsLog features.

  • Lastest message + time.
  • Unread message count.
  • Chatroom name + avatar.
  • Remove chat-log ได้
Clone this wiki locally