The list of chats with another users

http://dev.moyuniver.ru/api/php/v03/api_msgs.php?memberid=&page=&m=

  • memberid - unique user identifier
  • page - results page number
  • m - the number of results on a page

Request example

http://dev.moyuniver.ru/api/php/v03/api_msgs.php?memberid=28665485147fa7133b44cb&page=1&m=10&appid=306&appsgn=d8629af695839ba5481757a519e57fb1&appcode=&os=&ver=&width=&height=

Response format

THRID#UID#UNAME#IMGLNK#FUID#MESSAGE#SENT#UNREAD

  • THRID – unique user chat thread identifier
  • # – separator
  • UID – unique numerical identifier of a correspondent user
  • UNAME – correspondent user name
  • IMGLNK – 100х100 correspondent user avatar link
  • FUID – unique numerical identifier of a user who sent the last message in the thread
  • MESSAGE – last message text
  • SENT – the date and time when the last message in the thread was sent
  • UNREAD – the number of unread messages in the thread

FUID identifier indicates the user who sent the last message in the thread, and can coincide both with UID and user's own numerical identifier.

Response example

1#1#Администратор#http://www.argusm-edu.ru/img/users/avatar_1_100.jpg#1#проверка русского и кавычек "мой универ"#2014-11-28 07:13:34#2

Comments (0)