gmessages/libgm/gmproto/conversations.pb.go

3157 lines
98 KiB
Go
Raw Normal View History

2023-06-30 09:54:08 +00:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
2023-06-30 09:54:08 +00:00
// protoc v3.21.12
// source: conversations.proto
2023-07-17 13:51:31 +00:00
package gmproto
2023-06-30 09:54:08 +00:00
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
import _ "embed"
2023-06-30 09:54:08 +00:00
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)
)
2023-07-17 23:57:20 +00:00
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
2023-07-17 23:57:20 +00:00
)
// 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",
2023-07-17 23:57:20 +00:00
}
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,
2023-07-17 23:57:20 +00:00
}
)
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 {
2023-07-17 23:57:20 +00:00
return file_conversations_proto_enumTypes[1].Descriptor()
}
func (IdentifierType) Type() protoreflect.EnumType {
2023-07-17 23:57:20 +00:00
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) {
2023-07-17 23:57:20 +00:00
return file_conversations_proto_rawDescGZIP(), []int{1}
}
type ConversationSendMode int32
const (
ConversationSendMode_SEND_MODE_AUTO ConversationSendMode = 0
ConversationSendMode_SEND_MODE_XMS ConversationSendMode = 1
ConversationSendMode_SEND_MODE_XMS_LATCH ConversationSendMode = 2
)
// Enum value maps for ConversationSendMode.
var (
ConversationSendMode_name = map[int32]string{
0: "SEND_MODE_AUTO",
1: "SEND_MODE_XMS",
2: "SEND_MODE_XMS_LATCH",
}
ConversationSendMode_value = map[string]int32{
"SEND_MODE_AUTO": 0,
"SEND_MODE_XMS": 1,
"SEND_MODE_XMS_LATCH": 2,
}
)
func (x ConversationSendMode) Enum() *ConversationSendMode {
p := new(ConversationSendMode)
*p = x
return p
}
func (x ConversationSendMode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ConversationSendMode) Descriptor() protoreflect.EnumDescriptor {
return file_conversations_proto_enumTypes[2].Descriptor()
}
func (ConversationSendMode) Type() protoreflect.EnumType {
return &file_conversations_proto_enumTypes[2]
}
func (x ConversationSendMode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ConversationSendMode.Descriptor instead.
func (ConversationSendMode) EnumDescriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{2}
}
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[3].Descriptor()
}
func (ConversationType) Type() protoreflect.EnumType {
return &file_conversations_proto_enumTypes[3]
}
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{3}
}
type MessageStatusType int32
2023-06-30 09:54:08 +00:00
const (
2023-07-09 20:59:22 +00:00
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
2023-06-30 09:54:08 +00:00
)
// Enum value maps for MessageStatusType.
2023-06-30 09:54:08 +00:00
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",
2023-07-09 20:59:22 +00:00
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,
2023-07-09 20:59:22 +00:00
"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,
2023-06-30 09:54:08 +00:00
}
)
func (x MessageStatusType) Enum() *MessageStatusType {
p := new(MessageStatusType)
2023-06-30 09:54:08 +00:00
*p = x
return p
}
func (x MessageStatusType) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MessageStatusType) Descriptor() protoreflect.EnumDescriptor {
return file_conversations_proto_enumTypes[4].Descriptor()
2023-06-30 09:54:08 +00:00
}
func (MessageStatusType) Type() protoreflect.EnumType {
return &file_conversations_proto_enumTypes[4]
2023-06-30 09:54:08 +00:00
}
func (x MessageStatusType) Number() protoreflect.EnumNumber {
2023-06-30 09:54:08 +00:00
return protoreflect.EnumNumber(x)
}
// Deprecated: Use MessageStatusType.Descriptor instead.
func (MessageStatusType) EnumDescriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{4}
2023-06-30 09:54:08 +00:00
}
2023-07-24 13:46:54 +00:00
type ConversationStatus int32
const (
2023-07-24 13:46:54 +00:00
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
)
2023-07-24 13:46:54 +00:00
// Enum value maps for ConversationStatus.
var (
2023-07-24 13:46:54 +00:00
ConversationStatus_name = map[int32]string{
0: "UNKNOWN_CONVERSATION_STATUS",
1: "ACTIVE",
2: "ARCHIVED",
3: "DELETED",
2023-07-24 13:46:54 +00:00
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,
}
)
2023-07-24 13:46:54 +00:00
func (x ConversationStatus) Enum() *ConversationStatus {
p := new(ConversationStatus)
*p = x
return p
}
2023-07-24 13:46:54 +00:00
func (x ConversationStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
2023-07-24 13:46:54 +00:00
func (ConversationStatus) Descriptor() protoreflect.EnumDescriptor {
return file_conversations_proto_enumTypes[5].Descriptor()
}
2023-07-24 13:46:54 +00:00
func (ConversationStatus) Type() protoreflect.EnumType {
return &file_conversations_proto_enumTypes[5]
}
2023-07-24 13:46:54 +00:00
func (x ConversationStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
2023-07-24 13:46:54 +00:00
// Deprecated: Use ConversationStatus.Descriptor instead.
func (ConversationStatus) EnumDescriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{5}
}
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[6].Descriptor()
}
func (MediaFormats) Type() protoreflect.EnumType {
return &file_conversations_proto_enumTypes[6]
}
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{6}
2023-07-15 21:55:55 +00:00
}
2023-07-17 23:57:20 +00:00
type Contact struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-09-04 22:18:01 +00:00
ParticipantID string `protobuf:"bytes,1,opt,name=participantID,proto3" json:"participantID,omitempty"`
2023-07-17 23:57:20 +00:00
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"`
2023-09-04 22:18:01 +00:00
ContactID string `protobuf:"bytes,11,opt,name=contactID,proto3" json:"contactID,omitempty"`
}
2023-07-17 23:57:20 +00:00
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)
}
}
2023-07-17 23:57:20 +00:00
func (x *Contact) String() string {
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*Contact) ProtoMessage() {}
2023-07-17 23:57:20 +00:00
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)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use Contact.ProtoReflect.Descriptor instead.
func (*Contact) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{0}
}
2023-09-04 22:18:01 +00:00
func (x *Contact) GetParticipantID() string {
if x != nil {
2023-09-04 22:18:01 +00:00
return x.ParticipantID
2023-07-17 23:57:20 +00:00
}
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
}
2023-09-04 22:18:01 +00:00
func (x *Contact) GetContactID() string {
2023-07-17 23:57:20 +00:00
if x != nil {
2023-09-04 22:18:01 +00:00
return x.ContactID
}
return ""
}
2023-07-17 23:57:20 +00:00
type ContactNumber struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-17 23:57:20 +00:00
// 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"`
}
2023-07-17 23:57:20 +00:00
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)
}
}
2023-07-17 23:57:20 +00:00
func (x *ContactNumber) String() string {
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*ContactNumber) ProtoMessage() {}
2023-07-17 23:57:20 +00:00
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)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use ContactNumber.ProtoReflect.Descriptor instead.
func (*ContactNumber) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{1}
}
2023-07-17 23:57:20 +00:00
func (x *ContactNumber) GetMysteriousInt() int32 {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.MysteriousInt
}
return 0
}
2023-07-17 23:57:20 +00:00
func (x *ContactNumber) GetNumber() string {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.Number
}
2023-07-17 23:57:20 +00:00
return ""
}
2023-07-17 23:57:20 +00:00
func (x *ContactNumber) GetNumber2() string {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.Number2
}
2023-07-17 23:57:20 +00:00
return ""
}
func (x *ContactNumber) GetFormattedNumber() string {
if x != nil && x.FormattedNumber != nil {
return *x.FormattedNumber
}
return ""
}
2023-07-17 23:57:20 +00:00
type Message struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-17 23:57:20 +00:00
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"`
}
2023-07-17 23:57:20 +00:00
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)
}
}
2023-07-17 23:57:20 +00:00
func (x *Message) String() string {
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*Message) ProtoMessage() {}
2023-07-17 23:57:20 +00:00
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)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use Message.ProtoReflect.Descriptor instead.
func (*Message) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{2}
}
2023-07-17 23:57:20 +00:00
func (x *Message) GetMessageID() string {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.MessageID
}
2023-07-17 23:57:20 +00:00
return ""
}
2023-07-17 23:57:20 +00:00
func (x *Message) GetMsgType() *MsgType {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.MsgType
2023-06-30 09:54:08 +00:00
}
return nil
}
2023-07-17 23:57:20 +00:00
func (x *Message) GetMessageStatus() *MessageStatus {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.MessageStatus
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
return nil
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *Message) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *Message) GetConversationID() string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-06-30 13:26:46 +00:00
return x.ConversationID
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-17 23:57:20 +00:00
func (x *Message) GetParticipantID() string {
if x != nil {
return x.ParticipantID
}
return ""
}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *Message) GetMessageInfo() []*MessageInfo {
if x != nil {
return x.MessageInfo
}
return nil
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *Message) GetType() int64 {
if x != nil {
return x.Type
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
return 0
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *Message) GetTmpID() string {
if x != nil {
return x.TmpID
}
return ""
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *Message) GetSubject() string {
if x != nil && x.Subject != nil {
return *x.Subject
}
return ""
}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *Message) GetSomeInt() int64 {
if x != nil {
return x.SomeInt
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
return 0
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *Message) GetReactions() []*ReactionEntry {
if x != nil {
return x.Reactions
}
return nil
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *Message) GetReplyMessage() *ReplyMessage {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.ReplyMessage
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
return nil
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
type ReactionEntry struct {
2023-06-30 09:54:08 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-17 23:57:20 +00:00
Data *ReactionData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
ParticipantIDs []string `protobuf:"bytes,2,rep,name=participantIDs,proto3" json:"participantIDs,omitempty"`
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *ReactionEntry) Reset() {
*x = ReactionEntry{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
2023-07-17 23:57:20 +00:00
mi := &file_conversations_proto_msgTypes[3]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *ReactionEntry) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*ReactionEntry) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *ReactionEntry) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[3]
2023-06-30 09:54:08 +00:00
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)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use ReactionEntry.ProtoReflect.Descriptor instead.
func (*ReactionEntry) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{3}
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *ReactionEntry) GetData() *ReactionData {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.Data
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
return nil
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *ReactionEntry) GetParticipantIDs() []string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.ParticipantIDs
2023-06-30 09:54:08 +00:00
}
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
}
2023-07-17 23:57:20 +00:00
type ReactionData struct {
2023-06-30 09:54:08 +00:00
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"`
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *ReactionData) Reset() {
*x = ReactionData{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[5]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *ReactionData) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*ReactionData) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *ReactionData) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[5]
2023-06-30 09:54:08 +00:00
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)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use ReactionData.ProtoReflect.Descriptor instead.
func (*ReactionData) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{5}
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *ReactionData) GetUnicode() string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.Unicode
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
return ""
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *ReactionData) GetType() EmojiType {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.Type
}
2023-07-17 23:57:20 +00:00
return EmojiType_REACTION_TYPE_UNSPECIFIED
}
func (x *ReactionData) GetCustomEmoji() *CustomEmojiData {
if x != nil {
return x.CustomEmoji
}
return nil
}
2023-07-17 23:57:20 +00:00
type EmojiMeta struct {
2023-06-30 09:54:08 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-17 23:57:20 +00:00
EmojiMetaData []*EmojiMetaData `protobuf:"bytes,1,rep,name=emojiMetaData,proto3" json:"emojiMetaData,omitempty"`
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *EmojiMeta) Reset() {
*x = EmojiMeta{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[6]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *EmojiMeta) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*EmojiMeta) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *EmojiMeta) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[6]
2023-06-30 09:54:08 +00:00
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)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use EmojiMeta.ProtoReflect.Descriptor instead.
func (*EmojiMeta) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{6}
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *EmojiMeta) GetEmojiMetaData() []*EmojiMetaData {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.EmojiMetaData
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
return nil
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
type EmojiMetaData struct {
2023-06-30 09:54:08 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-17 23:57:20 +00:00
Unicode string `protobuf:"bytes,1,opt,name=unicode,proto3" json:"unicode,omitempty"`
Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *EmojiMetaData) Reset() {
*x = EmojiMetaData{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[7]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *EmojiMetaData) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*EmojiMetaData) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *EmojiMetaData) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[7]
2023-06-30 09:54:08 +00:00
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)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use EmojiMetaData.ProtoReflect.Descriptor instead.
func (*EmojiMetaData) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{7}
}
2023-07-17 23:57:20 +00:00
func (x *EmojiMetaData) GetUnicode() string {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.Unicode
2023-07-15 16:55:46 +00:00
}
return ""
}
2023-07-17 23:57:20 +00:00
func (x *EmojiMetaData) GetNames() []string {
if x != nil {
2023-07-17 23:57:20 +00:00
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 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.ReplyMessageData
2023-06-30 09:54:08 +00:00
}
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)
2023-06-30 09:54:08 +00:00
}
}
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
2023-06-30 09:54:08 +00:00
}
return mi.MessageOf(x)
}
// Deprecated: Use ReplyMessageData.ProtoReflect.Descriptor instead.
func (*ReplyMessageData) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{9}
2023-06-30 09:54:08 +00:00
}
type MessageInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-17 23:57:20 +00:00
ActionMessageID *string `protobuf:"bytes,1,opt,name=actionMessageID,proto3,oneof" json:"actionMessageID,omitempty"`
2023-06-30 09:54:08 +00:00
// Types that are assignable to Data:
//
// *MessageInfo_MessageContent
// *MessageInfo_MediaContent
2023-06-30 09:54:08 +00:00
Data isMessageInfo_Data `protobuf_oneof:"data"`
}
func (x *MessageInfo) Reset() {
*x = MessageInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[10]
2023-06-30 09:54:08 +00:00
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]
2023-06-30 09:54:08 +00:00
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}
2023-06-30 09:54:08 +00:00
}
func (x *MessageInfo) GetActionMessageID() string {
2023-07-17 23:57:20 +00:00
if x != nil && x.ActionMessageID != nil {
return *x.ActionMessageID
2023-06-30 09:54:08 +00:00
}
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
2023-06-30 09:54:08 +00:00
}
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"`
2023-06-30 09:54:08 +00:00
}
func (*MessageInfo_MessageContent) isMessageInfo_Data() {}
func (*MessageInfo_MediaContent) isMessageInfo_Data() {}
2023-06-30 09:54:08 +00:00
type MediaContent struct {
2023-06-30 09:54:08 +00:00
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"`
2023-06-30 09:54:08 +00:00
Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
2023-07-17 23:57:20 +00:00
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"`
2023-06-30 09:54:08 +00:00
DecryptionKey []byte `protobuf:"bytes,11,opt,name=decryptionKey,proto3" json:"decryptionKey,omitempty"`
2023-07-17 23:57:20 +00:00
DecryptionKey2 []byte `protobuf:"bytes,12,opt,name=decryptionKey2,proto3" json:"decryptionKey2,omitempty"`
MimeType string `protobuf:"bytes,14,opt,name=mimeType,proto3" json:"mimeType,omitempty"`
2023-06-30 09:54:08 +00:00
}
func (x *MediaContent) Reset() {
*x = MediaContent{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[11]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MediaContent) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
func (*MediaContent) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
func (x *MediaContent) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[11]
2023-06-30 09:54:08 +00:00
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}
2023-06-30 09:54:08 +00:00
}
func (x *MediaContent) GetFormat() MediaFormats {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.Format
2023-06-30 09:54:08 +00:00
}
return MediaFormats_UNSPECIFIED_TYPE
2023-06-30 09:54:08 +00:00
}
func (x *MediaContent) GetMediaID() string {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.MediaID
2023-06-30 09:54:08 +00:00
}
return ""
}
func (x *MediaContent) GetMediaName() string {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.MediaName
2023-06-30 09:54:08 +00:00
}
return ""
}
func (x *MediaContent) GetSize() int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.Size
}
return 0
}
2023-07-17 23:57:20 +00:00
func (x *MediaContent) GetDimensions() *Dimensions {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.Dimensions
2023-06-30 09:54:08 +00:00
}
return nil
}
func (x *MediaContent) GetMediaData() []byte {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.MediaData
2023-06-30 09:54:08 +00:00
}
return nil
}
func (x *MediaContent) GetMediaID2() string {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.MediaID2
2023-06-30 09:54:08 +00:00
}
return ""
}
func (x *MediaContent) GetDecryptionKey() []byte {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.DecryptionKey
}
return nil
}
func (x *MediaContent) GetDecryptionKey2() []byte {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.DecryptionKey2
}
return nil
}
func (x *MediaContent) GetMimeType() string {
if x != nil {
return x.MimeType
}
return ""
}
2023-07-17 23:57:20 +00:00
type Dimensions struct {
2023-06-30 09:54:08 +00:00
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"`
}
2023-07-17 23:57:20 +00:00
func (x *Dimensions) Reset() {
*x = Dimensions{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[12]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *Dimensions) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*Dimensions) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *Dimensions) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[12]
2023-06-30 09:54:08 +00:00
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)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use Dimensions.ProtoReflect.Descriptor instead.
func (*Dimensions) Descriptor() ([]byte, []int) {
return file_conversations_proto_rawDescGZIP(), []int{12}
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *Dimensions) GetWidth() int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.Width
}
return 0
}
2023-07-17 23:57:20 +00:00
func (x *Dimensions) GetHeight() int64 {
2023-06-30 09:54:08 +00:00
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]
2023-06-30 09:54:08 +00:00
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]
2023-06-30 09:54:08 +00:00
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}
2023-06-30 09:54:08 +00:00
}
func (x *MessageContent) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
type MsgType struct {
2023-06-30 09:54:08 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
2023-06-30 09:54:08 +00:00
}
func (x *MsgType) Reset() {
*x = MsgType{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[14]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MsgType) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
func (*MsgType) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
func (x *MsgType) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[14]
2023-06-30 09:54:08 +00:00
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}
2023-06-30 09:54:08 +00:00
}
func (x *MsgType) GetType() int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.Type
2023-06-30 09:54:08 +00:00
}
return 0
2023-06-30 09:54:08 +00:00
}
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"`
2023-06-30 09:54:08 +00:00
}
func (x *MessageStatus) Reset() {
*x = MessageStatus{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[15]
2023-06-30 09:54:08 +00:00
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]
2023-06-30 09:54:08 +00:00
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
2023-06-30 09:54:08 +00:00
}
func (x *MessageStatus) GetSubCode() int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.SubCode
2023-06-30 09:54:08 +00:00
}
return 0
2023-06-30 09:54:08 +00:00
}
func (x *MessageStatus) GetErrMsg() string {
if x != nil {
return x.ErrMsg
}
return ""
}
func (x *MessageStatus) GetStatusText() string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.StatusText
}
2023-07-17 23:57:20 +00:00
return ""
}
2023-07-17 23:57:20 +00:00
func (x *MessageStatus) GetThirdCode() int64 {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.ThirdCode
}
2023-07-17 23:57:20 +00:00
return 0
}
2023-06-30 09:54:08 +00:00
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"`
SendMode ConversationSendMode `protobuf:"varint,18,opt,name=sendMode,proto3,enum=conversations.ConversationSendMode" json:"sendMode,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"`
2023-06-30 09:54:08 +00:00
}
func (x *Conversation) Reset() {
*x = Conversation{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[16]
2023-06-30 09:54:08 +00:00
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]
2023-06-30 09:54:08 +00:00
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}
2023-06-30 09:54:08 +00:00
}
2023-06-30 13:26:46 +00:00
func (x *Conversation) GetConversationID() string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-06-30 13:26:46 +00:00
return x.ConversationID
2023-06-30 09:54:08 +00:00
}
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 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.LastMessageTimestamp
2023-06-30 09:54:08 +00:00
}
return 0
}
2023-07-14 23:17:36 +00:00
func (x *Conversation) GetUnread() bool {
if x != nil {
return x.Unread
}
return false
}
2023-06-30 09:54:08 +00:00
func (x *Conversation) GetIsGroupChat() bool {
if x != nil {
return x.IsGroupChat
}
return false
}
func (x *Conversation) GetDefaultOutgoingID() string {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.DefaultOutgoingID
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-24 13:46:54 +00:00
func (x *Conversation) GetStatus() ConversationStatus {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.Status
}
2023-07-24 13:46:54 +00:00
return ConversationStatus_UNKNOWN_CONVERSATION_STATUS
2023-06-30 09:54:08 +00:00
}
func (x *Conversation) GetReadOnly() bool {
if x != nil {
return x.ReadOnly
}
return false
}
func (x *Conversation) GetAvatarHexColor() string {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.AvatarHexColor
2023-06-30 09:54:08 +00:00
}
return ""
}
func (x *Conversation) GetLatestMessageID() string {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.LatestMessageID
2023-06-30 09:54:08 +00:00
}
return ""
}
func (x *Conversation) GetSendMode() ConversationSendMode {
if x != nil {
return x.SendMode
}
return ConversationSendMode_SEND_MODE_AUTO
}
2023-06-30 09:54:08 +00:00
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 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.Type
}
return ConversationType_UNKNOWN_CONVERSATION_TYPE
2023-06-30 09:54:08 +00:00
}
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
}
2023-07-14 23:17:36 +00:00
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
}
2023-06-30 09:54:08 +00:00
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"`
2023-09-04 22:18:01 +00:00
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"`
2023-06-30 09:54:08 +00:00
}
func (x *Participant) Reset() {
*x = Participant{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[17]
2023-06-30 09:54:08 +00:00
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]
2023-06-30 09:54:08 +00:00
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}
2023-06-30 09:54:08 +00:00
}
func (x *Participant) GetID() *SmallInfo {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.ID
2023-06-30 09:54:08 +00:00
}
return nil
}
2023-07-02 14:21:39 +00:00
func (x *Participant) GetFirstName() string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-02 14:21:39 +00:00
return x.FirstName
2023-07-01 15:19:47 +00:00
}
return ""
}
2023-07-02 14:21:39 +00:00
func (x *Participant) GetFullName() string {
2023-07-01 15:19:47 +00:00
if x != nil {
2023-07-02 14:21:39 +00:00
return x.FullName
2023-07-01 15:19:47 +00:00
}
return ""
}
func (x *Participant) GetAvatarHexColor() string {
2023-07-01 15:19:47 +00:00
if x != nil {
return x.AvatarHexColor
2023-06-30 09:54:08 +00:00
}
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
}
2023-09-04 22:18:01 +00:00
func (x *Participant) GetContactID() string {
2023-07-01 15:19:47 +00:00
if x != nil {
2023-09-04 22:18:01 +00:00
return x.ContactID
2023-07-01 15:19:47 +00:00
}
return ""
}
2023-06-30 09:54:08 +00:00
func (x *Participant) GetBs() int64 {
if x != nil {
return x.Bs
}
return 0
}
2023-07-01 15:19:47 +00:00
func (x *Participant) GetFormattedNumber() string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-01 15:19:47 +00:00
return x.FormattedNumber
2023-06-30 09:54:08 +00:00
}
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 {
2023-06-30 09:54:08 +00:00
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"`
2023-06-30 09:54:08 +00:00
}
func (x *SmallInfo) Reset() {
*x = SmallInfo{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[18]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SmallInfo) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
func (*SmallInfo) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
func (x *SmallInfo) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[18]
2023-06-30 09:54:08 +00:00
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}
2023-06-30 09:54:08 +00:00
}
func (x *SmallInfo) GetType() IdentifierType {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.Type
}
return IdentifierType_UNKNOWN
2023-06-30 09:54:08 +00:00
}
func (x *SmallInfo) GetNumber() string {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.Number
}
return ""
}
func (x *SmallInfo) GetParticipantID() string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-06-30 13:26:46 +00:00
return x.ParticipantID
2023-06-30 09:54:08 +00:00
}
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"`
2023-07-17 23:57:20 +00:00
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"`
2023-06-30 09:54:08 +00:00
}
func (x *LatestMessage) Reset() {
*x = LatestMessage{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[19]
2023-06-30 09:54:08 +00:00
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]
2023-06-30 09:54:08 +00:00
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}
2023-06-30 09:54:08 +00:00
}
func (x *LatestMessage) GetDisplayContent() string {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.DisplayContent
2023-06-30 09:54:08 +00:00
}
return ""
}
func (x *LatestMessage) GetFromMe() int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.FromMe
}
return 0
2023-06-30 09:54:08 +00:00
}
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 {
2023-06-30 09:54:08 +00:00
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"`
2023-06-30 09:54:08 +00:00
}
func (x *LatestMessageStatus) Reset() {
*x = LatestMessageStatus{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[20]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LatestMessageStatus) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
func (*LatestMessageStatus) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
func (x *LatestMessageStatus) ProtoReflect() protoreflect.Message {
mi := &file_conversations_proto_msgTypes[20]
2023-06-30 09:54:08 +00:00
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}
2023-06-30 09:54:08 +00:00
}
func (x *LatestMessageStatus) GetStatus2() int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.Status2
2023-06-30 09:54:08 +00:00
}
return 0
}
func (x *LatestMessageStatus) GetStatus() MessageStatusType {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.Status
2023-06-30 09:54:08 +00:00
}
return MessageStatusType_STATUS_UNKNOWN
2023-06-30 09:54:08 +00:00
}
type Muted struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
IsMuted int64 `protobuf:"varint,1,opt,name=isMuted,proto3" json:"isMuted,omitempty"`
2023-06-30 09:54:08 +00:00
}
func (x *Muted) Reset() {
*x = Muted{}
if protoimpl.UnsafeEnabled {
mi := &file_conversations_proto_msgTypes[21]
2023-06-30 09:54:08 +00:00
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]
2023-06-30 09:54:08 +00:00
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}
2023-06-30 09:54:08 +00:00
}
func (x *Muted) GetIsMuted() int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.IsMuted
}
return 0
2023-06-30 09:54:08 +00:00
}
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
}
2023-06-30 09:54:08 +00:00
var File_conversations_proto protoreflect.FileDescriptor
//go:embed conversations.pb.raw
var file_conversations_proto_rawDesc []byte
2023-06-30 09:54:08 +00:00
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, 7)
var file_conversations_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
2023-06-30 09:54:08 +00:00
var file_conversations_proto_goTypes = []interface{}{
(EmojiType)(0), // 0: conversations.EmojiType
(IdentifierType)(0), // 1: conversations.IdentifierType
(ConversationSendMode)(0), // 2: conversations.ConversationSendMode
(ConversationType)(0), // 3: conversations.ConversationType
(MessageStatusType)(0), // 4: conversations.MessageStatusType
(ConversationStatus)(0), // 5: conversations.ConversationStatus
(MediaFormats)(0), // 6: conversations.MediaFormats
(*Contact)(nil), // 7: conversations.Contact
(*ContactNumber)(nil), // 8: conversations.ContactNumber
(*Message)(nil), // 9: conversations.Message
(*ReactionEntry)(nil), // 10: conversations.ReactionEntry
(*CustomEmojiData)(nil), // 11: conversations.CustomEmojiData
(*ReactionData)(nil), // 12: conversations.ReactionData
(*EmojiMeta)(nil), // 13: conversations.EmojiMeta
(*EmojiMetaData)(nil), // 14: conversations.EmojiMetaData
(*ReplyMessage)(nil), // 15: conversations.ReplyMessage
(*ReplyMessageData)(nil), // 16: conversations.ReplyMessageData
(*MessageInfo)(nil), // 17: conversations.MessageInfo
(*MediaContent)(nil), // 18: conversations.MediaContent
(*Dimensions)(nil), // 19: conversations.Dimensions
(*MessageContent)(nil), // 20: conversations.MessageContent
(*MsgType)(nil), // 21: conversations.MsgType
(*MessageStatus)(nil), // 22: conversations.MessageStatus
(*Conversation)(nil), // 23: conversations.Conversation
(*Participant)(nil), // 24: conversations.Participant
(*SmallInfo)(nil), // 25: conversations.SmallInfo
(*LatestMessage)(nil), // 26: conversations.LatestMessage
(*LatestMessageStatus)(nil), // 27: conversations.LatestMessageStatus
(*Muted)(nil), // 28: conversations.Muted
(*CustomEmojiData_Inner)(nil), // 29: conversations.CustomEmojiData.Inner
(*CustomEmojiData_Inner_ImageData)(nil), // 30: conversations.CustomEmojiData.Inner.ImageData
(*CustomEmojiData_Inner_WrappedImageData)(nil), // 31: conversations.CustomEmojiData.Inner.WrappedImageData
(*CustomEmojiData_Inner_WrappedImageData_ImageData)(nil), // 32: conversations.CustomEmojiData.Inner.WrappedImageData.ImageData
2023-06-30 09:54:08 +00:00
}
var file_conversations_proto_depIdxs = []int32{
8, // 0: conversations.Contact.number:type_name -> conversations.ContactNumber
21, // 1: conversations.Message.msgType:type_name -> conversations.MsgType
22, // 2: conversations.Message.messageStatus:type_name -> conversations.MessageStatus
17, // 3: conversations.Message.messageInfo:type_name -> conversations.MessageInfo
10, // 4: conversations.Message.reactions:type_name -> conversations.ReactionEntry
15, // 5: conversations.Message.replyMessage:type_name -> conversations.ReplyMessage
12, // 6: conversations.ReactionEntry.data:type_name -> conversations.ReactionData
29, // 7: conversations.CustomEmojiData.innerData:type_name -> conversations.CustomEmojiData.Inner
0, // 8: conversations.ReactionData.type:type_name -> conversations.EmojiType
11, // 9: conversations.ReactionData.customEmoji:type_name -> conversations.CustomEmojiData
14, // 10: conversations.EmojiMeta.emojiMetaData:type_name -> conversations.EmojiMetaData
16, // 11: conversations.ReplyMessage.replyMessageData:type_name -> conversations.ReplyMessageData
20, // 12: conversations.MessageInfo.messageContent:type_name -> conversations.MessageContent
18, // 13: conversations.MessageInfo.mediaContent:type_name -> conversations.MediaContent
6, // 14: conversations.MediaContent.format:type_name -> conversations.MediaFormats
19, // 15: conversations.MediaContent.dimensions:type_name -> conversations.Dimensions
4, // 16: conversations.MessageStatus.status:type_name -> conversations.MessageStatusType
26, // 17: conversations.Conversation.latestMessage:type_name -> conversations.LatestMessage
5, // 18: conversations.Conversation.status:type_name -> conversations.ConversationStatus
2, // 19: conversations.Conversation.sendMode:type_name -> conversations.ConversationSendMode
24, // 20: conversations.Conversation.participants:type_name -> conversations.Participant
3, // 21: conversations.Conversation.type:type_name -> conversations.ConversationType
25, // 22: conversations.Participant.ID:type_name -> conversations.SmallInfo
28, // 23: conversations.Participant.muted:type_name -> conversations.Muted
1, // 24: conversations.SmallInfo.type:type_name -> conversations.IdentifierType
27, // 25: conversations.LatestMessage.latestMessageStatus:type_name -> conversations.LatestMessageStatus
4, // 26: conversations.LatestMessageStatus.status:type_name -> conversations.MessageStatusType
30, // 27: conversations.CustomEmojiData.Inner.first:type_name -> conversations.CustomEmojiData.Inner.ImageData
31, // 28: conversations.CustomEmojiData.Inner.second:type_name -> conversations.CustomEmojiData.Inner.WrappedImageData
32, // 29: conversations.CustomEmojiData.Inner.WrappedImageData.data:type_name -> conversations.CustomEmojiData.Inner.WrappedImageData.ImageData
30, // [30:30] is the sub-list for method output_type
30, // [30:30] is the sub-list for method input_type
30, // [30:30] is the sub-list for extension type_name
30, // [30:30] is the sub-list for extension extendee
0, // [0:30] is the sub-list for field type_name
2023-06-30 09:54:08 +00:00
}
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{} {
2023-07-17 23:57:20 +00:00
switch v := v.(*Contact); i {
2023-06-30 09:54:08 +00:00
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{} {
2023-07-17 23:57:20 +00:00
switch v := v.(*ContactNumber); i {
2023-06-30 09:54:08 +00:00
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{} {
2023-07-17 23:57:20 +00:00
switch v := v.(*Message); i {
2023-06-30 09:54:08 +00:00
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{} {
2023-07-17 23:57:20 +00:00
switch v := v.(*ReactionEntry); i {
2023-06-30 09:54:08 +00:00
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 {
2023-06-30 09:54:08 +00:00
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 {
2023-06-30 09:54:08 +00:00
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 {
2023-06-30 09:54:08 +00:00
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 {
2023-06-30 09:54:08 +00:00
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 {
2023-06-30 09:54:08 +00:00
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 {
2023-06-30 09:54:08 +00:00
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 {
2023-06-30 09:54:08 +00:00
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 {
2023-06-30 09:54:08 +00:00
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
}
}
2023-07-17 23:57:20 +00:00
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
}
}
2023-07-17 23:57:20 +00:00
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
}
}
2023-07-17 23:57:20 +00:00
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
}
}
2023-07-17 23:57:20 +00:00
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
}
}
2023-07-17 23:57:20 +00:00
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
}
}
2023-07-17 23:57:20 +00:00
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
}
}
2023-07-17 23:57:20 +00:00
file_conversations_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LatestMessage); i {
2023-07-17 23:19:25 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2023-07-17 23:57:20 +00:00
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{} {
2023-06-30 09:54:08 +00:00
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
}
}
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
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{}{
2023-06-30 09:54:08 +00:00
(*MessageInfo_MessageContent)(nil),
(*MessageInfo_MediaContent)(nil),
2023-06-30 09:54:08 +00:00
}
file_conversations_proto_msgTypes[22].OneofWrappers = []interface{}{}
file_conversations_proto_msgTypes[23].OneofWrappers = []interface{}{}
file_conversations_proto_msgTypes[25].OneofWrappers = []interface{}{}
2023-06-30 09:54:08 +00:00
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_conversations_proto_rawDesc,
NumEnums: 7,
NumMessages: 26,
2023-06-30 09:54:08 +00:00
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
}