simplex_bot_actor/message_types.prs

34 lines
490 B
Plaintext

version 1 .
Attributes = {string: any ...:...} .
Resp = <resp @time RespItem> .
RespItem = NewChatItem / Attributes .
NewChatItem = <newChatItem {"chatItem": ChatItem0 }> .
ChatItem0 = {
"chatInfo": ChatInfo
"user": User
} .
ChatInfo = {
"chatInfo": ChatInfo
"chatItem": ChatItem1
} .
ChatItem1 = {
"content": Content
} .
Content = Attributes .
User = {
"activeUser": bool
"agentUserId": string
"localDisplayName": string
"userContactId": int
"userId": int
} .