add private to welcome + bump to v2.0.3

This commit is contained in:
Soph :3 2024-12-21 17:07:36 +02:00
parent 68af1998d4
commit b9aa613e1d
Signed by: sophie
GPG key ID: EDA5D222A0C270F2
4 changed files with 10 additions and 3 deletions

View file

@ -762,6 +762,11 @@ export class ServerMessage_Welcome extends Message<ServerMessage_Welcome> {
*/
role = Role.USER;
/**
* @generated from field: bool private = 8;
*/
private = false;
constructor(data?: PartialMessage<ServerMessage_Welcome>) {
super();
proto3.util.initPartial(data, this);
@ -777,6 +782,7 @@ export class ServerMessage_Welcome extends Message<ServerMessage_Welcome> {
{ no: 5, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 6, name: "chat", kind: "message", T: ServerMessage_Chat, repeated: true },
{ no: 7, name: "role", kind: "enum", T: proto3.getEnumType(Role) },
{ no: 8, name: "private", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
]);
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServerMessage_Welcome {