It's actually communities v1
This commit is contained in:
parent
6baf953e98
commit
5dd482be11
|
@ -1,8 +1,8 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package communities.v2;
|
package communities.v1;
|
||||||
|
|
||||||
import "communities/v2/enums.proto";
|
import "communities/v1/enums.proto";
|
||||||
|
|
||||||
message StickerMessage {
|
message StickerMessage {
|
||||||
string hash = 1;
|
string hash = 1;
|
|
@ -1,6 +1,6 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package communities.v2;
|
package communities.v1;
|
||||||
|
|
||||||
enum MessageType {
|
enum MessageType {
|
||||||
MESSAGE_TYPE_UNKNOWN_UNSPECIFIED = 0;
|
MESSAGE_TYPE_UNKNOWN_UNSPECIFIED = 0;
|
|
@ -1,8 +1,8 @@
|
||||||
import { Reader } from "protobufjs";
|
import { Reader } from "protobufjs";
|
||||||
|
|
||||||
import * as proto from "./proto/communities/v2/chat_message";
|
import * as proto from "./proto/communities/v1/chat_message";
|
||||||
import { ChatMessage_ContentType } from "./proto/communities/v2/chat_message";
|
import { ChatMessage_ContentType } from "./proto/communities/v1/chat_message";
|
||||||
import { MessageType } from "./proto/communities/v2/enums";
|
import { MessageType } from "./proto/communities/v1/enums";
|
||||||
|
|
||||||
export class ChatMessage {
|
export class ChatMessage {
|
||||||
private constructor(public proto: proto.ChatMessage) {}
|
private constructor(public proto: proto.ChatMessage) {}
|
||||||
|
|
|
@ -8,9 +8,9 @@ import {
|
||||||
imageTypeToJSON,
|
imageTypeToJSON,
|
||||||
messageTypeFromJSON,
|
messageTypeFromJSON,
|
||||||
messageTypeToJSON,
|
messageTypeToJSON,
|
||||||
} from "../../communities/v2/enums";
|
} from "../../communities/v1/enums";
|
||||||
|
|
||||||
export const protobufPackage = "communities.v2";
|
export const protobufPackage = "communities.v1";
|
||||||
|
|
||||||
export interface StickerMessage {
|
export interface StickerMessage {
|
||||||
hash: string;
|
hash: string;
|
|
@ -2,7 +2,7 @@
|
||||||
import Long from "long";
|
import Long from "long";
|
||||||
import _m0 from "protobufjs/minimal";
|
import _m0 from "protobufjs/minimal";
|
||||||
|
|
||||||
export const protobufPackage = "communities.v2";
|
export const protobufPackage = "communities.v1";
|
||||||
|
|
||||||
export enum MessageType {
|
export enum MessageType {
|
||||||
MESSAGE_TYPE_UNKNOWN_UNSPECIFIED = 0,
|
MESSAGE_TYPE_UNKNOWN_UNSPECIFIED = 0,
|
Loading…
Reference in New Issue