mezon-js 2.8.59 → 2.8.61

Sign up to get free protection for your applications and to get access to all the features.
package/socket.ts CHANGED
@@ -109,6 +109,8 @@ export interface UserChannelAddedEvent {
109
109
  clan_id: string;
110
110
  // the channel type
111
111
  channel_type: number;
112
+ // is public
113
+ is_public: boolean;
112
114
  }
113
115
 
114
116
  export interface AddUsers {
@@ -1061,6 +1063,7 @@ export class DefaultSocket implements Socket {
1061
1063
  attachments: attachments,
1062
1064
  references: references,
1063
1065
  hideEditted: message.channel_message.hide_editted,
1066
+ isPublic: message.channel_message.is_public
1064
1067
  };
1065
1068
  this.onchannelmessage(e);
1066
1069
  } else if (message.message_typing_event) {