@verychat/channel-protos 1.0.29 → 1.0.31

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.
@@ -45,7 +45,8 @@ message EditChannelResponse {
45
45
  }
46
46
 
47
47
  message GetChannelInfoRequest {
48
- string channelId = 1;
48
+ optional string channelId = 1;
49
+ optional string userChannelId = 2;
49
50
  }
50
51
 
51
52
  message GetChannelInfoResponse {
@@ -71,6 +72,7 @@ message CreateMessageRequest {
71
72
  string channelId = 1;
72
73
  int32 userId = 2;
73
74
  CreateMessageDto dto = 3;
75
+ optional string nickname = 4;
74
76
  }
75
77
 
76
78
  message CreateMessageResponse {
@@ -35,7 +35,8 @@ export interface EditChannelResponse {
35
35
  channelId: string;
36
36
  }
37
37
  export interface GetChannelInfoRequest {
38
- channelId: string;
38
+ channelId?: string | undefined;
39
+ userChannelId?: string | undefined;
39
40
  }
40
41
  export interface GetChannelInfoResponse {
41
42
  channelInfo: ChannelInfo | undefined;
@@ -62,6 +63,7 @@ export interface CreateMessageRequest {
62
63
  channelId: string;
63
64
  userId: number;
64
65
  dto: CreateMessageDto | undefined;
66
+ nickname?: string | undefined;
65
67
  }
66
68
  export interface CreateMessageResponse {
67
69
  seq: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verychat/channel-protos",
3
- "version": "1.0.29",
3
+ "version": "1.0.31",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -71,7 +71,8 @@ export interface EditChannelResponse {
71
71
  }
72
72
 
73
73
  export interface GetChannelInfoRequest {
74
- channelId: string;
74
+ channelId?: string | undefined;
75
+ userChannelId?: string | undefined;
75
76
  }
76
77
 
77
78
  export interface GetChannelInfoResponse {
@@ -102,6 +103,7 @@ export interface CreateMessageRequest {
102
103
  channelId: string;
103
104
  userId: number;
104
105
  dto: CreateMessageDto | undefined;
106
+ nickname?: string | undefined;
105
107
  }
106
108
 
107
109
  export interface CreateMessageResponse {