DOWNLOAD CHATS

URL

https://us-central1-ohyay-prod-d7acf.cloudfunctions.net/ohyayapi/download-chats

Request Format

interface DownloadChatsRequest {
  userId: string;
  wsid: string;
}

Response Format

interface DownloadChatsResponse {
  chats: {
    channel: string;
    messages: {
      from: string;
      text: string;
      time: number;
    }[];
  }[];
}

Notes

Chats are only available for 24 hours after being sent


Did this page help you?