diff --git a/app/assets/proto/ChannelSendMessage.proto b/app/assets/proto/ChannelSendMessage.proto index 5a05083..1dd18d3 100644 --- a/app/assets/proto/ChannelSendMessage.proto +++ b/app/assets/proto/ChannelSendMessage.proto @@ -18,6 +18,9 @@ message ChannelSendMessage { uint64 reply_to = 8; RoomMessageForwardFrom forward_from = 9; uint64 random_id = 10; + + uint32 additional_type = 11; + string additional_data = 12; } message ChannelSendMessageResponse { diff --git a/app/assets/proto/ChatSendMessage.proto b/app/assets/proto/ChatSendMessage.proto index 99a5449..3b85964 100644 --- a/app/assets/proto/ChatSendMessage.proto +++ b/app/assets/proto/ChatSendMessage.proto @@ -18,6 +18,9 @@ message ChatSendMessage { uint64 reply_to = 8; RoomMessageForwardFrom forward_from = 9; uint64 random_id = 10; + + uint32 additional_type = 11; + string additional_data = 12; } message ChatSendMessageResponse { diff --git a/app/assets/proto/Global.proto b/app/assets/proto/Global.proto index f7125e1..5b00c52 100644 --- a/app/assets/proto/Global.proto +++ b/app/assets/proto/Global.proto @@ -227,6 +227,9 @@ message RoomMessage { uint64 previous_message_id = 18; uint64 random_id = 21; + uint32 additional_type = 23; + string additional_data = 24; + enum ExtraType { NO_EXTRA = 0; CHANNEL_EXTRA = 1; diff --git a/app/assets/proto/GroupSendMessage.proto b/app/assets/proto/GroupSendMessage.proto index 68087bd..82ff75e 100644 --- a/app/assets/proto/GroupSendMessage.proto +++ b/app/assets/proto/GroupSendMessage.proto @@ -18,6 +18,9 @@ message GroupSendMessage { uint64 reply_to = 8; RoomMessageForwardFrom forward_from = 9; uint64 random_id = 10; + + uint32 additional_type = 11; + string additional_data = 12; } message GroupSendMessageResponse { diff --git a/docs/guide/v1/error/README.md b/docs/guide/v1/error/README.md index 19e78fd..219058e 100644 --- a/docs/guide/v1/error/README.md +++ b/docs/guide/v1/error/README.md @@ -1423,6 +1423,8 @@ Bad payload for request [#201](../proto/README.md#action_201) | 31 | Attachment is invalid | * | | 32 | **Message is too long** | * | | 33 | Random id is invalid | * | +| 34 | additional_type is invalid | * | +| 35 | additional_data invalid | * | ### Error 204 - CHAT_SEND_MESSAGE_INTERNAL_SERVER_ERROR Internal server error for request [#201](../proto/README.md#action_201) @@ -1796,6 +1798,8 @@ Bad payload for request [#310](../proto/README.md#action_310) | 31 | Attachment is invalid | * | | 32 | **Message is too long** | * | | 33 | Random id is invalid | * | +| 34 | additional_type is invalid | * | +| 35 | additional_data invalid | * | ### Error 307 - GROUP_SEND_MESSAGE_INTERNAL_SERVER_ERROR @@ -2507,6 +2511,8 @@ Bad payload for request [#410](../proto/README.md#action_410) | 31 | Attachment is invalid | * | | 32 | **Message is too long** | * | | 33 | Random id is invalid | * | +| 34 | additional_type is invalid | * | +| 35 | additional_data invalid | * | ### Error 407 - CHANNEL_SEND_MESSAGE_INTERNAL_SERVER_ERROR