POST api/WhizTChatGroupChat/GetGroupMessages

This is for get group messages. Param - GroupMessageId - 0 for recent, Param - MessageFor - 0 for new 20 and 1 for last 20, Param - UserId - 0 for not Update and 1 for update unread message count, Param - Count - 0 for always. param flag send 0 or null for old app and 1 for new app i.e. files

Request Information

URI Parameters

None.

Body Parameters

EnvelopeOfGroupChatDetailsParam
NameDescriptionTypeAdditional information
Data

GroupChatDetailsParam

None.

Message

string

None.

MessageId

string

None.

MessageCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "data": {
    "groupId": 1,
    "groupMessageId": 2,
    "messageFor": 3,
    "userId": 4,
    "count": 5,
    "loginUserId": 6,
    "cityId": 7,
    "flag": 8
  },
  "message": "sample string 1",
  "messageId": "sample string 2",
  "messageCode": 3
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.