@verychat/channel-protos 1.0.34 → 1.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -170,7 +170,8 @@ message GetMessagesResponse {
170
170
 
171
171
  message GetNewChannelMessageRequest {
172
172
  int32 userId = 1;
173
- optional int32 page = 2;
173
+ optional string cursorId = 2;
174
+ optional int32 page = 3;
174
175
  }
175
176
 
176
177
  message GetNewChannelMessageResponse {
@@ -102,16 +102,17 @@ message ChannelMessage {
102
102
  }
103
103
 
104
104
  message NewChannelMessage {
105
- string channelId = 1;
106
- int32 seq = 2;
107
- int32 userId = 3;
108
- string message = 4;
109
- MessageType type = 5;
110
- string createdAt = 6;
111
- int32 likeCount = 7;
112
- string channelTitle = 8;
113
- string channelThumbnailUrl = 9;
114
- optional string deletedAt = 10;
105
+ string id = 1;
106
+ string channelId = 2;
107
+ int32 seq = 3;
108
+ int32 userId = 4;
109
+ string message = 5;
110
+ MessageType type = 6;
111
+ string createdAt = 7;
112
+ int32 likeCount = 8;
113
+ string channelTitle = 9;
114
+ string channelThumbnailUrl = 10;
115
+ optional string deletedAt = 11;
115
116
  }
116
117
 
117
118
  message Reaction {
@@ -143,6 +143,7 @@ export interface GetMessagesResponse {
143
143
  }
144
144
  export interface GetNewChannelMessageRequest {
145
145
  userId: number;
146
+ cursorId?: string | undefined;
146
147
  page?: number | undefined;
147
148
  }
148
149
  export interface GetNewChannelMessageResponse {
@@ -108,6 +108,7 @@ export interface ChannelMessage {
108
108
  streamId: number;
109
109
  }
110
110
  export interface NewChannelMessage {
111
+ id: string;
111
112
  channelId: string;
112
113
  seq: number;
113
114
  userId: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verychat/channel-protos",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -201,6 +201,7 @@ export interface GetMessagesResponse {
201
201
 
202
202
  export interface GetNewChannelMessageRequest {
203
203
  userId: number;
204
+ cursorId?: string | undefined;
204
205
  page?: number | undefined;
205
206
  }
206
207
 
@@ -130,6 +130,7 @@ export interface ChannelMessage {
130
130
  }
131
131
 
132
132
  export interface NewChannelMessage {
133
+ id: string;
133
134
  channelId: string;
134
135
  seq: number;
135
136
  userId: number;