POST Chat/PostMessage

Request Information

URI Parameters

None.

Body Parameters

ChatMessagePostForm
NameDescriptionTypeAdditional information
chatUid

string

None.

parentId

integer

None.

repost

RepostForm

None.

postText

текст события

string

None.

files

Идентификаторы файлов (в сервисе files.webmoney.ru), которые надо прикрепить

Collection of string

None.

editorMode

PostEditorMode

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

Response Information

Resource Description

MessageAdvancedView
NameDescriptionTypeAdditional information
author

UserPublicDataView

None.

correspondent

UserPublicDataView

None.

chat

ChatView

None.

id

integer

None.

datecreated

string

None.

datecreatedstr

string

None.

cleanMessage

string

None.

type

UserMessageType

None.

message

string

None.

attachments

Collection of AttachmentView

None.

share

ShareView

None.

attachedActions

Перечень действий с их описанием

Collection of AttachmentEntityView

None.

status

MessageStatus

None.

repost

Репост

RepostView

None.

parent

MessageView

None.

deleted

boolean

None.

editorMode

Режим редактирования текста

PostEditorMode

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,
    "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 8",
    "wmid": "sample string 9"
  },
  "correspondent": {
    "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,
    "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 8",
    "wmid": "sample string 9"
  },
  "chat": {
    "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,
      "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 8",
      "wmid": "sample string 9"
    },
    "desc": "sample string 1",
    "dateCreated": "2020-07-08T08:58:50.123697+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"
      },
      {
        "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"
      }
    ]
  },
  "id": 1,
  "datecreated": "sample string 2",
  "datecreatedstr": "sample string 3",
  "cleanMessage": "sample string 4",
  "type": 1,
  "message": "sample string 5",
  "attachments": [
    {
      "type": 0,
      "typeStr": "image",
      "typeAdditionally": 0,
      "typeAdditionallyStr": "unknown",
      "id": "sample string 1",
      "name": "sample string 2",
      "sha1": "sample string 3",
      "size": 4,
      "contentType": "sample string 5",
      "versions": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      }
    },
    {
      "type": 0,
      "typeStr": "image",
      "typeAdditionally": 0,
      "typeAdditionallyStr": "unknown",
      "id": "sample string 1",
      "name": "sample string 2",
      "sha1": "sample string 3",
      "size": 4,
      "contentType": "sample string 5",
      "versions": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      }
    }
  ],
  "share": {
    "url": "sample string 1",
    "title": "sample string 2",
    "desc": "sample string 3",
    "type": 0,
    "typeStr": "image",
    "mediaId": "sample string 4",
    "versions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "id": 5
  },
  "attachedActions": [
    {
      "dateCreated": "sample string 1",
      "dateCreatedStr": "sample string 2",
      "actions": [
        {
          "data": {},
          "uid": "sample string 2",
          "type": 0
        },
        {
          "data": {},
          "uid": "sample string 2",
          "type": 0
        }
      ],
      "readOnlyType": 0,
      "uid": "sample string 3",
      "title": "sample string 4",
      "type": 0
    },
    {
      "dateCreated": "sample string 1",
      "dateCreatedStr": "sample string 2",
      "actions": [
        {
          "data": {},
          "uid": "sample string 2",
          "type": 0
        },
        {
          "data": {},
          "uid": "sample string 2",
          "type": 0
        }
      ],
      "readOnlyType": 0,
      "uid": "sample string 3",
      "title": "sample string 4",
      "type": 0
    }
  ],
  "status": 0,
  "repost": null,
  "parent": {
    "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,
      "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 8",
      "wmid": "sample string 9"
    },
    "id": 1,
    "datecreated": "sample string 2",
    "datecreatedstr": "sample string 3",
    "cleanMessage": "sample string 4",
    "type": 1,
    "message": "sample string 5",
    "attachments": [
      {
        "type": 0,
        "typeStr": "image",
        "typeAdditionally": 0,
        "typeAdditionallyStr": "unknown",
        "id": "sample string 1",
        "name": "sample string 2",
        "sha1": "sample string 3",
        "size": 4,
        "contentType": "sample string 5",
        "versions": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        }
      },
      {
        "type": 0,
        "typeStr": "image",
        "typeAdditionally": 0,
        "typeAdditionallyStr": "unknown",
        "id": "sample string 1",
        "name": "sample string 2",
        "sha1": "sample string 3",
        "size": 4,
        "contentType": "sample string 5",
        "versions": {
          "sample string 1": "sample string 2",
          "sample string 3": "sample string 4"
        }
      }
    ],
    "share": {
      "url": "sample string 1",
      "title": "sample string 2",
      "desc": "sample string 3",
      "type": 0,
      "typeStr": "image",
      "mediaId": "sample string 4",
      "versions": {
        "sample string 1": "sample string 2",
        "sample string 3": "sample string 4"
      },
      "id": 5
    },
    "attachedActions": [
      {
        "dateCreated": "sample string 1",
        "dateCreatedStr": "sample string 2",
        "actions": [
          {
            "data": {},
            "uid": "sample string 2",
            "type": 0
          },
          {
            "data": {},
            "uid": "sample string 2",
            "type": 0
          }
        ],
        "readOnlyType": 0,
        "uid": "sample string 3",
        "title": "sample string 4",
        "type": 0
      },
      {
        "dateCreated": "sample string 1",
        "dateCreatedStr": "sample string 2",
        "actions": [
          {
            "data": {},
            "uid": "sample string 2",
            "type": 0
          },
          {
            "data": {},
            "uid": "sample string 2",
            "type": 0
          }
        ],
        "readOnlyType": 0,
        "uid": "sample string 3",
        "title": "sample string 4",
        "type": 0
      }
    ],
    "status": 0,
    "repost": null,
    "deleted": true,
    "editorMode": 0
  },
  "deleted": true,
  "editorMode": 0
}