gmessages/libgm/gmproto/conversations.pb.go
2024-06-07 18:37:25 +03:00

3097 lines
96 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc v3.21.12
// source: conversations.proto
package gmproto
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
import _ "embed"
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type EmojiType int32
const (
EmojiType_REACTION_TYPE_UNSPECIFIED EmojiType = 0
EmojiType_LIKE EmojiType = 1
EmojiType_LOVE EmojiType = 2
EmojiType_LAUGH EmojiType = 3
EmojiType_SURPRISED EmojiType = 4
EmojiType_SAD EmojiType = 5
EmojiType_ANGRY EmojiType = 6
EmojiType_DISLIKE EmojiType = 7
EmojiType_CUSTOM EmojiType = 8
EmojiType_QUESTIONING EmojiType = 9
EmojiType_CRYING_FACE EmojiType = 10
EmojiType_POUTING_FACE EmojiType = 11
EmojiType_RED_HEART EmojiType = 12
EmojiType_EMOTIFY EmojiType = 13
)
// Enum value maps for EmojiType.
var (
EmojiType_name = map[int32]string{
0: "REACTION_TYPE_UNSPECIFIED",
1: "LIKE",
2: "LOVE",
3: "LAUGH",
4: "SURPRISED",
5: "SAD",
6: "ANGRY",
7: "DISLIKE",
8: "CUSTOM",
9: "QUESTIONING",
10: "CRYING_FACE",
11: "POUTING_FACE",
12: "RED_HEART",
13: "EMOTIFY",
}
EmojiType_value = map[string]int32{
"REACTION_TYPE_UNSPECIFIED": 0,
"LIKE": 1,
"LOVE": 2,
"LAUGH": 3,
"SURPRISED": 4,
"SAD": 5,
"ANGRY": 6,
"DISLIKE": 7,
"CUSTOM": 8,
"QUESTIONING": 9,
"CRYING_FACE": 10,
"POUTING_FACE": 11,
"RED_HEART": 12,
"EMOTIFY": 13,
}
)
func (x EmojiType) Enum() *EmojiType {
p := new(EmojiType)
*p = x
return p
}
func (x EmojiType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (EmojiType) Descriptor() protoreflect.EnumDescriptor {
return file_conversations_proto_enumTypes[0].Descriptor()
}
func (EmojiType) Type() protoreflect.EnumType {
return &file_conversations_proto_enumTypes[0]
}
func (x EmojiType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use EmojiType.Descriptor instead.
func (EmojiType) EnumDescriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{0}
}
type IdentifierType int32
const (
IdentifierType_UNKNOWN IdentifierType = 0
IdentifierType_PHONE IdentifierType = 1
IdentifierType_EMAIL IdentifierType = 2
)
// Enum value maps for IdentifierType.
var (
IdentifierType_name = map[int32]string{
0: "UNKNOWN",
1: "PHONE",
2: "EMAIL",
}
IdentifierType_value = map[string]int32{
"UNKNOWN": 0,
"PHONE": 1,
"EMAIL": 2,
}
)
func (x IdentifierType) Enum() *IdentifierType {
p := new(IdentifierType)
*p = x
return p
}
func (x IdentifierType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (IdentifierType) Descriptor() protoreflect.EnumDescriptor {
return file_conversations_proto_enumTypes[1].Descriptor()
}
func (IdentifierType) Type() protoreflect.EnumType {
return &file_conversations_proto_enumTypes[1]
}
func (x IdentifierType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use IdentifierType.Descriptor instead.
func (IdentifierType) EnumDescriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{1}
}
type ConversationType int32
const (
ConversationType_UNKNOWN_CONVERSATION_TYPE ConversationType = 0
ConversationType_SMS ConversationType = 1
ConversationType_RCS ConversationType = 2
)
// Enum value maps for ConversationType.
var (
ConversationType_name = map[int32]string{
0: "UNKNOWN_CONVERSATION_TYPE",
1: "SMS",
2: "RCS",
}
ConversationType_value = map[string]int32{
"UNKNOWN_CONVERSATION_TYPE": 0,
"SMS": 1,
"RCS": 2,
}
)
func (x ConversationType) Enum() *ConversationType {
p := new(ConversationType)
*p = x
return p
}
func (x ConversationType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ConversationType) Descriptor() protoreflect.EnumDescriptor {
return file_conversations_proto_enumTypes[2].Descriptor()
}
func (ConversationType) Type() protoreflect.EnumType {
return &file_conversations_proto_enumTypes[2]
}
func (x ConversationType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ConversationType.Descriptor instead.
func (ConversationType) EnumDescriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{2}
}
type MessageStatusType int32
const (
MessageStatusType_STATUS_UNKNOWN MessageStatusType = 0
MessageStatusType_OUTGOING_COMPLETE MessageStatusType = 1
MessageStatusType_OUTGOING_DELIVERED MessageStatusType = 2
MessageStatusType_OUTGOING_DISPLAYED MessageStatusType = 11
MessageStatusType_OUTGOING_DRAFT MessageStatusType = 3
MessageStatusType_OUTGOING_SEND_AFTER_PROCESSING MessageStatusType = 10
MessageStatusType_OUTGOING_YET_TO_SEND MessageStatusType = 4
MessageStatusType_OUTGOING_SENDING MessageStatusType = 5
MessageStatusType_OUTGOING_RESENDING MessageStatusType = 6
MessageStatusType_OUTGOING_AWAITING_RETRY MessageStatusType = 7
MessageStatusType_OUTGOING_FAILED_GENERIC MessageStatusType = 8
MessageStatusType_OUTGOING_FAILED_EMERGENCY_NUMBER MessageStatusType = 9
MessageStatusType_OUTGOING_CANCELED MessageStatusType = 12
MessageStatusType_OUTGOING_FAILED_TOO_LARGE MessageStatusType = 13
MessageStatusType_OUTGOING_NOT_DELIVERED_YET MessageStatusType = 14
MessageStatusType_OUTGOING_REVOCATION_PENDING MessageStatusType = 15
MessageStatusType_OUTGOING_SCHEDULED MessageStatusType = 16
MessageStatusType_OUTGOING_FAILED_RECIPIENT_LOST_RCS MessageStatusType = 17
MessageStatusType_OUTGOING_FAILED_NO_RETRY_NO_FALLBACK MessageStatusType = 18
MessageStatusType_OUTGOING_FAILED_RECIPIENT_DID_NOT_DECRYPT MessageStatusType = 19
MessageStatusType_OUTGOING_VALIDATING MessageStatusType = 20
MessageStatusType_OUTGOING_FAILED_RECIPIENT_LOST_ENCRYPTION MessageStatusType = 21
MessageStatusType_OUTGOING_FAILED_RECIPIENT_DID_NOT_DECRYPT_NO_MORE_RETRY MessageStatusType = 22
MessageStatusType_INCOMING_COMPLETE MessageStatusType = 100
MessageStatusType_INCOMING_YET_TO_MANUAL_DOWNLOAD MessageStatusType = 101
MessageStatusType_INCOMING_RETRYING_MANUAL_DOWNLOAD MessageStatusType = 102
MessageStatusType_INCOMING_MANUAL_DOWNLOADING MessageStatusType = 103
MessageStatusType_INCOMING_RETRYING_AUTO_DOWNLOAD MessageStatusType = 104
MessageStatusType_INCOMING_AUTO_DOWNLOADING MessageStatusType = 105
MessageStatusType_INCOMING_DOWNLOAD_FAILED MessageStatusType = 106
MessageStatusType_INCOMING_EXPIRED_OR_NOT_AVAILABLE MessageStatusType = 107
MessageStatusType_INCOMING_DELIVERED MessageStatusType = 108
MessageStatusType_INCOMING_DISPLAYED MessageStatusType = 109
MessageStatusType_INCOMING_DOWNLOAD_CANCELED MessageStatusType = 110
MessageStatusType_INCOMING_DOWNLOAD_FAILED_TOO_LARGE MessageStatusType = 111
MessageStatusType_INCOMING_DOWNLOAD_FAILED_SIM_HAS_NO_DATA MessageStatusType = 112
MessageStatusType_INCOMING_FAILED_TO_DECRYPT MessageStatusType = 113
MessageStatusType_INCOMING_DECRYPTION_ABORTED MessageStatusType = 114
MessageStatusType_TOMBSTONE_PARTICIPANT_JOINED MessageStatusType = 200
MessageStatusType_TOMBSTONE_PARTICIPANT_LEFT MessageStatusType = 201
MessageStatusType_TOMBSTONE_SELF_LEFT MessageStatusType = 202
MessageStatusType_TOMBSTONE_RCS_GROUP_CREATED MessageStatusType = 203
MessageStatusType_TOMBSTONE_MMS_GROUP_CREATED MessageStatusType = 204
MessageStatusType_TOMBSTONE_SMS_BROADCAST_CREATED MessageStatusType = 205
MessageStatusType_TOMBSTONE_ONE_ON_ONE_SMS_CREATED MessageStatusType = 206
MessageStatusType_TOMBSTONE_ONE_ON_ONE_RCS_CREATED MessageStatusType = 207
MessageStatusType_TOMBSTONE_SWITCH_TO_GROUP_MMS MessageStatusType = 208
MessageStatusType_TOMBSTONE_SWITCH_TO_BROADCAST_SMS MessageStatusType = 209
MessageStatusType_TOMBSTONE_SHOW_LINK_PREVIEWS MessageStatusType = 210
MessageStatusType_TOMBSTONE_GROUP_RENAMED_LOCAL MessageStatusType = 211
MessageStatusType_TOMBSTONE_VERIFIED_SMS_APPLICABLE MessageStatusType = 212
MessageStatusType_TOMBSTONE_ENCRYPTED_ONE_ON_ONE_RCS_CREATED MessageStatusType = 213
MessageStatusType_TOMBSTONE_PROTOCOL_SWITCH_TO_TEXT MessageStatusType = 214
MessageStatusType_TOMBSTONE_PROTOCOL_SWITCH_TO_RCS MessageStatusType = 215
MessageStatusType_TOMBSTONE_PROTOCOL_SWITCH_TO_ENCRYPTED_RCS MessageStatusType = 216
MessageStatusType_TOMBSTONE_GROUP_RENAMED_GLOBAL MessageStatusType = 217
MessageStatusType_TOMBSTONE_GROUP_NAME_CLEARED_GLOBAL MessageStatusType = 218
MessageStatusType_TOMBSTONE_PROTOCOL_SWITCH_TO_ENCRYPTED_RCS_INFO MessageStatusType = 219
MessageStatusType_TOMBSTONE_SELF_REMOVED_FROM_GROUP MessageStatusType = 220
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_PARTICIPANT_REMOVED_FROM_GROUP MessageStatusType = 221
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_SMS_NORM_PARTICIPANT_UPGRADED MessageStatusType = 222
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_RCS_NORM_PARTICIPANT_UPGRADED MessageStatusType = 223
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_RCS_NORM_PARTICIPANT_UPGRADED MessageStatusType = 224
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_PARTICIPANT_JOINED MessageStatusType = 225
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_PARTICIPANT_JOINED_INFO MessageStatusType = 226
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_PARTICIPANT_LEFT MessageStatusType = 227
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_SELF_LEFT MessageStatusType = 228
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_CREATED MessageStatusType = 229
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_SELF_REMOVED_FROM_ENCRYPTED_GROUP MessageStatusType = 230
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_PARTICIPANT_REMOVED_FROM_ENCRYPTED_GROUP MessageStatusType = 231
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_SUGGESTION_SHORTCUT_STAR_TOOLSTONE MessageStatusType = 232
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_GROUP_PROTOCOL_SWITCH_RCS_TO_E2EE MessageStatusType = 233
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_GROUP_PROTOCOL_SWITCH_E2EE_TO_RCS MessageStatusType = 234
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_TEXT_TO_E2EE MessageStatusType = 235
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_E2EE_TO_TEXT MessageStatusType = 236
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_RCS_TO_E2EE MessageStatusType = 237
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_E2EE_TO_RCS MessageStatusType = 238
MessageStatusType_MESSAGE_STATUS_TOMBSTONE_SATELLITE_EDUCATION MessageStatusType = 239
MessageStatusType_MESSAGE_DELETED MessageStatusType = 300
)
// Enum value maps for MessageStatusType.
var (
MessageStatusType_name = map[int32]string{
0: "STATUS_UNKNOWN",
1: "OUTGOING_COMPLETE",
2: "OUTGOING_DELIVERED",
11: "OUTGOING_DISPLAYED",
3: "OUTGOING_DRAFT",
10: "OUTGOING_SEND_AFTER_PROCESSING",
4: "OUTGOING_YET_TO_SEND",
5: "OUTGOING_SENDING",
6: "OUTGOING_RESENDING",
7: "OUTGOING_AWAITING_RETRY",
8: "OUTGOING_FAILED_GENERIC",
9: "OUTGOING_FAILED_EMERGENCY_NUMBER",
12: "OUTGOING_CANCELED",
13: "OUTGOING_FAILED_TOO_LARGE",
14: "OUTGOING_NOT_DELIVERED_YET",
15: "OUTGOING_REVOCATION_PENDING",
16: "OUTGOING_SCHEDULED",
17: "OUTGOING_FAILED_RECIPIENT_LOST_RCS",
18: "OUTGOING_FAILED_NO_RETRY_NO_FALLBACK",
19: "OUTGOING_FAILED_RECIPIENT_DID_NOT_DECRYPT",
20: "OUTGOING_VALIDATING",
21: "OUTGOING_FAILED_RECIPIENT_LOST_ENCRYPTION",
22: "OUTGOING_FAILED_RECIPIENT_DID_NOT_DECRYPT_NO_MORE_RETRY",
100: "INCOMING_COMPLETE",
101: "INCOMING_YET_TO_MANUAL_DOWNLOAD",
102: "INCOMING_RETRYING_MANUAL_DOWNLOAD",
103: "INCOMING_MANUAL_DOWNLOADING",
104: "INCOMING_RETRYING_AUTO_DOWNLOAD",
105: "INCOMING_AUTO_DOWNLOADING",
106: "INCOMING_DOWNLOAD_FAILED",
107: "INCOMING_EXPIRED_OR_NOT_AVAILABLE",
108: "INCOMING_DELIVERED",
109: "INCOMING_DISPLAYED",
110: "INCOMING_DOWNLOAD_CANCELED",
111: "INCOMING_DOWNLOAD_FAILED_TOO_LARGE",
112: "INCOMING_DOWNLOAD_FAILED_SIM_HAS_NO_DATA",
113: "INCOMING_FAILED_TO_DECRYPT",
114: "INCOMING_DECRYPTION_ABORTED",
200: "TOMBSTONE_PARTICIPANT_JOINED",
201: "TOMBSTONE_PARTICIPANT_LEFT",
202: "TOMBSTONE_SELF_LEFT",
203: "TOMBSTONE_RCS_GROUP_CREATED",
204: "TOMBSTONE_MMS_GROUP_CREATED",
205: "TOMBSTONE_SMS_BROADCAST_CREATED",
206: "TOMBSTONE_ONE_ON_ONE_SMS_CREATED",
207: "TOMBSTONE_ONE_ON_ONE_RCS_CREATED",
208: "TOMBSTONE_SWITCH_TO_GROUP_MMS",
209: "TOMBSTONE_SWITCH_TO_BROADCAST_SMS",
210: "TOMBSTONE_SHOW_LINK_PREVIEWS",
211: "TOMBSTONE_GROUP_RENAMED_LOCAL",
212: "TOMBSTONE_VERIFIED_SMS_APPLICABLE",
213: "TOMBSTONE_ENCRYPTED_ONE_ON_ONE_RCS_CREATED",
214: "TOMBSTONE_PROTOCOL_SWITCH_TO_TEXT",
215: "TOMBSTONE_PROTOCOL_SWITCH_TO_RCS",
216: "TOMBSTONE_PROTOCOL_SWITCH_TO_ENCRYPTED_RCS",
217: "TOMBSTONE_GROUP_RENAMED_GLOBAL",
218: "TOMBSTONE_GROUP_NAME_CLEARED_GLOBAL",
219: "TOMBSTONE_PROTOCOL_SWITCH_TO_ENCRYPTED_RCS_INFO",
220: "TOMBSTONE_SELF_REMOVED_FROM_GROUP",
221: "MESSAGE_STATUS_TOMBSTONE_PARTICIPANT_REMOVED_FROM_GROUP",
222: "MESSAGE_STATUS_TOMBSTONE_SMS_NORM_PARTICIPANT_UPGRADED",
223: "MESSAGE_STATUS_TOMBSTONE_RCS_NORM_PARTICIPANT_UPGRADED",
224: "MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_RCS_NORM_PARTICIPANT_UPGRADED",
225: "MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_PARTICIPANT_JOINED",
226: "MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_PARTICIPANT_JOINED_INFO",
227: "MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_PARTICIPANT_LEFT",
228: "MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_SELF_LEFT",
229: "MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_CREATED",
230: "MESSAGE_STATUS_TOMBSTONE_SELF_REMOVED_FROM_ENCRYPTED_GROUP",
231: "MESSAGE_STATUS_TOMBSTONE_PARTICIPANT_REMOVED_FROM_ENCRYPTED_GROUP",
232: "MESSAGE_STATUS_TOMBSTONE_SUGGESTION_SHORTCUT_STAR_TOOLSTONE",
233: "MESSAGE_STATUS_TOMBSTONE_GROUP_PROTOCOL_SWITCH_RCS_TO_E2EE",
234: "MESSAGE_STATUS_TOMBSTONE_GROUP_PROTOCOL_SWITCH_E2EE_TO_RCS",
235: "MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_TEXT_TO_E2EE",
236: "MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_E2EE_TO_TEXT",
237: "MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_RCS_TO_E2EE",
238: "MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_E2EE_TO_RCS",
239: "MESSAGE_STATUS_TOMBSTONE_SATELLITE_EDUCATION",
300: "MESSAGE_DELETED",
}
MessageStatusType_value = map[string]int32{
"STATUS_UNKNOWN": 0,
"OUTGOING_COMPLETE": 1,
"OUTGOING_DELIVERED": 2,
"OUTGOING_DISPLAYED": 11,
"OUTGOING_DRAFT": 3,
"OUTGOING_SEND_AFTER_PROCESSING": 10,
"OUTGOING_YET_TO_SEND": 4,
"OUTGOING_SENDING": 5,
"OUTGOING_RESENDING": 6,
"OUTGOING_AWAITING_RETRY": 7,
"OUTGOING_FAILED_GENERIC": 8,
"OUTGOING_FAILED_EMERGENCY_NUMBER": 9,
"OUTGOING_CANCELED": 12,
"OUTGOING_FAILED_TOO_LARGE": 13,
"OUTGOING_NOT_DELIVERED_YET": 14,
"OUTGOING_REVOCATION_PENDING": 15,
"OUTGOING_SCHEDULED": 16,
"OUTGOING_FAILED_RECIPIENT_LOST_RCS": 17,
"OUTGOING_FAILED_NO_RETRY_NO_FALLBACK": 18,
"OUTGOING_FAILED_RECIPIENT_DID_NOT_DECRYPT": 19,
"OUTGOING_VALIDATING": 20,
"OUTGOING_FAILED_RECIPIENT_LOST_ENCRYPTION": 21,
"OUTGOING_FAILED_RECIPIENT_DID_NOT_DECRYPT_NO_MORE_RETRY": 22,
"INCOMING_COMPLETE": 100,
"INCOMING_YET_TO_MANUAL_DOWNLOAD": 101,
"INCOMING_RETRYING_MANUAL_DOWNLOAD": 102,
"INCOMING_MANUAL_DOWNLOADING": 103,
"INCOMING_RETRYING_AUTO_DOWNLOAD": 104,
"INCOMING_AUTO_DOWNLOADING": 105,
"INCOMING_DOWNLOAD_FAILED": 106,
"INCOMING_EXPIRED_OR_NOT_AVAILABLE": 107,
"INCOMING_DELIVERED": 108,
"INCOMING_DISPLAYED": 109,
"INCOMING_DOWNLOAD_CANCELED": 110,
"INCOMING_DOWNLOAD_FAILED_TOO_LARGE": 111,
"INCOMING_DOWNLOAD_FAILED_SIM_HAS_NO_DATA": 112,
"INCOMING_FAILED_TO_DECRYPT": 113,
"INCOMING_DECRYPTION_ABORTED": 114,
"TOMBSTONE_PARTICIPANT_JOINED": 200,
"TOMBSTONE_PARTICIPANT_LEFT": 201,
"TOMBSTONE_SELF_LEFT": 202,
"TOMBSTONE_RCS_GROUP_CREATED": 203,
"TOMBSTONE_MMS_GROUP_CREATED": 204,
"TOMBSTONE_SMS_BROADCAST_CREATED": 205,
"TOMBSTONE_ONE_ON_ONE_SMS_CREATED": 206,
"TOMBSTONE_ONE_ON_ONE_RCS_CREATED": 207,
"TOMBSTONE_SWITCH_TO_GROUP_MMS": 208,
"TOMBSTONE_SWITCH_TO_BROADCAST_SMS": 209,
"TOMBSTONE_SHOW_LINK_PREVIEWS": 210,
"TOMBSTONE_GROUP_RENAMED_LOCAL": 211,
"TOMBSTONE_VERIFIED_SMS_APPLICABLE": 212,
"TOMBSTONE_ENCRYPTED_ONE_ON_ONE_RCS_CREATED": 213,
"TOMBSTONE_PROTOCOL_SWITCH_TO_TEXT": 214,
"TOMBSTONE_PROTOCOL_SWITCH_TO_RCS": 215,
"TOMBSTONE_PROTOCOL_SWITCH_TO_ENCRYPTED_RCS": 216,
"TOMBSTONE_GROUP_RENAMED_GLOBAL": 217,
"TOMBSTONE_GROUP_NAME_CLEARED_GLOBAL": 218,
"TOMBSTONE_PROTOCOL_SWITCH_TO_ENCRYPTED_RCS_INFO": 219,
"TOMBSTONE_SELF_REMOVED_FROM_GROUP": 220,
"MESSAGE_STATUS_TOMBSTONE_PARTICIPANT_REMOVED_FROM_GROUP": 221,
"MESSAGE_STATUS_TOMBSTONE_SMS_NORM_PARTICIPANT_UPGRADED": 222,
"MESSAGE_STATUS_TOMBSTONE_RCS_NORM_PARTICIPANT_UPGRADED": 223,
"MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_RCS_NORM_PARTICIPANT_UPGRADED": 224,
"MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_PARTICIPANT_JOINED": 225,
"MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_PARTICIPANT_JOINED_INFO": 226,
"MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_PARTICIPANT_LEFT": 227,
"MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_SELF_LEFT": 228,
"MESSAGE_STATUS_TOMBSTONE_ENCRYPTED_GROUP_CREATED": 229,
"MESSAGE_STATUS_TOMBSTONE_SELF_REMOVED_FROM_ENCRYPTED_GROUP": 230,
"MESSAGE_STATUS_TOMBSTONE_PARTICIPANT_REMOVED_FROM_ENCRYPTED_GROUP": 231,
"MESSAGE_STATUS_TOMBSTONE_SUGGESTION_SHORTCUT_STAR_TOOLSTONE": 232,
"MESSAGE_STATUS_TOMBSTONE_GROUP_PROTOCOL_SWITCH_RCS_TO_E2EE": 233,
"MESSAGE_STATUS_TOMBSTONE_GROUP_PROTOCOL_SWITCH_E2EE_TO_RCS": 234,
"MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_TEXT_TO_E2EE": 235,
"MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_E2EE_TO_TEXT": 236,
"MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_RCS_TO_E2EE": 237,
"MESSAGE_STATUS_TOMBSTONE_PROTOCOL_SWITCH_E2EE_TO_RCS": 238,
"MESSAGE_STATUS_TOMBSTONE_SATELLITE_EDUCATION": 239,
"MESSAGE_DELETED": 300,
}
)
func (x MessageStatusType) Enum() *MessageStatusType {
p := new(MessageStatusType)
*p = x
return p
}
func (x MessageStatusType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MessageStatusType) Descriptor() protoreflect.EnumDescriptor {
return file_conversations_proto_enumTypes[3].Descriptor()
}
func (MessageStatusType) Type() protoreflect.EnumType {
return &file_conversations_proto_enumTypes[3]
}
func (x MessageStatusType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use MessageStatusType.Descriptor instead.
func (MessageStatusType) EnumDescriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{3}
}
type ConversationStatus int32
const (
ConversationStatus_UNKNOWN_CONVERSATION_STATUS ConversationStatus = 0
ConversationStatus_ACTIVE ConversationStatus = 1
ConversationStatus_ARCHIVED ConversationStatus = 2
ConversationStatus_DELETED ConversationStatus = 3
ConversationStatus_KEEP_ARCHIVED ConversationStatus = 4
ConversationStatus_SPAM_FOLDER ConversationStatus = 5
ConversationStatus_BLOCKED_FOLDER ConversationStatus = 6
)
// Enum value maps for ConversationStatus.
var (
ConversationStatus_name = map[int32]string{
0: "UNKNOWN_CONVERSATION_STATUS",
1: "ACTIVE",
2: "ARCHIVED",
3: "DELETED",
4: "KEEP_ARCHIVED",
5: "SPAM_FOLDER",
6: "BLOCKED_FOLDER",
}
ConversationStatus_value = map[string]int32{
"UNKNOWN_CONVERSATION_STATUS": 0,
"ACTIVE": 1,
"ARCHIVED": 2,
"DELETED": 3,
"KEEP_ARCHIVED": 4,
"SPAM_FOLDER": 5,
"BLOCKED_FOLDER": 6,
}
)
func (x ConversationStatus) Enum() *ConversationStatus {
p := new(ConversationStatus)
*p = x
return p
}
func (x ConversationStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ConversationStatus) Descriptor() protoreflect.EnumDescriptor {
return file_conversations_proto_enumTypes[4].Descriptor()
}
func (ConversationStatus) Type() protoreflect.EnumType {
return &file_conversations_proto_enumTypes[4]
}
func (x ConversationStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ConversationStatus.Descriptor instead.
func (ConversationStatus) EnumDescriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{4}
}
type MediaFormats int32
const (
MediaFormats_UNSPECIFIED_TYPE MediaFormats = 0
MediaFormats_IMAGE_JPEG MediaFormats = 1
MediaFormats_IMAGE_JPG MediaFormats = 2
MediaFormats_IMAGE_PNG MediaFormats = 3
MediaFormats_IMAGE_GIF MediaFormats = 4
MediaFormats_IMAGE_WBMP MediaFormats = 5
MediaFormats_IMAGE_X_MS_BMP MediaFormats = 6
MediaFormats_IMAGE_UNSPECIFIED MediaFormats = 7
MediaFormats_VIDEO_MP4 MediaFormats = 8
MediaFormats_VIDEO_3G2 MediaFormats = 9
MediaFormats_VIDEO_3GPP MediaFormats = 10
MediaFormats_VIDEO_WEBM MediaFormats = 11
MediaFormats_VIDEO_MKV MediaFormats = 12
MediaFormats_VIDEO_UNSPECIFIED MediaFormats = 13
MediaFormats_AUDIO_AAC MediaFormats = 14
MediaFormats_AUDIO_AMR MediaFormats = 15
MediaFormats_AUDIO_MP3 MediaFormats = 16
MediaFormats_AUDIO_MPEG MediaFormats = 17
MediaFormats_AUDIO_MPG MediaFormats = 18
MediaFormats_AUDIO_MP4 MediaFormats = 19
MediaFormats_AUDIO_MP4_LATM MediaFormats = 20
MediaFormats_AUDIO_3GPP MediaFormats = 21
MediaFormats_AUDIO_OGG MediaFormats = 22
MediaFormats_AUDIO_UNSPECIFIED MediaFormats = 23
MediaFormats_TEXT_VCARD MediaFormats = 24
MediaFormats_APP_PDF MediaFormats = 25
MediaFormats_APP_TXT MediaFormats = 26
MediaFormats_APP_HTML MediaFormats = 27
MediaFormats_APP_DOC MediaFormats = 28
MediaFormats_APP_DOCX MediaFormats = 29
MediaFormats_APP_PPTX MediaFormats = 30
MediaFormats_APP_PPT MediaFormats = 31
MediaFormats_APP_XLSX MediaFormats = 32
MediaFormats_APP_XLS MediaFormats = 33
MediaFormats_APP_APK MediaFormats = 34
MediaFormats_APP_ZIP MediaFormats = 35
MediaFormats_APP_JAR MediaFormats = 36
MediaFormats_APP_UNSPECIFIED MediaFormats = 37
MediaFormats_CAL_TEXT_VCALENDAR MediaFormats = 38
MediaFormats_CAL_TEXT_XVCALENDAR MediaFormats = 39
MediaFormats_CAL_TEXT_CALENDAR MediaFormats = 40
MediaFormats_CAL_APPLICATION_VCS MediaFormats = 41
MediaFormats_CAL_APPLICATION_ICS MediaFormats = 42
MediaFormats_CAL_APPLICATION_HBSVCS MediaFormats = 43
)
// Enum value maps for MediaFormats.
var (
MediaFormats_name = map[int32]string{
0: "UNSPECIFIED_TYPE",
1: "IMAGE_JPEG",
2: "IMAGE_JPG",
3: "IMAGE_PNG",
4: "IMAGE_GIF",
5: "IMAGE_WBMP",
6: "IMAGE_X_MS_BMP",
7: "IMAGE_UNSPECIFIED",
8: "VIDEO_MP4",
9: "VIDEO_3G2",
10: "VIDEO_3GPP",
11: "VIDEO_WEBM",
12: "VIDEO_MKV",
13: "VIDEO_UNSPECIFIED",
14: "AUDIO_AAC",
15: "AUDIO_AMR",
16: "AUDIO_MP3",
17: "AUDIO_MPEG",
18: "AUDIO_MPG",
19: "AUDIO_MP4",
20: "AUDIO_MP4_LATM",
21: "AUDIO_3GPP",
22: "AUDIO_OGG",
23: "AUDIO_UNSPECIFIED",
24: "TEXT_VCARD",
25: "APP_PDF",
26: "APP_TXT",
27: "APP_HTML",
28: "APP_DOC",
29: "APP_DOCX",
30: "APP_PPTX",
31: "APP_PPT",
32: "APP_XLSX",
33: "APP_XLS",
34: "APP_APK",
35: "APP_ZIP",
36: "APP_JAR",
37: "APP_UNSPECIFIED",
38: "CAL_TEXT_VCALENDAR",
39: "CAL_TEXT_XVCALENDAR",
40: "CAL_TEXT_CALENDAR",
41: "CAL_APPLICATION_VCS",
42: "CAL_APPLICATION_ICS",
43: "CAL_APPLICATION_HBSVCS",
}
MediaFormats_value = map[string]int32{
"UNSPECIFIED_TYPE": 0,
"IMAGE_JPEG": 1,
"IMAGE_JPG": 2,
"IMAGE_PNG": 3,
"IMAGE_GIF": 4,
"IMAGE_WBMP": 5,
"IMAGE_X_MS_BMP": 6,
"IMAGE_UNSPECIFIED": 7,
"VIDEO_MP4": 8,
"VIDEO_3G2": 9,
"VIDEO_3GPP": 10,
"VIDEO_WEBM": 11,
"VIDEO_MKV": 12,
"VIDEO_UNSPECIFIED": 13,
"AUDIO_AAC": 14,
"AUDIO_AMR": 15,
"AUDIO_MP3": 16,
"AUDIO_MPEG": 17,
"AUDIO_MPG": 18,
"AUDIO_MP4": 19,
"AUDIO_MP4_LATM": 20,
"AUDIO_3GPP": 21,
"AUDIO_OGG": 22,
"AUDIO_UNSPECIFIED": 23,
"TEXT_VCARD": 24,
"APP_PDF": 25,
"APP_TXT": 26,
"APP_HTML": 27,
"APP_DOC": 28,
"APP_DOCX": 29,
"APP_PPTX": 30,
"APP_PPT": 31,
"APP_XLSX": 32,
"APP_XLS": 33,
"APP_APK": 34,
"APP_ZIP": 35,
"APP_JAR": 36,
"APP_UNSPECIFIED": 37,
"CAL_TEXT_VCALENDAR": 38,
"CAL_TEXT_XVCALENDAR": 39,
"CAL_TEXT_CALENDAR": 40,
"CAL_APPLICATION_VCS": 41,
"CAL_APPLICATION_ICS": 42,
"CAL_APPLICATION_HBSVCS": 43,
}
)
func (x MediaFormats) Enum() *MediaFormats {
p := new(MediaFormats)
*p = x
return p
}
func (x MediaFormats) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MediaFormats) Descriptor() protoreflect.EnumDescriptor {
return file_conversations_proto_enumTypes[5].Descriptor()
}
func (MediaFormats) Type() protoreflect.EnumType {
return &file_conversations_proto_enumTypes[5]
}
func (x MediaFormats) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use MediaFormats.Descriptor instead.
func (MediaFormats) EnumDescriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{5}
}
type Contact struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ParticipantID string `protobuf:"bytes,1,opt,name=participantID,proto3" json:"participantID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Number *ContactNumber `protobuf:"bytes,3,opt,name=number,proto3" json:"number,omitempty"`
AvatarHexColor string `protobuf:"bytes,7,opt,name=avatarHexColor,proto3" json:"avatarHexColor,omitempty"`
UnknownBool bool `protobuf:"varint,10,opt,name=unknownBool,proto3" json:"unknownBool,omitempty"`
ContactID string `protobuf:"bytes,11,opt,name=contactID,proto3" json:"contactID,omitempty"`
}
func (x *Contact) Reset() {
*x = Contact{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Contact) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Contact) ProtoMessage() {}
func (x *Contact) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Contact.ProtoReflect.Descriptor instead.
func (*Contact) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{0}
}
func (x *Contact) GetParticipantID() string {
if x != nil {
return x.ParticipantID
}
return ""
}
func (x *Contact) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Contact) GetNumber() *ContactNumber {
if x != nil {
return x.Number
}
return nil
}
func (x *Contact) GetAvatarHexColor() string {
if x != nil {
return x.AvatarHexColor
}
return ""
}
func (x *Contact) GetUnknownBool() bool {
if x != nil {
return x.UnknownBool
}
return false
}
func (x *Contact) GetContactID() string {
if x != nil {
return x.ContactID
}
return ""
}
type ContactNumber struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Might be 2 for contact and 7 for user input?
MysteriousInt int32 `protobuf:"varint,1,opt,name=mysteriousInt,proto3" json:"mysteriousInt,omitempty"`
Number string `protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty"`
Number2 string `protobuf:"bytes,3,opt,name=number2,proto3" json:"number2,omitempty"`
FormattedNumber *string `protobuf:"bytes,4,opt,name=formattedNumber,proto3,oneof" json:"formattedNumber,omitempty"`
}
func (x *ContactNumber) Reset() {
*x = ContactNumber{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ContactNumber) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ContactNumber) ProtoMessage() {}
func (x *ContactNumber) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ContactNumber.ProtoReflect.Descriptor instead.
func (*ContactNumber) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{1}
}
func (x *ContactNumber) GetMysteriousInt() int32 {
if x != nil {
return x.MysteriousInt
}
return 0
}
func (x *ContactNumber) GetNumber() string {
if x != nil {
return x.Number
}
return ""
}
func (x *ContactNumber) GetNumber2() string {
if x != nil {
return x.Number2
}
return ""
}
func (x *ContactNumber) GetFormattedNumber() string {
if x != nil && x.FormattedNumber != nil {
return *x.FormattedNumber
}
return ""
}
type Message struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageID string `protobuf:"bytes,1,opt,name=messageID,proto3" json:"messageID,omitempty"`
MsgType *MsgType `protobuf:"bytes,3,opt,name=msgType,proto3" json:"msgType,omitempty"`
MessageStatus *MessageStatus `protobuf:"bytes,4,opt,name=messageStatus,proto3" json:"messageStatus,omitempty"`
Timestamp int64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // check this
ConversationID string `protobuf:"bytes,7,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
ParticipantID string `protobuf:"bytes,9,opt,name=participantID,proto3" json:"participantID,omitempty"`
MessageInfo []*MessageInfo `protobuf:"bytes,10,rep,name=messageInfo,proto3" json:"messageInfo,omitempty"`
Type int64 `protobuf:"varint,11,opt,name=type,proto3" json:"type,omitempty"`
TmpID string `protobuf:"bytes,12,opt,name=tmpID,proto3" json:"tmpID,omitempty"`
Subject *string `protobuf:"bytes,14,opt,name=subject,proto3,oneof" json:"subject,omitempty"`
SomeInt int64 `protobuf:"varint,16,opt,name=someInt,proto3" json:"someInt,omitempty"`
Reactions []*ReactionEntry `protobuf:"bytes,19,rep,name=reactions,proto3" json:"reactions,omitempty"`
ReplyMessage *ReplyMessage `protobuf:"bytes,21,opt,name=replyMessage,proto3,oneof" json:"replyMessage,omitempty"`
}
func (x *Message) Reset() {
*x = Message{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Message) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Message) ProtoMessage() {}
func (x *Message) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Message.ProtoReflect.Descriptor instead.
func (*Message) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{2}
}
func (x *Message) GetMessageID() string {
if x != nil {
return x.MessageID
}
return ""
}
func (x *Message) GetMsgType() *MsgType {
if x != nil {
return x.MsgType
}
return nil
}
func (x *Message) GetMessageStatus() *MessageStatus {
if x != nil {
return x.MessageStatus
}
return nil
}
func (x *Message) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
func (x *Message) GetConversationID() string {
if x != nil {
return x.ConversationID
}
return ""
}
func (x *Message) GetParticipantID() string {
if x != nil {
return x.ParticipantID
}
return ""
}
func (x *Message) GetMessageInfo() []*MessageInfo {
if x != nil {
return x.MessageInfo
}
return nil
}
func (x *Message) GetType() int64 {
if x != nil {
return x.Type
}
return 0
}
func (x *Message) GetTmpID() string {
if x != nil {
return x.TmpID
}
return ""
}
func (x *Message) GetSubject() string {
if x != nil && x.Subject != nil {
return *x.Subject
}
return ""
}
func (x *Message) GetSomeInt() int64 {
if x != nil {
return x.SomeInt
}
return 0
}
func (x *Message) GetReactions() []*ReactionEntry {
if x != nil {
return x.Reactions
}
return nil
}
func (x *Message) GetReplyMessage() *ReplyMessage {
if x != nil {
return x.ReplyMessage
}
return nil
}
type ReactionEntry struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data *ReactionData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
ParticipantIDs []string `protobuf:"bytes,2,rep,name=participantIDs,proto3" json:"participantIDs,omitempty"`
}
func (x *ReactionEntry) Reset() {
*x = ReactionEntry{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ReactionEntry) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReactionEntry) ProtoMessage() {}
func (x *ReactionEntry) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReactionEntry.ProtoReflect.Descriptor instead.
func (*ReactionEntry) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{3}
}
func (x *ReactionEntry) GetData() *ReactionData {
if x != nil {
return x.Data
}
return nil
}
func (x *ReactionEntry) GetParticipantIDs() []string {
if x != nil {
return x.ParticipantIDs
}
return nil
}
type CustomEmojiData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
UnknownInt4 *int32 `protobuf:"varint,4,opt,name=unknownInt4,proto3,oneof" json:"unknownInt4,omitempty"`
InnerData *CustomEmojiData_Inner `protobuf:"bytes,100,opt,name=innerData,proto3" json:"innerData,omitempty"`
}
func (x *CustomEmojiData) Reset() {
*x = CustomEmojiData{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CustomEmojiData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CustomEmojiData) ProtoMessage() {}
func (x *CustomEmojiData) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CustomEmojiData.ProtoReflect.Descriptor instead.
func (*CustomEmojiData) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{4}
}
func (x *CustomEmojiData) GetUuid() string {
if x != nil {
return x.Uuid
}
return ""
}
func (x *CustomEmojiData) GetUnknownInt4() int32 {
if x != nil && x.UnknownInt4 != nil {
return *x.UnknownInt4
}
return 0
}
func (x *CustomEmojiData) GetInnerData() *CustomEmojiData_Inner {
if x != nil {
return x.InnerData
}
return nil
}
type ReactionData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Unicode string `protobuf:"bytes,1,opt,name=unicode,proto3" json:"unicode,omitempty"`
Type EmojiType `protobuf:"varint,2,opt,name=type,proto3,enum=conversations.EmojiType" json:"type,omitempty"`
CustomEmoji *CustomEmojiData `protobuf:"bytes,101,opt,name=customEmoji,proto3" json:"customEmoji,omitempty"`
}
func (x *ReactionData) Reset() {
*x = ReactionData{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ReactionData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReactionData) ProtoMessage() {}
func (x *ReactionData) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReactionData.ProtoReflect.Descriptor instead.
func (*ReactionData) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{5}
}
func (x *ReactionData) GetUnicode() string {
if x != nil {
return x.Unicode
}
return ""
}
func (x *ReactionData) GetType() EmojiType {
if x != nil {
return x.Type
}
return EmojiType_REACTION_TYPE_UNSPECIFIED
}
func (x *ReactionData) GetCustomEmoji() *CustomEmojiData {
if x != nil {
return x.CustomEmoji
}
return nil
}
type EmojiMeta struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
EmojiMetaData []*EmojiMetaData `protobuf:"bytes,1,rep,name=emojiMetaData,proto3" json:"emojiMetaData,omitempty"`
}
func (x *EmojiMeta) Reset() {
*x = EmojiMeta{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EmojiMeta) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EmojiMeta) ProtoMessage() {}
func (x *EmojiMeta) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EmojiMeta.ProtoReflect.Descriptor instead.
func (*EmojiMeta) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{6}
}
func (x *EmojiMeta) GetEmojiMetaData() []*EmojiMetaData {
if x != nil {
return x.EmojiMetaData
}
return nil
}
type EmojiMetaData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Unicode string `protobuf:"bytes,1,opt,name=unicode,proto3" json:"unicode,omitempty"`
Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
}
func (x *EmojiMetaData) Reset() {
*x = EmojiMetaData{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EmojiMetaData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EmojiMetaData) ProtoMessage() {}
func (x *EmojiMetaData) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use EmojiMetaData.ProtoReflect.Descriptor instead.
func (*EmojiMetaData) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{7}
}
func (x *EmojiMetaData) GetUnicode() string {
if x != nil {
return x.Unicode
}
return ""
}
func (x *EmojiMetaData) GetNames() []string {
if x != nil {
return x.Names
}
return nil
}
type ReplyMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageID string `protobuf:"bytes,1,opt,name=messageID,proto3" json:"messageID,omitempty"`
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"` // might be participantID
ReplyMessageData *ReplyMessageData `protobuf:"bytes,3,opt,name=replyMessageData,proto3" json:"replyMessageData,omitempty"`
}
func (x *ReplyMessage) Reset() {
*x = ReplyMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ReplyMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReplyMessage) ProtoMessage() {}
func (x *ReplyMessage) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReplyMessage.ProtoReflect.Descriptor instead.
func (*ReplyMessage) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{8}
}
func (x *ReplyMessage) GetMessageID() string {
if x != nil {
return x.MessageID
}
return ""
}
func (x *ReplyMessage) GetConversationID() string {
if x != nil {
return x.ConversationID
}
return ""
}
func (x *ReplyMessage) GetReplyMessageData() *ReplyMessageData {
if x != nil {
return x.ReplyMessageData
}
return nil
}
type ReplyMessageData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *ReplyMessageData) Reset() {
*x = ReplyMessageData{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ReplyMessageData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReplyMessageData) ProtoMessage() {}
func (x *ReplyMessageData) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReplyMessageData.ProtoReflect.Descriptor instead.
func (*ReplyMessageData) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{9}
}
type MessageInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ActionMessageID *string `protobuf:"bytes,1,opt,name=actionMessageID,proto3,oneof" json:"actionMessageID,omitempty"`
// Types that are assignable to Data:
//
// *MessageInfo_MessageContent
// *MessageInfo_MediaContent
Data isMessageInfo_Data `protobuf_oneof:"data"`
}
func (x *MessageInfo) Reset() {
*x = MessageInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MessageInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MessageInfo) ProtoMessage() {}
func (x *MessageInfo) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MessageInfo.ProtoReflect.Descriptor instead.
func (*MessageInfo) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{10}
}
func (x *MessageInfo) GetActionMessageID() string {
if x != nil && x.ActionMessageID != nil {
return *x.ActionMessageID
}
return ""
}
func (m *MessageInfo) GetData() isMessageInfo_Data {
if m != nil {
return m.Data
}
return nil
}
func (x *MessageInfo) GetMessageContent() *MessageContent {
if x, ok := x.GetData().(*MessageInfo_MessageContent); ok {
return x.MessageContent
}
return nil
}
func (x *MessageInfo) GetMediaContent() *MediaContent {
if x, ok := x.GetData().(*MessageInfo_MediaContent); ok {
return x.MediaContent
}
return nil
}
type isMessageInfo_Data interface {
isMessageInfo_Data()
}
type MessageInfo_MessageContent struct {
MessageContent *MessageContent `protobuf:"bytes,2,opt,name=messageContent,proto3,oneof"`
}
type MessageInfo_MediaContent struct {
MediaContent *MediaContent `protobuf:"bytes,3,opt,name=mediaContent,proto3,oneof"`
}
func (*MessageInfo_MessageContent) isMessageInfo_Data() {}
func (*MessageInfo_MediaContent) isMessageInfo_Data() {}
type MediaContent struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Format MediaFormats `protobuf:"varint,1,opt,name=format,proto3,enum=conversations.MediaFormats" json:"format,omitempty"`
MediaID string `protobuf:"bytes,2,opt,name=mediaID,proto3" json:"mediaID,omitempty"`
MediaName string `protobuf:"bytes,4,opt,name=mediaName,proto3" json:"mediaName,omitempty"`
Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
Dimensions *Dimensions `protobuf:"bytes,6,opt,name=dimensions,proto3" json:"dimensions,omitempty"`
MediaData []byte `protobuf:"bytes,7,opt,name=mediaData,proto3" json:"mediaData,omitempty"`
MediaID2 string `protobuf:"bytes,9,opt,name=mediaID2,proto3" json:"mediaID2,omitempty"`
DecryptionKey []byte `protobuf:"bytes,11,opt,name=decryptionKey,proto3" json:"decryptionKey,omitempty"`
DecryptionKey2 []byte `protobuf:"bytes,12,opt,name=decryptionKey2,proto3" json:"decryptionKey2,omitempty"`
MimeType string `protobuf:"bytes,14,opt,name=mimeType,proto3" json:"mimeType,omitempty"`
}
func (x *MediaContent) Reset() {
*x = MediaContent{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MediaContent) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MediaContent) ProtoMessage() {}
func (x *MediaContent) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MediaContent.ProtoReflect.Descriptor instead.
func (*MediaContent) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{11}
}
func (x *MediaContent) GetFormat() MediaFormats {
if x != nil {
return x.Format
}
return MediaFormats_UNSPECIFIED_TYPE
}
func (x *MediaContent) GetMediaID() string {
if x != nil {
return x.MediaID
}
return ""
}
func (x *MediaContent) GetMediaName() string {
if x != nil {
return x.MediaName
}
return ""
}
func (x *MediaContent) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
func (x *MediaContent) GetDimensions() *Dimensions {
if x != nil {
return x.Dimensions
}
return nil
}
func (x *MediaContent) GetMediaData() []byte {
if x != nil {
return x.MediaData
}
return nil
}
func (x *MediaContent) GetMediaID2() string {
if x != nil {
return x.MediaID2
}
return ""
}
func (x *MediaContent) GetDecryptionKey() []byte {
if x != nil {
return x.DecryptionKey
}
return nil
}
func (x *MediaContent) GetDecryptionKey2() []byte {
if x != nil {
return x.DecryptionKey2
}
return nil
}
func (x *MediaContent) GetMimeType() string {
if x != nil {
return x.MimeType
}
return ""
}
type Dimensions struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Width int64 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"`
Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
}
func (x *Dimensions) Reset() {
*x = Dimensions{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Dimensions) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Dimensions) ProtoMessage() {}
func (x *Dimensions) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Dimensions.ProtoReflect.Descriptor instead.
func (*Dimensions) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{12}
}
func (x *Dimensions) GetWidth() int64 {
if x != nil {
return x.Width
}
return 0
}
func (x *Dimensions) GetHeight() int64 {
if x != nil {
return x.Height
}
return 0
}
type MessageContent struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
}
func (x *MessageContent) Reset() {
*x = MessageContent{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MessageContent) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MessageContent) ProtoMessage() {}
func (x *MessageContent) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MessageContent.ProtoReflect.Descriptor instead.
func (*MessageContent) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{13}
}
func (x *MessageContent) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
type MsgType struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
}
func (x *MsgType) Reset() {
*x = MsgType{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MsgType) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MsgType) ProtoMessage() {}
func (x *MsgType) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MsgType.ProtoReflect.Descriptor instead.
func (*MsgType) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{14}
}
func (x *MsgType) GetType() int64 {
if x != nil {
return x.Type
}
return 0
}
type MessageStatus struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status MessageStatusType `protobuf:"varint,2,opt,name=status,proto3,enum=conversations.MessageStatusType" json:"status,omitempty"`
SubCode int64 `protobuf:"varint,3,opt,name=subCode,proto3" json:"subCode,omitempty"`
ErrMsg string `protobuf:"bytes,4,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
StatusText string `protobuf:"bytes,5,opt,name=statusText,proto3" json:"statusText,omitempty"`
ThirdCode int64 `protobuf:"varint,6,opt,name=thirdCode,proto3" json:"thirdCode,omitempty"`
}
func (x *MessageStatus) Reset() {
*x = MessageStatus{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MessageStatus) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MessageStatus) ProtoMessage() {}
func (x *MessageStatus) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MessageStatus.ProtoReflect.Descriptor instead.
func (*MessageStatus) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{15}
}
func (x *MessageStatus) GetStatus() MessageStatusType {
if x != nil {
return x.Status
}
return MessageStatusType_STATUS_UNKNOWN
}
func (x *MessageStatus) GetSubCode() int64 {
if x != nil {
return x.SubCode
}
return 0
}
func (x *MessageStatus) GetErrMsg() string {
if x != nil {
return x.ErrMsg
}
return ""
}
func (x *MessageStatus) GetStatusText() string {
if x != nil {
return x.StatusText
}
return ""
}
func (x *MessageStatus) GetThirdCode() int64 {
if x != nil {
return x.ThirdCode
}
return 0
}
type Conversation struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
LatestMessage *LatestMessage `protobuf:"bytes,4,opt,name=latestMessage,proto3" json:"latestMessage,omitempty"`
LastMessageTimestamp int64 `protobuf:"varint,5,opt,name=lastMessageTimestamp,proto3" json:"lastMessageTimestamp,omitempty"`
Unread bool `protobuf:"varint,6,opt,name=unread,proto3" json:"unread,omitempty"`
IsGroupChat bool `protobuf:"varint,10,opt,name=isGroupChat,proto3" json:"isGroupChat,omitempty"` // not certain
DefaultOutgoingID string `protobuf:"bytes,11,opt,name=defaultOutgoingID,proto3" json:"defaultOutgoingID,omitempty"`
Status ConversationStatus `protobuf:"varint,12,opt,name=status,proto3,enum=conversations.ConversationStatus" json:"status,omitempty"`
ReadOnly bool `protobuf:"varint,13,opt,name=readOnly,proto3" json:"readOnly,omitempty"`
AvatarHexColor string `protobuf:"bytes,15,opt,name=avatarHexColor,proto3" json:"avatarHexColor,omitempty"`
LatestMessageID string `protobuf:"bytes,17,opt,name=latestMessageID,proto3" json:"latestMessageID,omitempty"`
Participants []*Participant `protobuf:"bytes,20,rep,name=participants,proto3" json:"participants,omitempty"`
OtherParticipants []string `protobuf:"bytes,21,rep,name=otherParticipants,proto3" json:"otherParticipants,omitempty"` // participant ids excluding me
Type ConversationType `protobuf:"varint,22,opt,name=type,proto3,enum=conversations.ConversationType" json:"type,omitempty"`
SubType bool `protobuf:"varint,24,opt,name=subType,proto3" json:"subType,omitempty"`
Pinned bool `protobuf:"varint,26,opt,name=pinned,proto3" json:"pinned,omitempty"`
UnknownTimestamp int64 `protobuf:"varint,28,opt,name=unknownTimestamp,proto3" json:"unknownTimestamp,omitempty"` // set to lastMessageTimestamp + 1000 when marking as unread?
ThirdType bool `protobuf:"varint,29,opt,name=thirdType,proto3" json:"thirdType,omitempty"`
}
func (x *Conversation) Reset() {
*x = Conversation{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Conversation) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Conversation) ProtoMessage() {}
func (x *Conversation) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Conversation.ProtoReflect.Descriptor instead.
func (*Conversation) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{16}
}
func (x *Conversation) GetConversationID() string {
if x != nil {
return x.ConversationID
}
return ""
}
func (x *Conversation) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Conversation) GetLatestMessage() *LatestMessage {
if x != nil {
return x.LatestMessage
}
return nil
}
func (x *Conversation) GetLastMessageTimestamp() int64 {
if x != nil {
return x.LastMessageTimestamp
}
return 0
}
func (x *Conversation) GetUnread() bool {
if x != nil {
return x.Unread
}
return false
}
func (x *Conversation) GetIsGroupChat() bool {
if x != nil {
return x.IsGroupChat
}
return false
}
func (x *Conversation) GetDefaultOutgoingID() string {
if x != nil {
return x.DefaultOutgoingID
}
return ""
}
func (x *Conversation) GetStatus() ConversationStatus {
if x != nil {
return x.Status
}
return ConversationStatus_UNKNOWN_CONVERSATION_STATUS
}
func (x *Conversation) GetReadOnly() bool {
if x != nil {
return x.ReadOnly
}
return false
}
func (x *Conversation) GetAvatarHexColor() string {
if x != nil {
return x.AvatarHexColor
}
return ""
}
func (x *Conversation) GetLatestMessageID() string {
if x != nil {
return x.LatestMessageID
}
return ""
}
func (x *Conversation) GetParticipants() []*Participant {
if x != nil {
return x.Participants
}
return nil
}
func (x *Conversation) GetOtherParticipants() []string {
if x != nil {
return x.OtherParticipants
}
return nil
}
func (x *Conversation) GetType() ConversationType {
if x != nil {
return x.Type
}
return ConversationType_UNKNOWN_CONVERSATION_TYPE
}
func (x *Conversation) GetSubType() bool {
if x != nil {
return x.SubType
}
return false
}
func (x *Conversation) GetPinned() bool {
if x != nil {
return x.Pinned
}
return false
}
func (x *Conversation) GetUnknownTimestamp() int64 {
if x != nil {
return x.UnknownTimestamp
}
return 0
}
func (x *Conversation) GetThirdType() bool {
if x != nil {
return x.ThirdType
}
return false
}
type Participant struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ID *SmallInfo `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
FirstName string `protobuf:"bytes,2,opt,name=firstName,proto3" json:"firstName,omitempty"`
FullName string `protobuf:"bytes,3,opt,name=fullName,proto3" json:"fullName,omitempty"`
AvatarHexColor string `protobuf:"bytes,5,opt,name=avatarHexColor,proto3" json:"avatarHexColor,omitempty"`
IsMe bool `protobuf:"varint,6,opt,name=isMe,proto3" json:"isMe,omitempty"`
Muted *Muted `protobuf:"bytes,7,opt,name=muted,proto3" json:"muted,omitempty"`
IsVisible bool `protobuf:"varint,8,opt,name=isVisible,proto3" json:"isVisible,omitempty"`
ContactID string `protobuf:"bytes,10,opt,name=contactID,proto3" json:"contactID,omitempty"`
Bs int64 `protobuf:"varint,14,opt,name=bs,proto3" json:"bs,omitempty"`
FormattedNumber string `protobuf:"bytes,15,opt,name=formattedNumber,proto3" json:"formattedNumber,omitempty"`
SomeInt1 int64 `protobuf:"varint,19,opt,name=someInt1,proto3" json:"someInt1,omitempty"`
SomeInt2 int64 `protobuf:"varint,20,opt,name=someInt2,proto3" json:"someInt2,omitempty"`
}
func (x *Participant) Reset() {
*x = Participant{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Participant) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Participant) ProtoMessage() {}
func (x *Participant) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Participant.ProtoReflect.Descriptor instead.
func (*Participant) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{17}
}
func (x *Participant) GetID() *SmallInfo {
if x != nil {
return x.ID
}
return nil
}
func (x *Participant) GetFirstName() string {
if x != nil {
return x.FirstName
}
return ""
}
func (x *Participant) GetFullName() string {
if x != nil {
return x.FullName
}
return ""
}
func (x *Participant) GetAvatarHexColor() string {
if x != nil {
return x.AvatarHexColor
}
return ""
}
func (x *Participant) GetIsMe() bool {
if x != nil {
return x.IsMe
}
return false
}
func (x *Participant) GetMuted() *Muted {
if x != nil {
return x.Muted
}
return nil
}
func (x *Participant) GetIsVisible() bool {
if x != nil {
return x.IsVisible
}
return false
}
func (x *Participant) GetContactID() string {
if x != nil {
return x.ContactID
}
return ""
}
func (x *Participant) GetBs() int64 {
if x != nil {
return x.Bs
}
return 0
}
func (x *Participant) GetFormattedNumber() string {
if x != nil {
return x.FormattedNumber
}
return ""
}
func (x *Participant) GetSomeInt1() int64 {
if x != nil {
return x.SomeInt1
}
return 0
}
func (x *Participant) GetSomeInt2() int64 {
if x != nil {
return x.SomeInt2
}
return 0
}
type SmallInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type IdentifierType `protobuf:"varint,1,opt,name=type,proto3,enum=conversations.IdentifierType" json:"type,omitempty"`
Number string `protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty"`
ParticipantID string `protobuf:"bytes,3,opt,name=participantID,proto3" json:"participantID,omitempty"`
}
func (x *SmallInfo) Reset() {
*x = SmallInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SmallInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SmallInfo) ProtoMessage() {}
func (x *SmallInfo) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SmallInfo.ProtoReflect.Descriptor instead.
func (*SmallInfo) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{18}
}
func (x *SmallInfo) GetType() IdentifierType {
if x != nil {
return x.Type
}
return IdentifierType_UNKNOWN
}
func (x *SmallInfo) GetNumber() string {
if x != nil {
return x.Number
}
return ""
}
func (x *SmallInfo) GetParticipantID() string {
if x != nil {
return x.ParticipantID
}
return ""
}
type LatestMessage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
DisplayContent string `protobuf:"bytes,1,opt,name=displayContent,proto3" json:"displayContent,omitempty"`
FromMe int64 `protobuf:"varint,2,opt,name=fromMe,proto3" json:"fromMe,omitempty"`
DisplayName string `protobuf:"bytes,4,opt,name=displayName,proto3" json:"displayName,omitempty"`
LatestMessageStatus *LatestMessageStatus `protobuf:"bytes,5,opt,name=latestMessageStatus,proto3" json:"latestMessageStatus,omitempty"`
}
func (x *LatestMessage) Reset() {
*x = LatestMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LatestMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LatestMessage) ProtoMessage() {}
func (x *LatestMessage) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use LatestMessage.ProtoReflect.Descriptor instead.
func (*LatestMessage) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{19}
}
func (x *LatestMessage) GetDisplayContent() string {
if x != nil {
return x.DisplayContent
}
return ""
}
func (x *LatestMessage) GetFromMe() int64 {
if x != nil {
return x.FromMe
}
return 0
}
func (x *LatestMessage) GetDisplayName() string {
if x != nil {
return x.DisplayName
}
return ""
}
func (x *LatestMessage) GetLatestMessageStatus() *LatestMessageStatus {
if x != nil {
return x.LatestMessageStatus
}
return nil
}
type LatestMessageStatus struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status2 int64 `protobuf:"varint,1,opt,name=status2,proto3" json:"status2,omitempty"`
Status MessageStatusType `protobuf:"varint,2,opt,name=status,proto3,enum=conversations.MessageStatusType" json:"status,omitempty"`
}
func (x *LatestMessageStatus) Reset() {
*x = LatestMessageStatus{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LatestMessageStatus) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LatestMessageStatus) ProtoMessage() {}
func (x *LatestMessageStatus) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[20]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use LatestMessageStatus.ProtoReflect.Descriptor instead.
func (*LatestMessageStatus) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{20}
}
func (x *LatestMessageStatus) GetStatus2() int64 {
if x != nil {
return x.Status2
}
return 0
}
func (x *LatestMessageStatus) GetStatus() MessageStatusType {
if x != nil {
return x.Status
}
return MessageStatusType_STATUS_UNKNOWN
}
type Muted struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
IsMuted int64 `protobuf:"varint,1,opt,name=isMuted,proto3" json:"isMuted,omitempty"`
}
func (x *Muted) Reset() {
*x = Muted{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Muted) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Muted) ProtoMessage() {}
func (x *Muted) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Muted.ProtoReflect.Descriptor instead.
func (*Muted) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{21}
}
func (x *Muted) GetIsMuted() int64 {
if x != nil {
return x.IsMuted
}
return 0
}
type CustomEmojiData_Inner struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UnknownString *string `protobuf:"bytes,100,opt,name=unknownString,proto3,oneof" json:"unknownString,omitempty"`
First *CustomEmojiData_Inner_ImageData `protobuf:"bytes,101,opt,name=first,proto3" json:"first,omitempty"`
Second *CustomEmojiData_Inner_WrappedImageData `protobuf:"bytes,102,opt,name=second,proto3" json:"second,omitempty"`
}
func (x *CustomEmojiData_Inner) Reset() {
*x = CustomEmojiData_Inner{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CustomEmojiData_Inner) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CustomEmojiData_Inner) ProtoMessage() {}
func (x *CustomEmojiData_Inner) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CustomEmojiData_Inner.ProtoReflect.Descriptor instead.
func (*CustomEmojiData_Inner) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{4, 0}
}
func (x *CustomEmojiData_Inner) GetUnknownString() string {
if x != nil && x.UnknownString != nil {
return *x.UnknownString
}
return ""
}
func (x *CustomEmojiData_Inner) GetFirst() *CustomEmojiData_Inner_ImageData {
if x != nil {
return x.First
}
return nil
}
func (x *CustomEmojiData_Inner) GetSecond() *CustomEmojiData_Inner_WrappedImageData {
if x != nil {
return x.Second
}
return nil
}
type CustomEmojiData_Inner_ImageData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MimeType string `protobuf:"bytes,1,opt,name=mimeType,proto3" json:"mimeType,omitempty"`
Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
UnknownInt3 *int32 `protobuf:"varint,3,opt,name=unknownInt3,proto3,oneof" json:"unknownInt3,omitempty"`
UnknownString5 *string `protobuf:"bytes,5,opt,name=unknownString5,proto3,oneof" json:"unknownString5,omitempty"`
}
func (x *CustomEmojiData_Inner_ImageData) Reset() {
*x = CustomEmojiData_Inner_ImageData{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CustomEmojiData_Inner_ImageData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CustomEmojiData_Inner_ImageData) ProtoMessage() {}
func (x *CustomEmojiData_Inner_ImageData) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CustomEmojiData_Inner_ImageData.ProtoReflect.Descriptor instead.
func (*CustomEmojiData_Inner_ImageData) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{4, 0, 0}
}
func (x *CustomEmojiData_Inner_ImageData) GetMimeType() string {
if x != nil {
return x.MimeType
}
return ""
}
func (x *CustomEmojiData_Inner_ImageData) GetUri() string {
if x != nil {
return x.Uri
}
return ""
}
func (x *CustomEmojiData_Inner_ImageData) GetUnknownInt3() int32 {
if x != nil && x.UnknownInt3 != nil {
return *x.UnknownInt3
}
return 0
}
func (x *CustomEmojiData_Inner_ImageData) GetUnknownString5() string {
if x != nil && x.UnknownString5 != nil {
return *x.UnknownString5
}
return ""
}
type CustomEmojiData_Inner_WrappedImageData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data *CustomEmojiData_Inner_WrappedImageData_ImageData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}
func (x *CustomEmojiData_Inner_WrappedImageData) Reset() {
*x = CustomEmojiData_Inner_WrappedImageData{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CustomEmojiData_Inner_WrappedImageData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CustomEmojiData_Inner_WrappedImageData) ProtoMessage() {}
func (x *CustomEmojiData_Inner_WrappedImageData) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CustomEmojiData_Inner_WrappedImageData.ProtoReflect.Descriptor instead.
func (*CustomEmojiData_Inner_WrappedImageData) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{4, 0, 1}
}
func (x *CustomEmojiData_Inner_WrappedImageData) GetData() *CustomEmojiData_Inner_WrappedImageData_ImageData {
if x != nil {
return x.Data
}
return nil
}
type CustomEmojiData_Inner_WrappedImageData_ImageData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
UnknownInt1 int32 `protobuf:"varint,1,opt,name=unknownInt1,proto3" json:"unknownInt1,omitempty"`
MimeType string `protobuf:"bytes,2,opt,name=mimeType,proto3" json:"mimeType,omitempty"`
Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
Width int32 `protobuf:"varint,5,opt,name=width,proto3" json:"width,omitempty"`
Height int32 `protobuf:"varint,6,opt,name=height,proto3" json:"height,omitempty"`
UnknownInt7 *int32 `protobuf:"varint,7,opt,name=unknownInt7,proto3,oneof" json:"unknownInt7,omitempty"`
}
func (x *CustomEmojiData_Inner_WrappedImageData_ImageData) Reset() {
*x = CustomEmojiData_Inner_WrappedImageData_ImageData{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CustomEmojiData_Inner_WrappedImageData_ImageData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CustomEmojiData_Inner_WrappedImageData_ImageData) ProtoMessage() {}
func (x *CustomEmojiData_Inner_WrappedImageData_ImageData) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CustomEmojiData_Inner_WrappedImageData_ImageData.ProtoReflect.Descriptor instead.
func (*CustomEmojiData_Inner_WrappedImageData_ImageData) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{4, 0, 1, 0}
}
func (x *CustomEmojiData_Inner_WrappedImageData_ImageData) GetUnknownInt1() int32 {
if x != nil {
return x.UnknownInt1
}
return 0
}
func (x *CustomEmojiData_Inner_WrappedImageData_ImageData) GetMimeType() string {
if x != nil {
return x.MimeType
}
return ""
}
func (x *CustomEmojiData_Inner_WrappedImageData_ImageData) GetUri() string {
if x != nil {
return x.Uri
}
return ""
}
func (x *CustomEmojiData_Inner_WrappedImageData_ImageData) GetWidth() int32 {
if x != nil {
return x.Width
}
return 0
}
func (x *CustomEmojiData_Inner_WrappedImageData_ImageData) GetHeight() int32 {
if x != nil {
return x.Height
}
return 0
}
func (x *CustomEmojiData_Inner_WrappedImageData_ImageData) GetUnknownInt7() int32 {
if x != nil && x.UnknownInt7 != nil {
return *x.UnknownInt7
}
return 0
}
var File_conversations_proto protoreflect.FileDescriptor
//go:embed conversations.pb.raw
var file_conversations_proto_rawDesc []byte
var (
file_conversations_proto_rawDescOnce sync.Once
file_conversations_proto_rawDescData = file_conversations_proto_rawDesc
)
func file_conversations_proto_rawDescGZIP() []byte {
file_conversations_proto_rawDescOnce.Do(func() {
file_conversations_proto_rawDescData = protoimpl.X.CompressGZIP(file_conversations_proto_rawDescData)
})
return file_conversations_proto_rawDescData
}
var file_conversations_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
var file_conversations_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
var file_conversations_proto_goTypes = []interface{}{
(EmojiType)(0), // 0: conversations.EmojiType
(IdentifierType)(0), // 1: conversations.IdentifierType
(ConversationType)(0), // 2: conversations.ConversationType
(MessageStatusType)(0), // 3: conversations.MessageStatusType
(ConversationStatus)(0), // 4: conversations.ConversationStatus
(MediaFormats)(0), // 5: conversations.MediaFormats
(*Contact)(nil), // 6: conversations.Contact
(*ContactNumber)(nil), // 7: conversations.ContactNumber
(*Message)(nil), // 8: conversations.Message
(*ReactionEntry)(nil), // 9: conversations.ReactionEntry
(*CustomEmojiData)(nil), // 10: conversations.CustomEmojiData
(*ReactionData)(nil), // 11: conversations.ReactionData
(*EmojiMeta)(nil), // 12: conversations.EmojiMeta
(*EmojiMetaData)(nil), // 13: conversations.EmojiMetaData
(*ReplyMessage)(nil), // 14: conversations.ReplyMessage
(*ReplyMessageData)(nil), // 15: conversations.ReplyMessageData
(*MessageInfo)(nil), // 16: conversations.MessageInfo
(*MediaContent)(nil), // 17: conversations.MediaContent
(*Dimensions)(nil), // 18: conversations.Dimensions
(*MessageContent)(nil), // 19: conversations.MessageContent
(*MsgType)(nil), // 20: conversations.MsgType
(*MessageStatus)(nil), // 21: conversations.MessageStatus
(*Conversation)(nil), // 22: conversations.Conversation
(*Participant)(nil), // 23: conversations.Participant
(*SmallInfo)(nil), // 24: conversations.SmallInfo
(*LatestMessage)(nil), // 25: conversations.LatestMessage
(*LatestMessageStatus)(nil), // 26: conversations.LatestMessageStatus
(*Muted)(nil), // 27: conversations.Muted
(*CustomEmojiData_Inner)(nil), // 28: conversations.CustomEmojiData.Inner
(*CustomEmojiData_Inner_ImageData)(nil), // 29: conversations.CustomEmojiData.Inner.ImageData
(*CustomEmojiData_Inner_WrappedImageData)(nil), // 30: conversations.CustomEmojiData.Inner.WrappedImageData
(*CustomEmojiData_Inner_WrappedImageData_ImageData)(nil), // 31: conversations.CustomEmojiData.Inner.WrappedImageData.ImageData
}
var file_conversations_proto_depIdxs = []int32{
7, // 0: conversations.Contact.number:type_name -> conversations.ContactNumber
20, // 1: conversations.Message.msgType:type_name -> conversations.MsgType
21, // 2: conversations.Message.messageStatus:type_name -> conversations.MessageStatus
16, // 3: conversations.Message.messageInfo:type_name -> conversations.MessageInfo
9, // 4: conversations.Message.reactions:type_name -> conversations.ReactionEntry
14, // 5: conversations.Message.replyMessage:type_name -> conversations.ReplyMessage
11, // 6: conversations.ReactionEntry.data:type_name -> conversations.ReactionData
28, // 7: conversations.CustomEmojiData.innerData:type_name -> conversations.CustomEmojiData.Inner
0, // 8: conversations.ReactionData.type:type_name -> conversations.EmojiType
10, // 9: conversations.ReactionData.customEmoji:type_name -> conversations.CustomEmojiData
13, // 10: conversations.EmojiMeta.emojiMetaData:type_name -> conversations.EmojiMetaData
15, // 11: conversations.ReplyMessage.replyMessageData:type_name -> conversations.ReplyMessageData
19, // 12: conversations.MessageInfo.messageContent:type_name -> conversations.MessageContent
17, // 13: conversations.MessageInfo.mediaContent:type_name -> conversations.MediaContent
5, // 14: conversations.MediaContent.format:type_name -> conversations.MediaFormats
18, // 15: conversations.MediaContent.dimensions:type_name -> conversations.Dimensions
3, // 16: conversations.MessageStatus.status:type_name -> conversations.MessageStatusType
25, // 17: conversations.Conversation.latestMessage:type_name -> conversations.LatestMessage
4, // 18: conversations.Conversation.status:type_name -> conversations.ConversationStatus
23, // 19: conversations.Conversation.participants:type_name -> conversations.Participant
2, // 20: conversations.Conversation.type:type_name -> conversations.ConversationType
24, // 21: conversations.Participant.ID:type_name -> conversations.SmallInfo
27, // 22: conversations.Participant.muted:type_name -> conversations.Muted
1, // 23: conversations.SmallInfo.type:type_name -> conversations.IdentifierType
26, // 24: conversations.LatestMessage.latestMessageStatus:type_name -> conversations.LatestMessageStatus
3, // 25: conversations.LatestMessageStatus.status:type_name -> conversations.MessageStatusType
29, // 26: conversations.CustomEmojiData.Inner.first:type_name -> conversations.CustomEmojiData.Inner.ImageData
30, // 27: conversations.CustomEmojiData.Inner.second:type_name -> conversations.CustomEmojiData.Inner.WrappedImageData
31, // 28: conversations.CustomEmojiData.Inner.WrappedImageData.data:type_name -> conversations.CustomEmojiData.Inner.WrappedImageData.ImageData
29, // [29:29] is the sub-list for method output_type
29, // [29:29] is the sub-list for method input_type
29, // [29:29] is the sub-list for extension type_name
29, // [29:29] is the sub-list for extension extendee
0, // [0:29] is the sub-list for field type_name
}
func init() { file_conversations_proto_init() }
func file_conversations_proto_init() {
if File_conversations_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_conversations_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Contact); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ContactNumber); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Message); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReactionEntry); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CustomEmojiData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReactionData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EmojiMeta); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EmojiMetaData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReplyMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReplyMessageData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MessageInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MediaContent); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Dimensions); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MessageContent); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MsgType); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MessageStatus); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Conversation); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Participant); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SmallInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LatestMessage); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LatestMessageStatus); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Muted); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CustomEmojiData_Inner); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CustomEmojiData_Inner_ImageData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CustomEmojiData_Inner_WrappedImageData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_conversations_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CustomEmojiData_Inner_WrappedImageData_ImageData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_conversations_proto_msgTypes[1].OneofWrappers = []interface{}{}
file_conversations_proto_msgTypes[2].OneofWrappers = []interface{}{}
file_conversations_proto_msgTypes[4].OneofWrappers = []interface{}{}
file_conversations_proto_msgTypes[10].OneofWrappers = []interface{}{
(*MessageInfo_MessageContent)(nil),
(*MessageInfo_MediaContent)(nil),
}
file_conversations_proto_msgTypes[22].OneofWrappers = []interface{}{}
file_conversations_proto_msgTypes[23].OneofWrappers = []interface{}{}
file_conversations_proto_msgTypes[25].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_conversations_proto_rawDesc,
NumEnums: 6,
NumMessages: 26,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_conversations_proto_goTypes,
DependencyIndexes: file_conversations_proto_depIdxs,
EnumInfos: file_conversations_proto_enumTypes,
MessageInfos: file_conversations_proto_msgTypes,
}.Build()
File_conversations_proto = out.File
file_conversations_proto_rawDesc = nil
file_conversations_proto_goTypes = nil
file_conversations_proto_depIdxs = nil
}