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