POST Chat/Create

Request Information

URI Parameters

None.

Body Parameters

ChatCreateForm
NameDescriptionTypeAdditional information
name

string

None.

membersWmids

Collection of string

None.

listsIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "membersWmids": [
    "sample string 1",
    "sample string 2"
  ],
  "listsIds": [
    1,
    2
  ]
}

Response Information

Resource Description

ChatView
NameDescriptionTypeAdditional information
author

UserPublicDataView

None.

desc

string

None.

dateCreated

date

None.

uid

string

None.

name

string

None.

icon

IconView

None.

membersForAvatar

Collection of UserIconsView

None.

Response Formats

application/json, text/json

Sample:
{
  "author": {
    "attestat": "sample string 1",
    "attestatCode": 1,
    "bl": 1,
    "tl": 2,
    "cl": 1,
    "Gender": 0,
    "GenderStr": "female",
    "lastLoginDate": "sample string 3",
    "lastLoginDateUtc": "sample string 4",
    "lastOnlineDate": "sample string 5",
    "lastOnlineDateUtc": "sample string 6",
    "status": 0,
    "statusStr": "active",
    "interactOpportunity": true,
    "userType": 0,
    "cover": "sample string 8",
    "wm": true,
    "icon": {
      "id": "sample string 1",
      "isactive": true,
      "isDefault": true,
      "smallest": "sample string 4",
      "tiny": "sample string 5",
      "mini": "sample string 6",
      "small": "sample string 7",
      "normal": "sample string 8",
      "large": "sample string 9",
      "big": "sample string 10",
      "original": "sample string 11",
      "url": "sample string 12"
    },
    "nickname": "sample string 10",
    "wmid": "sample string 11",
    "username": "sample string 12"
  },
  "desc": "sample string 1",
  "dateCreated": "2024-11-21T09:26:50.6463373+03:00",
  "uid": "sample string 3",
  "name": "sample string 4",
  "icon": {
    "id": "sample string 1",
    "isactive": true,
    "isDefault": true,
    "smallest": "sample string 4",
    "tiny": "sample string 5",
    "mini": "sample string 6",
    "small": "sample string 7",
    "normal": "sample string 8",
    "large": "sample string 9",
    "big": "sample string 10",
    "original": "sample string 11",
    "url": "sample string 12"
  },
  "membersForAvatar": [
    {
      "icon": {
        "id": "sample string 1",
        "isactive": true,
        "isDefault": true,
        "smallest": "sample string 4",
        "tiny": "sample string 5",
        "mini": "sample string 6",
        "small": "sample string 7",
        "normal": "sample string 8",
        "large": "sample string 9",
        "big": "sample string 10",
        "original": "sample string 11",
        "url": "sample string 12"
      },
      "nickname": "sample string 1",
      "wmid": "sample string 2",
      "username": "sample string 3"
    },
    {
      "icon": {
        "id": "sample string 1",
        "isactive": true,
        "isDefault": true,
        "smallest": "sample string 4",
        "tiny": "sample string 5",
        "mini": "sample string 6",
        "small": "sample string 7",
        "normal": "sample string 8",
        "large": "sample string 9",
        "big": "sample string 10",
        "original": "sample string 11",
        "url": "sample string 12"
      },
      "nickname": "sample string 1",
      "wmid": "sample string 2",
      "username": "sample string 3"
    }
  ]
}