2023-06-30 09:54:08 +00:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.30.0
// 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"
)
2023-07-16 23:06:35 +00:00
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-16 21:51:17 +00:00
type IdentifierType int32
const (
IdentifierType_UNKNOWN IdentifierType = 0
IdentifierType_PHONE IdentifierType = 1
IdentifierType_EMAIL IdentifierType = 2
)
// Enum value maps for IdentifierType.
var (
IdentifierType_name = map [ int32 ] string {
0 : "UNKNOWN" ,
1 : "PHONE" ,
2 : "EMAIL" ,
}
IdentifierType_value = map [ string ] int32 {
"UNKNOWN" : 0 ,
"PHONE" : 1 ,
"EMAIL" : 2 ,
}
)
func ( x IdentifierType ) Enum ( ) * IdentifierType {
p := new ( IdentifierType )
* p = x
return p
}
func ( x IdentifierType ) String ( ) string {
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
}
func ( IdentifierType ) Descriptor ( ) protoreflect . EnumDescriptor {
return file_conversations_proto_enumTypes [ 0 ] . Descriptor ( )
}
func ( IdentifierType ) Type ( ) protoreflect . EnumType {
return & file_conversations_proto_enumTypes [ 0 ]
}
func ( x IdentifierType ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
}
// Deprecated: Use IdentifierType.Descriptor instead.
func ( IdentifierType ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 0 }
}
2023-07-09 17:35:29 +00:00
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 {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_enumTypes [ 1 ] . Descriptor ( )
2023-07-09 17:35:29 +00:00
}
func ( ConversationType ) Type ( ) protoreflect . EnumType {
2023-07-16 21:51:17 +00:00
return & file_conversations_proto_enumTypes [ 1 ]
2023-07-09 17:35:29 +00:00
}
func ( x ConversationType ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
}
// Deprecated: Use ConversationType.Descriptor instead.
func ( ConversationType ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 1 }
2023-07-09 17:35:29 +00:00
}
2023-07-09 11:16:52 +00:00
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
2023-07-09 11:16:52 +00:00
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
)
2023-07-09 11:16:52 +00:00
// Enum value maps for MessageStatusType.
2023-06-30 09:54:08 +00:00
var (
2023-07-09 11:16:52 +00:00
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" ,
2023-07-09 11:16:52 +00:00
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 ,
2023-07-09 11:16:52 +00:00
"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
}
)
2023-07-09 11:16:52 +00:00
func ( x MessageStatusType ) Enum ( ) * MessageStatusType {
p := new ( MessageStatusType )
2023-06-30 09:54:08 +00:00
* p = x
return p
}
2023-07-09 11:16:52 +00:00
func ( x MessageStatusType ) String ( ) string {
2023-06-30 09:54:08 +00:00
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
}
2023-07-09 11:16:52 +00:00
func ( MessageStatusType ) Descriptor ( ) protoreflect . EnumDescriptor {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_enumTypes [ 2 ] . Descriptor ( )
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( MessageStatusType ) Type ( ) protoreflect . EnumType {
2023-07-16 21:51:17 +00:00
return & file_conversations_proto_enumTypes [ 2 ]
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x MessageStatusType ) Number ( ) protoreflect . EnumNumber {
2023-06-30 09:54:08 +00:00
return protoreflect . EnumNumber ( x )
}
2023-07-09 11:16:52 +00:00
// Deprecated: Use MessageStatusType.Descriptor instead.
func ( MessageStatusType ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 2 }
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
type ConversationStatus int32
2023-06-30 09:54:08 +00:00
const (
2023-07-09 11:16:52 +00:00
ConversationStatus_UNKNOWN_STATUS ConversationStatus = 0
ConversationStatus_UNARCHIVE ConversationStatus = 1
ConversationStatus_ARCHIVE ConversationStatus = 2
ConversationStatus_DELETE ConversationStatus = 3
2023-06-30 09:54:08 +00:00
)
2023-07-09 11:16:52 +00:00
// Enum value maps for ConversationStatus.
2023-06-30 09:54:08 +00:00
var (
2023-07-09 11:16:52 +00:00
ConversationStatus_name = map [ int32 ] string {
0 : "UNKNOWN_STATUS" ,
1 : "UNARCHIVE" ,
2 : "ARCHIVE" ,
3 : "DELETE" ,
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
ConversationStatus_value = map [ string ] int32 {
2023-06-30 09:54:08 +00:00
"UNKNOWN_STATUS" : 0 ,
2023-07-09 11:16:52 +00:00
"UNARCHIVE" : 1 ,
"ARCHIVE" : 2 ,
"DELETE" : 3 ,
2023-06-30 09:54:08 +00:00
}
)
2023-07-09 11:16:52 +00:00
func ( x ConversationStatus ) Enum ( ) * ConversationStatus {
p := new ( ConversationStatus )
2023-06-30 09:54:08 +00:00
* p = x
return p
}
2023-07-09 11:16:52 +00:00
func ( x ConversationStatus ) String ( ) string {
2023-06-30 09:54:08 +00:00
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
}
2023-07-09 11:16:52 +00:00
func ( ConversationStatus ) Descriptor ( ) protoreflect . EnumDescriptor {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_enumTypes [ 3 ] . Descriptor ( )
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( ConversationStatus ) Type ( ) protoreflect . EnumType {
2023-07-16 21:51:17 +00:00
return & file_conversations_proto_enumTypes [ 3 ]
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x ConversationStatus ) Number ( ) protoreflect . EnumNumber {
2023-06-30 09:54:08 +00:00
return protoreflect . EnumNumber ( x )
}
2023-07-09 11:16:52 +00:00
// Deprecated: Use ConversationStatus.Descriptor instead.
func ( ConversationStatus ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 3 }
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
type ConversationActionStatus int32
const (
ConversationActionStatus_UNKNOWN_ACTION_STATUS ConversationActionStatus = 0
ConversationActionStatus_UNBLOCK ConversationActionStatus = 2
ConversationActionStatus_BLOCK ConversationActionStatus = 7
ConversationActionStatus_BLOCK_AND_REPORT ConversationActionStatus = 8
)
// Enum value maps for ConversationActionStatus.
var (
ConversationActionStatus_name = map [ int32 ] string {
0 : "UNKNOWN_ACTION_STATUS" ,
2 : "UNBLOCK" ,
7 : "BLOCK" ,
8 : "BLOCK_AND_REPORT" ,
}
ConversationActionStatus_value = map [ string ] int32 {
"UNKNOWN_ACTION_STATUS" : 0 ,
"UNBLOCK" : 2 ,
"BLOCK" : 7 ,
"BLOCK_AND_REPORT" : 8 ,
}
)
func ( x ConversationActionStatus ) Enum ( ) * ConversationActionStatus {
p := new ( ConversationActionStatus )
* p = x
return p
}
func ( x ConversationActionStatus ) String ( ) string {
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
}
func ( ConversationActionStatus ) Descriptor ( ) protoreflect . EnumDescriptor {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_enumTypes [ 4 ] . Descriptor ( )
2023-07-09 11:16:52 +00:00
}
func ( ConversationActionStatus ) Type ( ) protoreflect . EnumType {
2023-07-16 21:51:17 +00:00
return & file_conversations_proto_enumTypes [ 4 ]
2023-07-09 11:16:52 +00:00
}
func ( x ConversationActionStatus ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
}
// Deprecated: Use ConversationActionStatus.Descriptor instead.
func ( ConversationActionStatus ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 4 }
2023-07-09 11:16:52 +00:00
}
type ConversationMuteStatus int32
const (
ConversationMuteStatus_UNMUTE ConversationMuteStatus = 0
ConversationMuteStatus_MUTE ConversationMuteStatus = 1
)
// Enum value maps for ConversationMuteStatus.
var (
ConversationMuteStatus_name = map [ int32 ] string {
0 : "UNMUTE" ,
1 : "MUTE" ,
}
ConversationMuteStatus_value = map [ string ] int32 {
"UNMUTE" : 0 ,
"MUTE" : 1 ,
}
)
func ( x ConversationMuteStatus ) Enum ( ) * ConversationMuteStatus {
p := new ( ConversationMuteStatus )
* p = x
return p
}
func ( x ConversationMuteStatus ) String ( ) string {
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
}
func ( ConversationMuteStatus ) Descriptor ( ) protoreflect . EnumDescriptor {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_enumTypes [ 5 ] . Descriptor ( )
2023-07-09 11:16:52 +00:00
}
func ( ConversationMuteStatus ) Type ( ) protoreflect . EnumType {
2023-07-16 21:51:17 +00:00
return & file_conversations_proto_enumTypes [ 5 ]
2023-07-09 11:16:52 +00:00
}
func ( x ConversationMuteStatus ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
}
// Deprecated: Use ConversationMuteStatus.Descriptor instead.
func ( ConversationMuteStatus ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 5 }
2023-07-09 11:16:52 +00:00
}
type ConvUpdateTypes int32
const (
ConvUpdateTypes_UNKNOWN_CONVTYPE ConvUpdateTypes = 0
ConvUpdateTypes_UNARCHIVED ConvUpdateTypes = 1
ConvUpdateTypes_ARCHIVED ConvUpdateTypes = 2
ConvUpdateTypes_DELETED ConvUpdateTypes = 3
ConvUpdateTypes_BLOCKED_AND_REPORTED ConvUpdateTypes = 5
ConvUpdateTypes_BLOCKED ConvUpdateTypes = 6
)
// Enum value maps for ConvUpdateTypes.
var (
ConvUpdateTypes_name = map [ int32 ] string {
0 : "UNKNOWN_CONVTYPE" ,
1 : "UNARCHIVED" ,
2 : "ARCHIVED" ,
3 : "DELETED" ,
5 : "BLOCKED_AND_REPORTED" ,
6 : "BLOCKED" ,
}
ConvUpdateTypes_value = map [ string ] int32 {
"UNKNOWN_CONVTYPE" : 0 ,
"UNARCHIVED" : 1 ,
"ARCHIVED" : 2 ,
"DELETED" : 3 ,
"BLOCKED_AND_REPORTED" : 5 ,
"BLOCKED" : 6 ,
}
)
func ( x ConvUpdateTypes ) Enum ( ) * ConvUpdateTypes {
p := new ( ConvUpdateTypes )
* p = x
return p
}
func ( x ConvUpdateTypes ) String ( ) string {
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
}
func ( ConvUpdateTypes ) Descriptor ( ) protoreflect . EnumDescriptor {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_enumTypes [ 6 ] . Descriptor ( )
2023-07-09 11:16:52 +00:00
}
func ( ConvUpdateTypes ) Type ( ) protoreflect . EnumType {
2023-07-16 21:51:17 +00:00
return & file_conversations_proto_enumTypes [ 6 ]
2023-07-09 11:16:52 +00:00
}
func ( x ConvUpdateTypes ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
}
// Deprecated: Use ConvUpdateTypes.Descriptor instead.
func ( ConvUpdateTypes ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 6 }
2023-07-09 11:16:52 +00:00
}
type MediaFormats int32
const (
2023-07-15 17:08:11 +00:00
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
2023-07-09 11:16:52 +00:00
)
// 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" ,
2023-07-15 17:08:11 +00:00
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" ,
2023-07-09 11:16:52 +00:00
}
MediaFormats_value = map [ string ] int32 {
2023-07-15 17:08:11 +00:00
"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 ,
2023-07-09 11:16:52 +00:00
}
)
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 {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_enumTypes [ 7 ] . Descriptor ( )
2023-07-09 11:16:52 +00:00
}
func ( MediaFormats ) Type ( ) protoreflect . EnumType {
2023-07-16 21:51:17 +00:00
return & file_conversations_proto_enumTypes [ 7 ]
2023-07-09 11:16:52 +00:00
}
func ( x MediaFormats ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
}
// Deprecated: Use MediaFormats.Descriptor instead.
func ( MediaFormats ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 7 }
2023-07-09 17:35:29 +00:00
}
2023-07-15 21:55:55 +00:00
type ListConversationsPayload_Folder int32
const (
ListConversationsPayload_UNKNOWN ListConversationsPayload_Folder = 0
ListConversationsPayload_INBOX ListConversationsPayload_Folder = 1
ListConversationsPayload_ARCHIVE ListConversationsPayload_Folder = 2
ListConversationsPayload_SPAM_BLOCKED ListConversationsPayload_Folder = 5
)
// Enum value maps for ListConversationsPayload_Folder.
var (
ListConversationsPayload_Folder_name = map [ int32 ] string {
0 : "UNKNOWN" ,
1 : "INBOX" ,
2 : "ARCHIVE" ,
5 : "SPAM_BLOCKED" ,
}
ListConversationsPayload_Folder_value = map [ string ] int32 {
"UNKNOWN" : 0 ,
"INBOX" : 1 ,
"ARCHIVE" : 2 ,
"SPAM_BLOCKED" : 5 ,
}
)
func ( x ListConversationsPayload_Folder ) Enum ( ) * ListConversationsPayload_Folder {
p := new ( ListConversationsPayload_Folder )
* p = x
return p
}
func ( x ListConversationsPayload_Folder ) String ( ) string {
return protoimpl . X . EnumStringOf ( x . Descriptor ( ) , protoreflect . EnumNumber ( x ) )
}
func ( ListConversationsPayload_Folder ) Descriptor ( ) protoreflect . EnumDescriptor {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_enumTypes [ 8 ] . Descriptor ( )
2023-07-15 21:55:55 +00:00
}
func ( ListConversationsPayload_Folder ) Type ( ) protoreflect . EnumType {
2023-07-16 21:51:17 +00:00
return & file_conversations_proto_enumTypes [ 8 ]
2023-07-15 21:55:55 +00:00
}
func ( x ListConversationsPayload_Folder ) Number ( ) protoreflect . EnumNumber {
return protoreflect . EnumNumber ( x )
}
// Deprecated: Use ListConversationsPayload_Folder.Descriptor instead.
func ( ListConversationsPayload_Folder ) EnumDescriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 22 , 0 }
2023-07-15 21:55:55 +00:00
}
2023-07-09 17:35:29 +00:00
type GetParticipantThumbnailPayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
ConversationID string ` protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty" `
}
func ( x * GetParticipantThumbnailPayload ) Reset ( ) {
* x = GetParticipantThumbnailPayload { }
if protoimpl . UnsafeEnabled {
mi := & file_conversations_proto_msgTypes [ 0 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * GetParticipantThumbnailPayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * GetParticipantThumbnailPayload ) ProtoMessage ( ) { }
func ( x * GetParticipantThumbnailPayload ) ProtoReflect ( ) protoreflect . Message {
mi := & file_conversations_proto_msgTypes [ 0 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use GetParticipantThumbnailPayload.ProtoReflect.Descriptor instead.
func ( * GetParticipantThumbnailPayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 0 }
}
func ( x * GetParticipantThumbnailPayload ) GetConversationID ( ) string {
if x != nil {
return x . ConversationID
}
return ""
2023-07-09 11:16:52 +00:00
}
2023-07-16 21:51:17 +00:00
type ListContactsPayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
I1 int32 ` protobuf:"varint,5,opt,name=i1,proto3" json:"i1,omitempty" ` // = 1
I2 int32 ` protobuf:"varint,6,opt,name=i2,proto3" json:"i2,omitempty" ` // = 350
I3 int32 ` protobuf:"varint,7,opt,name=i3,proto3" json:"i3,omitempty" ` // = 50
}
func ( x * ListContactsPayload ) Reset ( ) {
* x = ListContactsPayload { }
if protoimpl . UnsafeEnabled {
mi := & file_conversations_proto_msgTypes [ 1 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * ListContactsPayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ListContactsPayload ) ProtoMessage ( ) { }
func ( x * ListContactsPayload ) ProtoReflect ( ) protoreflect . Message {
mi := & file_conversations_proto_msgTypes [ 1 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use ListContactsPayload.ProtoReflect.Descriptor instead.
func ( * ListContactsPayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 1 }
}
func ( x * ListContactsPayload ) GetI1 ( ) int32 {
if x != nil {
return x . I1
}
return 0
}
func ( x * ListContactsPayload ) GetI2 ( ) int32 {
if x != nil {
return x . I2
}
return 0
}
func ( x * ListContactsPayload ) GetI3 ( ) int32 {
if x != nil {
return x . I3
}
return 0
}
type ListTopContactsPayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Count int32 ` protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty" `
}
func ( x * ListTopContactsPayload ) Reset ( ) {
* x = ListTopContactsPayload { }
if protoimpl . UnsafeEnabled {
mi := & file_conversations_proto_msgTypes [ 2 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * ListTopContactsPayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ListTopContactsPayload ) ProtoMessage ( ) { }
func ( x * ListTopContactsPayload ) ProtoReflect ( ) protoreflect . Message {
mi := & file_conversations_proto_msgTypes [ 2 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use ListTopContactsPayload.ProtoReflect.Descriptor instead.
func ( * ListTopContactsPayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 2 }
}
func ( x * ListTopContactsPayload ) GetCount ( ) int32 {
if x != nil {
return x . Count
}
return 0
}
type GetContactsThumbnailPayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
AvatarIDs [ ] string ` protobuf:"bytes,1,rep,name=avatarIDs,proto3" json:"avatarIDs,omitempty" `
}
func ( x * GetContactsThumbnailPayload ) Reset ( ) {
* x = GetContactsThumbnailPayload { }
if protoimpl . UnsafeEnabled {
mi := & file_conversations_proto_msgTypes [ 3 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * GetContactsThumbnailPayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * GetContactsThumbnailPayload ) ProtoMessage ( ) { }
func ( x * GetContactsThumbnailPayload ) ProtoReflect ( ) protoreflect . Message {
mi := & file_conversations_proto_msgTypes [ 3 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use GetContactsThumbnailPayload.ProtoReflect.Descriptor instead.
func ( * GetContactsThumbnailPayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 3 }
}
func ( x * GetContactsThumbnailPayload ) GetAvatarIDs ( ) [ ] string {
if x != nil {
return x . AvatarIDs
}
return nil
}
type Contact struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
ID string ` protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty" `
Name string ` protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" `
Number * ContactNumber ` protobuf:"bytes,3,opt,name=number,proto3" json:"number,omitempty" `
AvatarHexColor string ` protobuf:"bytes,7,opt,name=avatarHexColor,proto3" json:"avatarHexColor,omitempty" `
UnknownBool bool ` protobuf:"varint,10,opt,name=unknownBool,proto3" json:"unknownBool,omitempty" `
AvatarID string ` protobuf:"bytes,11,opt,name=avatarID,proto3" json:"avatarID,omitempty" `
}
func ( x * Contact ) Reset ( ) {
* x = Contact { }
if protoimpl . UnsafeEnabled {
mi := & file_conversations_proto_msgTypes [ 4 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * Contact ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * Contact ) ProtoMessage ( ) { }
func ( x * Contact ) ProtoReflect ( ) protoreflect . Message {
mi := & file_conversations_proto_msgTypes [ 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 Contact.ProtoReflect.Descriptor instead.
func ( * Contact ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 4 }
}
func ( x * Contact ) GetID ( ) string {
if x != nil {
return x . ID
}
return ""
}
func ( x * Contact ) GetName ( ) string {
if x != nil {
return x . Name
}
return ""
}
func ( x * Contact ) GetNumber ( ) * ContactNumber {
if x != nil {
return x . Number
}
return nil
}
func ( x * Contact ) GetAvatarHexColor ( ) string {
if x != nil {
return x . AvatarHexColor
}
return ""
}
func ( x * Contact ) GetUnknownBool ( ) bool {
if x != nil {
return x . UnknownBool
}
return false
}
func ( x * Contact ) GetAvatarID ( ) string {
if x != nil {
return x . AvatarID
}
return ""
}
type ContactNumber struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
// Might be 2 for contact and 7 for user input?
MysteriousInt int32 ` protobuf:"varint,1,opt,name=mysteriousInt,proto3" json:"mysteriousInt,omitempty" `
Number string ` protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty" `
Number2 string ` protobuf:"bytes,3,opt,name=number2,proto3" json:"number2,omitempty" `
FormattedNumber * string ` protobuf:"bytes,4,opt,name=formattedNumber,proto3,oneof" json:"formattedNumber,omitempty" `
}
func ( x * ContactNumber ) Reset ( ) {
* x = ContactNumber { }
if protoimpl . UnsafeEnabled {
mi := & file_conversations_proto_msgTypes [ 5 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * ContactNumber ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ContactNumber ) ProtoMessage ( ) { }
func ( x * ContactNumber ) ProtoReflect ( ) protoreflect . Message {
mi := & file_conversations_proto_msgTypes [ 5 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use ContactNumber.ProtoReflect.Descriptor instead.
func ( * ContactNumber ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 5 }
}
func ( x * ContactNumber ) GetMysteriousInt ( ) int32 {
if x != nil {
return x . MysteriousInt
}
return 0
}
func ( x * ContactNumber ) GetNumber ( ) string {
if x != nil {
return x . Number
}
return ""
}
func ( x * ContactNumber ) GetNumber2 ( ) string {
if x != nil {
return x . Number2
}
return ""
}
func ( x * ContactNumber ) GetFormattedNumber ( ) string {
if x != nil && x . FormattedNumber != nil {
return * x . FormattedNumber
}
return ""
}
type GetOrCreateConversationPayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-07-16 22:52:13 +00:00
Numbers [ ] * ContactNumber ` protobuf:"bytes,2,rep,name=numbers,proto3" json:"numbers,omitempty" `
RCSGroupName * string ` protobuf:"bytes,3,opt,name=RCSGroupName,proto3,oneof" json:"RCSGroupName,omitempty" `
CreateRCSGroup * bool ` protobuf:"varint,4,opt,name=createRCSGroup,proto3,oneof" json:"createRCSGroup,omitempty" `
2023-07-16 21:51:17 +00:00
}
func ( x * GetOrCreateConversationPayload ) Reset ( ) {
* x = GetOrCreateConversationPayload { }
if protoimpl . UnsafeEnabled {
mi := & file_conversations_proto_msgTypes [ 6 ]
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * GetOrCreateConversationPayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * GetOrCreateConversationPayload ) ProtoMessage ( ) { }
func ( x * GetOrCreateConversationPayload ) ProtoReflect ( ) protoreflect . Message {
mi := & file_conversations_proto_msgTypes [ 6 ]
if protoimpl . UnsafeEnabled && x != nil {
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
if ms . LoadMessageInfo ( ) == nil {
ms . StoreMessageInfo ( mi )
}
return ms
}
return mi . MessageOf ( x )
}
// Deprecated: Use GetOrCreateConversationPayload.ProtoReflect.Descriptor instead.
func ( * GetOrCreateConversationPayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 6 }
}
func ( x * GetOrCreateConversationPayload ) GetNumbers ( ) [ ] * ContactNumber {
if x != nil {
return x . Numbers
}
return nil
}
2023-07-16 22:52:13 +00:00
func ( x * GetOrCreateConversationPayload ) GetRCSGroupName ( ) string {
if x != nil && x . RCSGroupName != nil {
return * x . RCSGroupName
}
return ""
}
func ( x * GetOrCreateConversationPayload ) GetCreateRCSGroup ( ) bool {
if x != nil && x . CreateRCSGroup != nil {
return * x . CreateRCSGroup
}
return false
}
2023-07-09 11:16:52 +00:00
type ResendMessagePayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
MessageID string ` protobuf:"bytes,2,opt,name=messageID,proto3" json:"messageID,omitempty" `
}
func ( x * ResendMessagePayload ) Reset ( ) {
* x = ResendMessagePayload { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 7 ]
2023-07-09 11:16:52 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * ResendMessagePayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ResendMessagePayload ) ProtoMessage ( ) { }
func ( x * ResendMessagePayload ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 7 ]
2023-07-09 11:16:52 +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 ResendMessagePayload.ProtoReflect.Descriptor instead.
func ( * ResendMessagePayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 7 }
2023-07-09 11:16:52 +00:00
}
func ( x * ResendMessagePayload ) GetMessageID ( ) string {
if x != nil {
return x . MessageID
}
return ""
}
type ConversationTypePayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
ConversationID string ` protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty" `
}
func ( x * ConversationTypePayload ) Reset ( ) {
* x = ConversationTypePayload { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 8 ]
2023-07-09 11:16:52 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * ConversationTypePayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ConversationTypePayload ) ProtoMessage ( ) { }
func ( x * ConversationTypePayload ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 8 ]
2023-07-09 11:16:52 +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 ConversationTypePayload.ProtoReflect.Descriptor instead.
func ( * ConversationTypePayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 8 }
2023-07-09 11:16:52 +00:00
}
func ( x * ConversationTypePayload ) GetConversationID ( ) string {
if x != nil {
return x . ConversationID
}
return ""
}
2023-07-15 16:48:11 +00:00
type TypingUpdatePayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Data * SetTypingIn ` protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty" `
}
func ( x * TypingUpdatePayload ) Reset ( ) {
* x = TypingUpdatePayload { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 9 ]
2023-07-15 16:48:11 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * TypingUpdatePayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * TypingUpdatePayload ) ProtoMessage ( ) { }
func ( x * TypingUpdatePayload ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 9 ]
2023-07-15 16:48:11 +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 TypingUpdatePayload.ProtoReflect.Descriptor instead.
func ( * TypingUpdatePayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 9 }
2023-07-15 16:48:11 +00:00
}
func ( x * TypingUpdatePayload ) GetData ( ) * SetTypingIn {
if x != nil {
return x . Data
}
return nil
}
type SetTypingIn struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
ConversationID string ` protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty" `
Typing bool ` protobuf:"varint,3,opt,name=typing,proto3" json:"typing,omitempty" `
}
func ( x * SetTypingIn ) Reset ( ) {
* x = SetTypingIn { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 10 ]
2023-07-15 16:48:11 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * SetTypingIn ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * SetTypingIn ) ProtoMessage ( ) { }
func ( x * SetTypingIn ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 10 ]
2023-07-15 16:48:11 +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 SetTypingIn.ProtoReflect.Descriptor instead.
func ( * SetTypingIn ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 10 }
2023-07-15 16:48:11 +00:00
}
func ( x * SetTypingIn ) GetConversationID ( ) string {
if x != nil {
return x . ConversationID
}
return ""
}
func ( x * SetTypingIn ) GetTyping ( ) bool {
if x != nil {
return x . Typing
}
return false
}
2023-07-09 11:16:52 +00:00
type UpdateConversationPayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Data * UpdateConversationData ` protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" `
Action ConversationActionStatus ` protobuf:"varint,2,opt,name=action,proto3,enum=conversations.ConversationActionStatus" json:"action,omitempty" `
ConversationID string ` protobuf:"bytes,3,opt,name=conversationID,proto3" json:"conversationID,omitempty" `
Action5 * ConversationAction5 ` protobuf:"bytes,5,opt,name=action5,proto3" json:"action5,omitempty" `
}
func ( x * UpdateConversationPayload ) Reset ( ) {
* x = UpdateConversationPayload { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 11 ]
2023-07-09 11:16:52 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * UpdateConversationPayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * UpdateConversationPayload ) ProtoMessage ( ) { }
func ( x * UpdateConversationPayload ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 11 ]
2023-07-09 11:16:52 +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 UpdateConversationPayload.ProtoReflect.Descriptor instead.
func ( * UpdateConversationPayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 11 }
2023-07-09 11:16:52 +00:00
}
func ( x * UpdateConversationPayload ) GetData ( ) * UpdateConversationData {
if x != nil {
return x . Data
}
return nil
}
func ( x * UpdateConversationPayload ) GetAction ( ) ConversationActionStatus {
if x != nil {
return x . Action
}
return ConversationActionStatus_UNKNOWN_ACTION_STATUS
}
func ( x * UpdateConversationPayload ) GetConversationID ( ) string {
if x != nil {
return x . ConversationID
}
return ""
}
func ( x * UpdateConversationPayload ) GetAction5 ( ) * ConversationAction5 {
if x != nil {
return x . Action5
}
return nil
}
type ConversationAction5 struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Field2 bool ` protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty" `
}
func ( x * ConversationAction5 ) Reset ( ) {
* x = ConversationAction5 { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 12 ]
2023-07-09 11:16:52 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * ConversationAction5 ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ConversationAction5 ) ProtoMessage ( ) { }
func ( x * ConversationAction5 ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 12 ]
2023-07-09 11:16:52 +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 ConversationAction5.ProtoReflect.Descriptor instead.
func ( * ConversationAction5 ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 12 }
2023-07-09 11:16:52 +00:00
}
func ( x * ConversationAction5 ) GetField2 ( ) bool {
if x != nil {
return x . Field2
}
return false
}
type UpdateConversationData struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
ConversationID string ` protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty" `
// Types that are assignable to Data:
//
// *UpdateConversationData_Status
// *UpdateConversationData_Mute
Data isUpdateConversationData_Data ` protobuf_oneof:"data" `
}
func ( x * UpdateConversationData ) Reset ( ) {
* x = UpdateConversationData { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 13 ]
2023-07-09 11:16:52 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * UpdateConversationData ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * UpdateConversationData ) ProtoMessage ( ) { }
func ( x * UpdateConversationData ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 13 ]
2023-07-09 11:16:52 +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 UpdateConversationData.ProtoReflect.Descriptor instead.
func ( * UpdateConversationData ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 13 }
2023-07-09 11:16:52 +00:00
}
func ( x * UpdateConversationData ) GetConversationID ( ) string {
if x != nil {
return x . ConversationID
}
return ""
}
func ( m * UpdateConversationData ) GetData ( ) isUpdateConversationData_Data {
if m != nil {
return m . Data
}
return nil
}
func ( x * UpdateConversationData ) GetStatus ( ) ConversationStatus {
if x , ok := x . GetData ( ) . ( * UpdateConversationData_Status ) ; ok {
return x . Status
}
return ConversationStatus_UNKNOWN_STATUS
}
func ( x * UpdateConversationData ) GetMute ( ) ConversationMuteStatus {
if x , ok := x . GetData ( ) . ( * UpdateConversationData_Mute ) ; ok {
return x . Mute
}
return ConversationMuteStatus_UNMUTE
}
type isUpdateConversationData_Data interface {
isUpdateConversationData_Data ( )
}
type UpdateConversationData_Status struct {
Status ConversationStatus ` protobuf:"varint,12,opt,name=status,proto3,enum=conversations.ConversationStatus,oneof" `
}
type UpdateConversationData_Mute struct {
Mute ConversationMuteStatus ` protobuf:"varint,7,opt,name=mute,proto3,enum=conversations.ConversationMuteStatus,oneof" `
}
func ( * UpdateConversationData_Status ) isUpdateConversationData_Data ( ) { }
func ( * UpdateConversationData_Mute ) isUpdateConversationData_Data ( ) { }
type DeleteMessagePayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
MessageID string ` protobuf:"bytes,2,opt,name=messageID,proto3" json:"messageID,omitempty" `
}
func ( x * DeleteMessagePayload ) Reset ( ) {
* x = DeleteMessagePayload { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 14 ]
2023-07-09 11:16:52 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * DeleteMessagePayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * DeleteMessagePayload ) ProtoMessage ( ) { }
func ( x * DeleteMessagePayload ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 14 ]
2023-07-09 11:16:52 +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 DeleteMessagePayload.ProtoReflect.Descriptor instead.
func ( * DeleteMessagePayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 14 }
2023-07-09 11:16:52 +00:00
}
func ( x * DeleteMessagePayload ) GetMessageID ( ) string {
if x != nil {
return x . MessageID
}
return ""
}
2023-06-30 09:54:08 +00:00
type SendMessagePayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-06-30 13:26:46 +00:00
ConversationID string ` protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty" `
2023-06-30 09:54:08 +00:00
MessagePayload * MessagePayload ` protobuf:"bytes,3,opt,name=messagePayload,proto3" json:"messagePayload,omitempty" `
2023-06-30 13:26:46 +00:00
TmpID string ` protobuf:"bytes,5,opt,name=tmpID,proto3" json:"tmpID,omitempty" `
2023-07-09 11:16:52 +00:00
IsReply bool ` protobuf:"varint,6,opt,name=isReply,proto3" json:"isReply,omitempty" ` // not sure
Reply * ReplyPayload ` protobuf:"bytes,8,opt,name=reply,proto3" json:"reply,omitempty" `
2023-06-30 09:54:08 +00:00
}
func ( x * SendMessagePayload ) Reset ( ) {
* x = SendMessagePayload { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
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 * SendMessagePayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * SendMessagePayload ) ProtoMessage ( ) { }
func ( x * SendMessagePayload ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
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 SendMessagePayload.ProtoReflect.Descriptor instead.
func ( * SendMessagePayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 15 }
2023-06-30 09:54:08 +00:00
}
2023-06-30 13:26:46 +00:00
func ( x * SendMessagePayload ) 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 * SendMessagePayload ) GetMessagePayload ( ) * MessagePayload {
if x != nil {
return x . MessagePayload
}
return nil
}
2023-06-30 13:26:46 +00:00
func ( x * SendMessagePayload ) GetTmpID ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-06-30 13:26:46 +00:00
return x . TmpID
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-09 11:16:52 +00:00
func ( x * SendMessagePayload ) GetIsReply ( ) bool {
if x != nil {
return x . IsReply
}
return false
}
func ( x * SendMessagePayload ) GetReply ( ) * ReplyPayload {
if x != nil {
return x . Reply
}
return nil
}
type ReplyPayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
MessageID string ` protobuf:"bytes,1,opt,name=messageID,proto3" json:"messageID,omitempty" `
}
func ( x * ReplyPayload ) Reset ( ) {
* x = ReplyPayload { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 16 ]
2023-07-09 11:16:52 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * ReplyPayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ReplyPayload ) ProtoMessage ( ) { }
func ( x * ReplyPayload ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 16 ]
2023-07-09 11:16:52 +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 ReplyPayload.ProtoReflect.Descriptor instead.
func ( * ReplyPayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 16 }
2023-07-09 11:16:52 +00:00
}
func ( x * ReplyPayload ) GetMessageID ( ) string {
if x != nil {
return x . MessageID
}
return ""
}
2023-06-30 09:54:08 +00:00
type MessagePayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-06-30 13:26:46 +00:00
TmpID string ` protobuf:"bytes,1,opt,name=tmpID,proto3" json:"tmpID,omitempty" `
2023-06-30 09:54:08 +00:00
MessagePayloadContent * MessagePayloadContent ` protobuf:"bytes,6,opt,name=messagePayloadContent,proto3" json:"messagePayloadContent,omitempty" `
2023-06-30 13:26:46 +00:00
ConversationID string ` protobuf:"bytes,7,opt,name=conversationID,proto3" json:"conversationID,omitempty" `
2023-07-09 11:16:52 +00:00
SelfParticipantID string ` protobuf:"bytes,9,opt,name=selfParticipantID,proto3" json:"selfParticipantID,omitempty" ` // might be participantID
2023-06-30 09:54:08 +00:00
MessageInfo [ ] * MessageInfo ` protobuf:"bytes,10,rep,name=messageInfo,proto3" json:"messageInfo,omitempty" `
2023-06-30 13:26:46 +00:00
TmpID2 string ` protobuf:"bytes,12,opt,name=tmpID2,proto3" json:"tmpID2,omitempty" `
2023-06-30 09:54:08 +00:00
}
func ( x * MessagePayload ) Reset ( ) {
* x = MessagePayload { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
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 * MessagePayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * MessagePayload ) ProtoMessage ( ) { }
func ( x * MessagePayload ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
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 MessagePayload.ProtoReflect.Descriptor instead.
func ( * MessagePayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 17 }
2023-06-30 09:54:08 +00:00
}
2023-06-30 13:26:46 +00:00
func ( x * MessagePayload ) GetTmpID ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-06-30 13:26:46 +00:00
return x . TmpID
2023-06-30 09:54:08 +00:00
}
return ""
}
func ( x * MessagePayload ) GetMessagePayloadContent ( ) * MessagePayloadContent {
if x != nil {
return x . MessagePayloadContent
}
return nil
}
2023-06-30 13:26:46 +00:00
func ( x * MessagePayload ) 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-06-30 13:26:46 +00:00
func ( x * MessagePayload ) GetSelfParticipantID ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-06-30 13:26:46 +00:00
return x . SelfParticipantID
2023-06-30 09:54:08 +00:00
}
return ""
}
func ( x * MessagePayload ) GetMessageInfo ( ) [ ] * MessageInfo {
if x != nil {
return x . MessageInfo
}
return nil
}
2023-06-30 13:26:46 +00:00
func ( x * MessagePayload ) GetTmpID2 ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-06-30 13:26:46 +00:00
return x . TmpID2
2023-06-30 09:54:08 +00:00
}
return ""
}
type MessagePayloadContent struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
MessageContent * MessageContent ` protobuf:"bytes,1,opt,name=messageContent,proto3" json:"messageContent,omitempty" `
}
func ( x * MessagePayloadContent ) Reset ( ) {
* x = MessagePayloadContent { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
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 * MessagePayloadContent ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * MessagePayloadContent ) ProtoMessage ( ) { }
func ( x * MessagePayloadContent ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
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 MessagePayloadContent.ProtoReflect.Descriptor instead.
func ( * MessagePayloadContent ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 18 }
2023-06-30 09:54:08 +00:00
}
func ( x * MessagePayloadContent ) GetMessageContent ( ) * MessageContent {
if x != nil {
return x . MessageContent
}
return nil
}
type OpenConversationPayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-06-30 13:26:46 +00:00
ConversationID string ` protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty" `
2023-06-30 09:54:08 +00:00
}
func ( x * OpenConversationPayload ) Reset ( ) {
* x = OpenConversationPayload { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
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 * OpenConversationPayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * OpenConversationPayload ) ProtoMessage ( ) { }
func ( x * OpenConversationPayload ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
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 OpenConversationPayload.ProtoReflect.Descriptor instead.
func ( * OpenConversationPayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 19 }
2023-06-30 09:54:08 +00:00
}
2023-06-30 13:26:46 +00:00
func ( x * OpenConversationPayload ) 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 ""
}
type PrepareOpenConversationPayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Field2 int64 ` protobuf:"varint,2,opt,name=field2,proto3" json:"field2,omitempty" ` // only seen value 1
}
func ( x * PrepareOpenConversationPayload ) Reset ( ) {
* x = PrepareOpenConversationPayload { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
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 * PrepareOpenConversationPayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * PrepareOpenConversationPayload ) ProtoMessage ( ) { }
func ( x * PrepareOpenConversationPayload ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
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 PrepareOpenConversationPayload.ProtoReflect.Descriptor instead.
func ( * PrepareOpenConversationPayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 20 }
2023-06-30 09:54:08 +00:00
}
func ( x * PrepareOpenConversationPayload ) GetField2 ( ) int64 {
if x != nil {
return x . Field2
}
return 0
}
type FetchConversationMessagesPayload struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-06-30 13:26:46 +00:00
ConversationID string ` protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty" `
2023-06-30 09:54:08 +00:00
Count int64 ` protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty" `
Cursor * Cursor ` protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty" `
}
func ( x * FetchConversationMessagesPayload ) Reset ( ) {
* x = FetchConversationMessagesPayload { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
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 * FetchConversationMessagesPayload ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * FetchConversationMessagesPayload ) ProtoMessage ( ) { }
func ( x * FetchConversationMessagesPayload ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
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 FetchConversationMessagesPayload.ProtoReflect.Descriptor instead.
func ( * FetchConversationMessagesPayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 21 }
2023-06-30 09:54:08 +00:00
}
2023-06-30 13:26:46 +00:00
func ( x * FetchConversationMessagesPayload ) 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 * FetchConversationMessagesPayload ) GetCount ( ) int64 {
if x != nil {
return x . Count
}
return 0
}
func ( x * FetchConversationMessagesPayload ) GetCursor ( ) * Cursor {
if x != nil {
return x . Cursor
}
return nil
}
2023-07-15 21:55:55 +00:00
type ListConversationsPayload struct {
2023-06-30 09:54:08 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-07-15 21:55:55 +00:00
Count int64 ` protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty" `
Folder ListConversationsPayload_Folder ` protobuf:"varint,4,opt,name=folder,proto3,enum=conversations.ListConversationsPayload_Folder" json:"folder,omitempty" `
2023-07-16 21:51:17 +00:00
Cursor * Cursor ` protobuf:"bytes,5,opt,name=cursor,proto3,oneof" json:"cursor,omitempty" `
2023-06-30 09:54:08 +00:00
}
2023-07-15 21:55:55 +00:00
func ( x * ListConversationsPayload ) Reset ( ) {
* x = ListConversationsPayload { }
2023-06-30 09:54:08 +00:00
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 22 ]
2023-06-30 09:54:08 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
2023-07-15 21:55:55 +00:00
func ( x * ListConversationsPayload ) String ( ) string {
2023-06-30 09:54:08 +00:00
return protoimpl . X . MessageStringOf ( x )
}
2023-07-15 21:55:55 +00:00
func ( * ListConversationsPayload ) ProtoMessage ( ) { }
2023-06-30 09:54:08 +00:00
2023-07-15 21:55:55 +00:00
func ( x * ListConversationsPayload ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 22 ]
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-15 21:55:55 +00:00
// Deprecated: Use ListConversationsPayload.ProtoReflect.Descriptor instead.
func ( * ListConversationsPayload ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 22 }
2023-06-30 09:54:08 +00:00
}
2023-07-15 21:55:55 +00:00
func ( x * ListConversationsPayload ) GetCount ( ) int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x . Count
}
return 0
}
2023-07-15 21:55:55 +00:00
func ( x * ListConversationsPayload ) GetFolder ( ) ListConversationsPayload_Folder {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-15 21:55:55 +00:00
return x . Folder
2023-06-30 09:54:08 +00:00
}
2023-07-15 21:55:55 +00:00
return ListConversationsPayload_UNKNOWN
2023-06-30 09:54:08 +00:00
}
2023-07-16 21:51:17 +00:00
func ( x * ListConversationsPayload ) GetCursor ( ) * Cursor {
if x != nil {
return x . Cursor
}
return nil
}
2023-06-30 09:54:08 +00:00
type Cursor struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-07-16 21:51:17 +00:00
LastItemID string ` protobuf:"bytes,1,opt,name=lastItemID,proto3" json:"lastItemID,omitempty" `
LastItemTimestamp int64 ` protobuf:"varint,2,opt,name=lastItemTimestamp,proto3" json:"lastItemTimestamp,omitempty" `
2023-06-30 09:54:08 +00:00
}
func ( x * Cursor ) Reset ( ) {
* x = Cursor { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 23 ]
2023-06-30 09:54:08 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * Cursor ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * Cursor ) ProtoMessage ( ) { }
func ( x * Cursor ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 23 ]
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 Cursor.ProtoReflect.Descriptor instead.
func ( * Cursor ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 23 }
2023-06-30 09:54:08 +00:00
}
2023-07-16 21:51:17 +00:00
func ( x * Cursor ) GetLastItemID ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-16 21:51:17 +00:00
return x . LastItemID
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-16 21:51:17 +00:00
func ( x * Cursor ) GetLastItemTimestamp ( ) int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-16 21:51:17 +00:00
return x . LastItemTimestamp
2023-06-30 09:54:08 +00:00
}
return 0
}
type Message struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-07-09 11:16:52 +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" `
2023-07-15 16:55:46 +00:00
Subject * string ` protobuf:"bytes,14,opt,name=subject,proto3,oneof" json:"subject,omitempty" `
2023-07-09 11:16:52 +00:00
SomeInt int64 ` protobuf:"varint,16,opt,name=someInt,proto3" json:"someInt,omitempty" `
Reactions [ ] * ReactionResponse ` protobuf:"bytes,19,rep,name=reactions,proto3" json:"reactions,omitempty" `
2023-07-15 16:55:46 +00:00
ReplyMessage * ReplyMessage ` protobuf:"bytes,21,opt,name=replyMessage,proto3,oneof" json:"replyMessage,omitempty" `
2023-06-30 09:54:08 +00:00
}
func ( x * Message ) Reset ( ) {
* x = Message { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 24 ]
2023-06-30 09:54:08 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * Message ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * Message ) ProtoMessage ( ) { }
func ( x * Message ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 24 ]
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 Message.ProtoReflect.Descriptor instead.
func ( * Message ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 24 }
2023-06-30 09:54:08 +00:00
}
2023-06-30 13:26:46 +00:00
func ( x * Message ) GetMessageID ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-06-30 13:26:46 +00:00
return x . MessageID
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-09 11:16:52 +00:00
func ( x * Message ) GetMsgType ( ) * MsgType {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . MsgType
2023-06-30 09:54:08 +00:00
}
return nil
}
func ( x * Message ) GetMessageStatus ( ) * MessageStatus {
if x != nil {
return x . MessageStatus
}
return nil
}
func ( x * Message ) GetTimestamp ( ) int64 {
if x != nil {
return x . Timestamp
}
return 0
}
2023-06-30 13:26:46 +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-06-30 13:26:46 +00:00
func ( x * Message ) 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 ""
}
2023-07-09 11:16:52 +00:00
func ( x * Message ) GetMessageInfo ( ) [ ] * MessageInfo {
if x != nil {
return x . MessageInfo
}
return nil
}
func ( x * Message ) GetType ( ) int64 {
if x != nil {
return x . Type
}
return 0
}
func ( x * Message ) GetTmpID ( ) string {
if x != nil {
return x . TmpID
}
return ""
}
2023-07-15 16:55:46 +00:00
func ( x * Message ) GetSubject ( ) string {
if x != nil && x . Subject != nil {
return * x . Subject
}
return ""
}
2023-07-09 11:16:52 +00:00
func ( x * Message ) GetSomeInt ( ) int64 {
if x != nil {
return x . SomeInt
}
return 0
}
func ( x * Message ) GetReactions ( ) [ ] * ReactionResponse {
if x != nil {
return x . Reactions
}
return nil
}
2023-07-09 17:48:27 +00:00
func ( x * Message ) GetReplyMessage ( ) * ReplyMessage {
if x != nil {
return x . ReplyMessage
}
return nil
}
2023-07-09 11:16:52 +00:00
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 25 ]
2023-07-09 11:16:52 +00:00
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 25 ]
2023-07-09 11:16:52 +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 ReplyMessage.ProtoReflect.Descriptor instead.
func ( * ReplyMessage ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 25 }
2023-07-09 11:16:52 +00:00
}
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 {
2023-07-09 11:16:52 +00:00
return x . ReplyMessageData
2023-06-30 09:54:08 +00:00
}
return nil
}
2023-07-09 11:16:52 +00:00
type ReplyMessageData struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
}
func ( x * ReplyMessageData ) Reset ( ) {
* x = ReplyMessageData { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 26 ]
2023-07-09 11:16:52 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
2023-06-30 09:54:08 +00:00
}
}
2023-07-09 11:16:52 +00:00
func ( x * ReplyMessageData ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * ReplyMessageData ) ProtoMessage ( ) { }
func ( x * ReplyMessageData ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 26 ]
2023-07-09 11:16:52 +00:00
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
}
2023-07-09 11:16:52 +00:00
return mi . MessageOf ( x )
}
// Deprecated: Use ReplyMessageData.ProtoReflect.Descriptor instead.
func ( * ReplyMessageData ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 26 }
2023-06-30 09:54:08 +00:00
}
type MessageInfo struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-07-09 11:16:52 +00:00
ActionMessageID string ` protobuf:"bytes,1,opt,name=actionMessageID,proto3" json:"actionMessageID,omitempty" `
2023-06-30 09:54:08 +00:00
// Types that are assignable to Data:
//
// *MessageInfo_MessageContent
2023-07-09 11:16:52 +00:00
// *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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 27 ]
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 27 ]
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 ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 27 }
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * MessageInfo ) GetActionMessageID ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
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
}
2023-07-09 11:16:52 +00:00
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" `
}
2023-07-09 11:16:52 +00:00
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 ( ) { }
2023-07-09 11:16:52 +00:00
func ( * MessageInfo_MediaContent ) isMessageInfo_Data ( ) { }
2023-06-30 09:54:08 +00:00
2023-07-09 11:16:52 +00:00
type MediaContent struct {
2023-06-30 09:54:08 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-07-09 11:16:52 +00:00
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-09 11:16:52 +00:00
Pixels * Pixels ` protobuf:"bytes,6,opt,name=pixels,proto3" json:"pixels,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" `
DecryptionKey2 [ ] byte ` protobuf:"bytes,12,opt,name=decryptionKey2,proto3" json:"decryptionKey2,omitempty" ` // same value as decryptionkey?
}
2023-07-09 11:16:52 +00:00
func ( x * MediaContent ) Reset ( ) {
* x = MediaContent { }
2023-06-30 09:54:08 +00:00
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 28 ]
2023-06-30 09:54:08 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
2023-07-09 11:16:52 +00:00
func ( x * MediaContent ) String ( ) string {
2023-06-30 09:54:08 +00:00
return protoimpl . X . MessageStringOf ( x )
}
2023-07-09 11:16:52 +00:00
func ( * MediaContent ) ProtoMessage ( ) { }
2023-06-30 09:54:08 +00:00
2023-07-09 11:16:52 +00:00
func ( x * MediaContent ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 28 ]
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-09 11:16:52 +00:00
// Deprecated: Use MediaContent.ProtoReflect.Descriptor instead.
func ( * MediaContent ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 28 }
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * MediaContent ) GetFormat ( ) MediaFormats {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . Format
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
return MediaFormats_UNSPECIFIED_TYPE
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * MediaContent ) GetMediaID ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . MediaID
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-09 11:16:52 +00:00
func ( x * MediaContent ) GetMediaName ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . MediaName
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-09 11:16:52 +00:00
func ( x * MediaContent ) GetSize ( ) int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x . Size
}
return 0
}
2023-07-09 11:16:52 +00:00
func ( x * MediaContent ) GetPixels ( ) * Pixels {
2023-06-30 09:54:08 +00:00
if x != nil {
return x . Pixels
}
return nil
}
2023-07-09 11:16:52 +00:00
func ( x * MediaContent ) GetMediaData ( ) [ ] byte {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . MediaData
2023-06-30 09:54:08 +00:00
}
return nil
}
2023-07-09 11:16:52 +00:00
func ( x * MediaContent ) GetMediaID2 ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . MediaID2
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-09 11:16:52 +00:00
func ( x * MediaContent ) GetDecryptionKey ( ) [ ] byte {
2023-06-30 09:54:08 +00:00
if x != nil {
return x . DecryptionKey
}
return nil
}
2023-07-09 11:16:52 +00:00
func ( x * MediaContent ) GetDecryptionKey2 ( ) [ ] byte {
2023-06-30 09:54:08 +00:00
if x != nil {
return x . DecryptionKey2
}
return nil
}
2023-07-09 11:16:52 +00:00
type Pixels 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-09 11:16:52 +00:00
func ( x * Pixels ) Reset ( ) {
* x = Pixels { }
2023-06-30 09:54:08 +00:00
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 29 ]
2023-06-30 09:54:08 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
2023-07-09 11:16:52 +00:00
func ( x * Pixels ) String ( ) string {
2023-06-30 09:54:08 +00:00
return protoimpl . X . MessageStringOf ( x )
}
2023-07-09 11:16:52 +00:00
func ( * Pixels ) ProtoMessage ( ) { }
2023-06-30 09:54:08 +00:00
2023-07-09 11:16:52 +00:00
func ( x * Pixels ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 29 ]
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-09 11:16:52 +00:00
// Deprecated: Use Pixels.ProtoReflect.Descriptor instead.
func ( * Pixels ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 29 }
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * Pixels ) GetWidth ( ) int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x . Width
}
return 0
}
2023-07-09 11:16:52 +00:00
func ( x * Pixels ) 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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 30 ]
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 30 ]
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 ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 30 }
2023-06-30 09:54:08 +00:00
}
func ( x * MessageContent ) GetContent ( ) string {
if x != nil {
return x . Content
}
return ""
}
2023-07-09 11:16:52 +00:00
type MsgType struct {
2023-06-30 09:54:08 +00:00
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-07-09 11:16:52 +00:00
Type int64 ` protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty" `
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * MsgType ) Reset ( ) {
* x = MsgType { }
2023-06-30 09:54:08 +00:00
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 31 ]
2023-06-30 09:54:08 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
2023-07-09 11:16:52 +00:00
func ( x * MsgType ) String ( ) string {
2023-06-30 09:54:08 +00:00
return protoimpl . X . MessageStringOf ( x )
}
2023-07-09 11:16:52 +00:00
func ( * MsgType ) ProtoMessage ( ) { }
2023-06-30 09:54:08 +00:00
2023-07-09 11:16:52 +00:00
func ( x * MsgType ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 31 ]
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-09 11:16:52 +00:00
// Deprecated: Use MsgType.ProtoReflect.Descriptor instead.
func ( * MsgType ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 31 }
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * MsgType ) GetType ( ) int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . Type
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
return 0
2023-06-30 09:54:08 +00:00
}
type MessageStatus struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-07-09 11:16:52 +00:00
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 32 ]
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 32 ]
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 ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 32 }
2023-07-09 11:16:52 +00:00
}
func ( x * MessageStatus ) GetStatus ( ) MessageStatusType {
if x != nil {
return x . Status
}
return MessageStatusType_STATUS_UNKNOWN
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * MessageStatus ) GetSubCode ( ) int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . SubCode
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
return 0
2023-06-30 09:54:08 +00:00
}
func ( x * MessageStatus ) GetErrMsg ( ) string {
if x != nil {
return x . ErrMsg
}
return ""
}
2023-07-09 11:16:52 +00:00
func ( x * MessageStatus ) GetStatusText ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . StatusText
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-09 11:16:52 +00:00
func ( x * MessageStatus ) GetThirdCode ( ) int64 {
if x != nil {
return x . ThirdCode
}
return 0
}
2023-06-30 09:54:08 +00:00
type Conversations struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
Conversations [ ] * Conversation ` protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations,omitempty" `
2023-07-16 21:51:17 +00:00
CursorBytes [ ] byte ` protobuf:"bytes,3,opt,name=cursorBytes,proto3,oneof" json:"cursorBytes,omitempty" `
Cursor * Cursor ` protobuf:"bytes,5,opt,name=cursor,proto3,oneof" json:"cursor,omitempty" `
2023-06-30 09:54:08 +00:00
}
func ( x * Conversations ) Reset ( ) {
* x = Conversations { }
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 33 ]
2023-06-30 09:54:08 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
func ( x * Conversations ) String ( ) string {
return protoimpl . X . MessageStringOf ( x )
}
func ( * Conversations ) ProtoMessage ( ) { }
func ( x * Conversations ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 33 ]
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 Conversations.ProtoReflect.Descriptor instead.
func ( * Conversations ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 33 }
2023-06-30 09:54:08 +00:00
}
func ( x * Conversations ) GetConversations ( ) [ ] * Conversation {
if x != nil {
return x . Conversations
}
return nil
}
2023-07-16 21:51:17 +00:00
func ( x * Conversations ) GetCursorBytes ( ) [ ] byte {
if x != nil {
return x . CursorBytes
}
return nil
}
func ( x * Conversations ) GetCursor ( ) * Cursor {
if x != nil {
return x . Cursor
}
return nil
}
2023-06-30 09:54:08 +00:00
type Conversation struct {
state protoimpl . MessageState
sizeCache protoimpl . SizeCache
unknownFields protoimpl . UnknownFields
2023-07-09 17:35:29 +00:00
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" `
2023-07-14 23:17:36 +00:00
Unread bool ` protobuf:"varint,6,opt,name=unread,proto3" json:"unread,omitempty" `
2023-07-09 17:35:29 +00:00
IsGroupChat bool ` protobuf:"varint,10,opt,name=isGroupChat,proto3" json:"isGroupChat,omitempty" ` // not certain
SelfParticipantID string ` protobuf:"bytes,11,opt,name=selfParticipantID,proto3" json:"selfParticipantID,omitempty" `
2023-06-30 09:54:08 +00:00
// bool bool1 = 13;
2023-07-09 17:35:29 +00:00
Status ConvUpdateTypes ` protobuf:"varint,12,opt,name=status,proto3,enum=conversations.ConvUpdateTypes" json:"status,omitempty" `
AvatarHexColor string ` protobuf:"bytes,15,opt,name=avatarHexColor,proto3" json:"avatarHexColor,omitempty" `
LatestMessageID string ` protobuf:"bytes,17,opt,name=latestMessageID,proto3" json:"latestMessageID,omitempty" `
Participants [ ] * Participant ` protobuf:"bytes,20,rep,name=participants,proto3" json:"participants,omitempty" `
OtherParticipants [ ] string ` protobuf:"bytes,21,rep,name=otherParticipants,proto3" json:"otherParticipants,omitempty" ` // participant ids excluding me
Type ConversationType ` protobuf:"varint,22,opt,name=type,proto3,enum=conversations.ConversationType" json:"type,omitempty" `
SubType bool ` protobuf:"varint,24,opt,name=subType,proto3" json:"subType,omitempty" `
2023-07-14 23:17:36 +00:00
UnknownTimestamp int64 ` protobuf:"varint,28,opt,name=unknownTimestamp,proto3" json:"unknownTimestamp,omitempty" ` // set to lastMessageTimestamp + 1000 when marking as unread?
2023-07-09 17:35:29 +00:00
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 34 ]
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 34 ]
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 ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 34 }
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
}
2023-07-09 17:35:29 +00:00
func ( x * Conversation ) GetLastMessageTimestamp ( ) int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 17:35:29 +00:00
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
}
2023-06-30 13:26:46 +00:00
func ( x * Conversation ) GetSelfParticipantID ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-06-30 13:26:46 +00:00
return x . SelfParticipantID
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-09 11:16:52 +00:00
func ( x * Conversation ) GetStatus ( ) ConvUpdateTypes {
2023-06-30 09:54:08 +00:00
if x != nil {
return x . Status
}
2023-07-09 11:16:52 +00:00
return ConvUpdateTypes_UNKNOWN_CONVTYPE
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * Conversation ) GetAvatarHexColor ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . AvatarHexColor
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-09 11:16:52 +00:00
func ( x * Conversation ) GetLatestMessageID ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . LatestMessageID
2023-06-30 09:54:08 +00:00
}
return ""
}
func ( x * Conversation ) GetParticipants ( ) [ ] * Participant {
if x != nil {
return x . Participants
}
return nil
}
func ( x * Conversation ) GetOtherParticipants ( ) [ ] string {
if x != nil {
return x . OtherParticipants
}
return nil
}
2023-07-09 17:35:29 +00:00
func ( x * Conversation ) GetType ( ) ConversationType {
2023-06-30 09:54:08 +00:00
if x != nil {
return x . Type
}
2023-07-09 17:35:29 +00:00
return ConversationType_UNKNOWN_CONVERSATION_TYPE
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * Conversation ) GetSubType ( ) bool {
if x != nil {
return x . SubType
}
return false
}
2023-07-14 23:17:36 +00:00
func ( x * Conversation ) GetUnknownTimestamp ( ) int64 {
if x != nil {
return x . UnknownTimestamp
}
return 0
}
2023-07-09 11:16:52 +00:00
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
2023-07-09 11:16:52 +00:00
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" `
SomeInt int64 ` protobuf:"varint,8,opt,name=someInt,proto3" json:"someInt,omitempty" `
AvatarID string ` protobuf:"bytes,10,opt,name=avatarID,proto3" json:"avatarID,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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 35 ]
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 35 ]
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 ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 35 }
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * Participant ) GetID ( ) * SmallInfo {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
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 ""
}
2023-07-09 11:16:52 +00:00
func ( x * Participant ) GetAvatarHexColor ( ) string {
2023-07-01 15:19:47 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
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
}
2023-07-09 11:16:52 +00:00
func ( x * Participant ) GetSomeInt ( ) int64 {
if x != nil {
return x . SomeInt
}
return 0
}
2023-07-01 15:19:47 +00:00
func ( x * Participant ) GetAvatarID ( ) string {
if x != nil {
return x . AvatarID
}
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 ""
}
2023-07-09 11:16:52 +00:00
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
2023-07-16 21:51:17 +00:00
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
}
2023-07-09 11:16:52 +00:00
func ( x * SmallInfo ) Reset ( ) {
* x = SmallInfo { }
2023-06-30 09:54:08 +00:00
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 36 ]
2023-06-30 09:54:08 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
2023-07-09 11:16:52 +00:00
func ( x * SmallInfo ) String ( ) string {
2023-06-30 09:54:08 +00:00
return protoimpl . X . MessageStringOf ( x )
}
2023-07-09 11:16:52 +00:00
func ( * SmallInfo ) ProtoMessage ( ) { }
2023-06-30 09:54:08 +00:00
2023-07-09 11:16:52 +00:00
func ( x * SmallInfo ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 36 ]
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-09 11:16:52 +00:00
// Deprecated: Use SmallInfo.ProtoReflect.Descriptor instead.
func ( * SmallInfo ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 36 }
2023-06-30 09:54:08 +00:00
}
2023-07-16 21:51:17 +00:00
func ( x * SmallInfo ) GetType ( ) IdentifierType {
2023-06-30 09:54:08 +00:00
if x != nil {
return x . Type
}
2023-07-16 21:51:17 +00:00
return IdentifierType_UNKNOWN
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * SmallInfo ) GetNumber ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
return x . Number
}
return ""
}
2023-07-09 11:16:52 +00:00
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
2023-07-09 11:16:52 +00:00
DisplayContent string ` protobuf:"bytes,1,opt,name=displayContent,proto3" json:"displayContent,omitempty" `
FromMe int64 ` protobuf:"varint,2,opt,name=fromMe,proto3" json:"fromMe,omitempty" ` // isMe?
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 37 ]
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 37 ]
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 ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 37 }
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * LatestMessage ) GetDisplayContent ( ) string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . DisplayContent
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-09 11:16:52 +00:00
func ( x * LatestMessage ) GetFromMe ( ) int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x . FromMe
}
2023-07-09 11:16:52 +00:00
return 0
2023-06-30 09:54:08 +00:00
}
func ( x * LatestMessage ) GetDisplayName ( ) string {
if x != nil {
return x . DisplayName
}
return ""
}
2023-07-09 11:16:52 +00:00
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
2023-07-09 11:16:52 +00:00
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
}
2023-07-09 11:16:52 +00:00
func ( x * LatestMessageStatus ) Reset ( ) {
* x = LatestMessageStatus { }
2023-06-30 09:54:08 +00:00
if protoimpl . UnsafeEnabled {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 38 ]
2023-06-30 09:54:08 +00:00
ms := protoimpl . X . MessageStateOf ( protoimpl . Pointer ( x ) )
ms . StoreMessageInfo ( mi )
}
}
2023-07-09 11:16:52 +00:00
func ( x * LatestMessageStatus ) String ( ) string {
2023-06-30 09:54:08 +00:00
return protoimpl . X . MessageStringOf ( x )
}
2023-07-09 11:16:52 +00:00
func ( * LatestMessageStatus ) ProtoMessage ( ) { }
2023-06-30 09:54:08 +00:00
2023-07-09 11:16:52 +00:00
func ( x * LatestMessageStatus ) ProtoReflect ( ) protoreflect . Message {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 38 ]
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-09 11:16:52 +00:00
// Deprecated: Use LatestMessageStatus.ProtoReflect.Descriptor instead.
func ( * LatestMessageStatus ) Descriptor ( ) ( [ ] byte , [ ] int ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 38 }
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +00:00
func ( x * LatestMessageStatus ) GetStatus2 ( ) int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . Status2
2023-06-30 09:54:08 +00:00
}
return 0
}
2023-07-09 11:16:52 +00:00
func ( x * LatestMessageStatus ) GetStatus ( ) MessageStatusType {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-09 11:16:52 +00:00
return x . Status
2023-06-30 09:54:08 +00:00
}
2023-07-09 11:16:52 +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
2023-07-09 17:35:29 +00:00
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 39 ]
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 {
2023-07-16 21:51:17 +00:00
mi := & file_conversations_proto_msgTypes [ 39 ]
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 ) {
2023-07-16 21:51:17 +00:00
return file_conversations_proto_rawDescGZIP ( ) , [ ] int { 39 }
2023-06-30 09:54:08 +00:00
}
2023-07-09 17:35:29 +00:00
func ( x * Muted ) GetIsMuted ( ) int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
return x . IsMuted
}
2023-07-09 17:35:29 +00:00
return 0
2023-06-30 09:54:08 +00:00
}
var File_conversations_proto protoreflect . FileDescriptor
2023-07-16 23:06:35 +00:00
//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
}
2023-07-16 21:51:17 +00:00
var file_conversations_proto_enumTypes = make ( [ ] protoimpl . EnumInfo , 9 )
var file_conversations_proto_msgTypes = make ( [ ] protoimpl . MessageInfo , 40 )
2023-06-30 09:54:08 +00:00
var file_conversations_proto_goTypes = [ ] interface { } {
2023-07-16 21:51:17 +00:00
( IdentifierType ) ( 0 ) , // 0: conversations.IdentifierType
( ConversationType ) ( 0 ) , // 1: conversations.ConversationType
( MessageStatusType ) ( 0 ) , // 2: conversations.MessageStatusType
( ConversationStatus ) ( 0 ) , // 3: conversations.ConversationStatus
( ConversationActionStatus ) ( 0 ) , // 4: conversations.ConversationActionStatus
( ConversationMuteStatus ) ( 0 ) , // 5: conversations.ConversationMuteStatus
( ConvUpdateTypes ) ( 0 ) , // 6: conversations.ConvUpdateTypes
( MediaFormats ) ( 0 ) , // 7: conversations.MediaFormats
( ListConversationsPayload_Folder ) ( 0 ) , // 8: conversations.ListConversationsPayload.Folder
( * GetParticipantThumbnailPayload ) ( nil ) , // 9: conversations.GetParticipantThumbnailPayload
( * ListContactsPayload ) ( nil ) , // 10: conversations.ListContactsPayload
( * ListTopContactsPayload ) ( nil ) , // 11: conversations.ListTopContactsPayload
( * GetContactsThumbnailPayload ) ( nil ) , // 12: conversations.GetContactsThumbnailPayload
( * Contact ) ( nil ) , // 13: conversations.Contact
( * ContactNumber ) ( nil ) , // 14: conversations.ContactNumber
( * GetOrCreateConversationPayload ) ( nil ) , // 15: conversations.GetOrCreateConversationPayload
( * ResendMessagePayload ) ( nil ) , // 16: conversations.ResendMessagePayload
( * ConversationTypePayload ) ( nil ) , // 17: conversations.ConversationTypePayload
( * TypingUpdatePayload ) ( nil ) , // 18: conversations.TypingUpdatePayload
( * SetTypingIn ) ( nil ) , // 19: conversations.SetTypingIn
( * UpdateConversationPayload ) ( nil ) , // 20: conversations.UpdateConversationPayload
( * ConversationAction5 ) ( nil ) , // 21: conversations.ConversationAction5
( * UpdateConversationData ) ( nil ) , // 22: conversations.UpdateConversationData
( * DeleteMessagePayload ) ( nil ) , // 23: conversations.DeleteMessagePayload
( * SendMessagePayload ) ( nil ) , // 24: conversations.SendMessagePayload
( * ReplyPayload ) ( nil ) , // 25: conversations.ReplyPayload
( * MessagePayload ) ( nil ) , // 26: conversations.MessagePayload
( * MessagePayloadContent ) ( nil ) , // 27: conversations.MessagePayloadContent
( * OpenConversationPayload ) ( nil ) , // 28: conversations.OpenConversationPayload
( * PrepareOpenConversationPayload ) ( nil ) , // 29: conversations.PrepareOpenConversationPayload
( * FetchConversationMessagesPayload ) ( nil ) , // 30: conversations.FetchConversationMessagesPayload
( * ListConversationsPayload ) ( nil ) , // 31: conversations.ListConversationsPayload
( * Cursor ) ( nil ) , // 32: conversations.Cursor
( * Message ) ( nil ) , // 33: conversations.Message
( * ReplyMessage ) ( nil ) , // 34: conversations.ReplyMessage
( * ReplyMessageData ) ( nil ) , // 35: conversations.ReplyMessageData
( * MessageInfo ) ( nil ) , // 36: conversations.MessageInfo
( * MediaContent ) ( nil ) , // 37: conversations.MediaContent
( * Pixels ) ( nil ) , // 38: conversations.Pixels
( * MessageContent ) ( nil ) , // 39: conversations.MessageContent
( * MsgType ) ( nil ) , // 40: conversations.MsgType
( * MessageStatus ) ( nil ) , // 41: conversations.MessageStatus
( * Conversations ) ( nil ) , // 42: conversations.Conversations
( * Conversation ) ( nil ) , // 43: conversations.Conversation
( * Participant ) ( nil ) , // 44: conversations.Participant
( * SmallInfo ) ( nil ) , // 45: conversations.SmallInfo
( * LatestMessage ) ( nil ) , // 46: conversations.LatestMessage
( * LatestMessageStatus ) ( nil ) , // 47: conversations.LatestMessageStatus
( * Muted ) ( nil ) , // 48: conversations.Muted
( * ReactionResponse ) ( nil ) , // 49: reactions.ReactionResponse
2023-06-30 09:54:08 +00:00
}
var file_conversations_proto_depIdxs = [ ] int32 {
2023-07-16 21:51:17 +00:00
14 , // 0: conversations.Contact.number:type_name -> conversations.ContactNumber
14 , // 1: conversations.GetOrCreateConversationPayload.numbers:type_name -> conversations.ContactNumber
19 , // 2: conversations.TypingUpdatePayload.data:type_name -> conversations.SetTypingIn
22 , // 3: conversations.UpdateConversationPayload.data:type_name -> conversations.UpdateConversationData
4 , // 4: conversations.UpdateConversationPayload.action:type_name -> conversations.ConversationActionStatus
21 , // 5: conversations.UpdateConversationPayload.action5:type_name -> conversations.ConversationAction5
3 , // 6: conversations.UpdateConversationData.status:type_name -> conversations.ConversationStatus
5 , // 7: conversations.UpdateConversationData.mute:type_name -> conversations.ConversationMuteStatus
26 , // 8: conversations.SendMessagePayload.messagePayload:type_name -> conversations.MessagePayload
25 , // 9: conversations.SendMessagePayload.reply:type_name -> conversations.ReplyPayload
27 , // 10: conversations.MessagePayload.messagePayloadContent:type_name -> conversations.MessagePayloadContent
36 , // 11: conversations.MessagePayload.messageInfo:type_name -> conversations.MessageInfo
39 , // 12: conversations.MessagePayloadContent.messageContent:type_name -> conversations.MessageContent
32 , // 13: conversations.FetchConversationMessagesPayload.cursor:type_name -> conversations.Cursor
8 , // 14: conversations.ListConversationsPayload.folder:type_name -> conversations.ListConversationsPayload.Folder
32 , // 15: conversations.ListConversationsPayload.cursor:type_name -> conversations.Cursor
40 , // 16: conversations.Message.msgType:type_name -> conversations.MsgType
41 , // 17: conversations.Message.messageStatus:type_name -> conversations.MessageStatus
36 , // 18: conversations.Message.messageInfo:type_name -> conversations.MessageInfo
49 , // 19: conversations.Message.reactions:type_name -> reactions.ReactionResponse
34 , // 20: conversations.Message.replyMessage:type_name -> conversations.ReplyMessage
35 , // 21: conversations.ReplyMessage.replyMessageData:type_name -> conversations.ReplyMessageData
39 , // 22: conversations.MessageInfo.messageContent:type_name -> conversations.MessageContent
37 , // 23: conversations.MessageInfo.mediaContent:type_name -> conversations.MediaContent
7 , // 24: conversations.MediaContent.format:type_name -> conversations.MediaFormats
38 , // 25: conversations.MediaContent.pixels:type_name -> conversations.Pixels
2 , // 26: conversations.MessageStatus.status:type_name -> conversations.MessageStatusType
43 , // 27: conversations.Conversations.conversations:type_name -> conversations.Conversation
32 , // 28: conversations.Conversations.cursor:type_name -> conversations.Cursor
46 , // 29: conversations.Conversation.latestMessage:type_name -> conversations.LatestMessage
6 , // 30: conversations.Conversation.status:type_name -> conversations.ConvUpdateTypes
44 , // 31: conversations.Conversation.participants:type_name -> conversations.Participant
1 , // 32: conversations.Conversation.type:type_name -> conversations.ConversationType
45 , // 33: conversations.Participant.ID:type_name -> conversations.SmallInfo
48 , // 34: conversations.Participant.muted:type_name -> conversations.Muted
0 , // 35: conversations.SmallInfo.type:type_name -> conversations.IdentifierType
47 , // 36: conversations.LatestMessage.latestMessageStatus:type_name -> conversations.LatestMessageStatus
2 , // 37: conversations.LatestMessageStatus.status:type_name -> conversations.MessageStatusType
38 , // [38:38] is the sub-list for method output_type
38 , // [38:38] is the sub-list for method input_type
38 , // [38:38] is the sub-list for extension type_name
38 , // [38:38] is the sub-list for extension extendee
0 , // [0:38] 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
}
2023-07-09 11:16:52 +00:00
file_reactions_proto_init ( )
2023-06-30 09:54:08 +00:00
if ! protoimpl . UnsafeEnabled {
file_conversations_proto_msgTypes [ 0 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-09 17:35:29 +00:00
switch v := v . ( * GetParticipantThumbnailPayload ) ; 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-16 21:51:17 +00:00
switch v := v . ( * ListContactsPayload ) ; 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-16 21:51:17 +00:00
switch v := v . ( * ListTopContactsPayload ) ; 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-16 21:51:17 +00:00
switch v := v . ( * GetContactsThumbnailPayload ) ; 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 { } {
2023-07-16 21:51:17 +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 [ 5 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +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 [ 6 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * GetOrCreateConversationPayload ) ; 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 { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * ResendMessagePayload ) ; 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 { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * ConversationTypePayload ) ; 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 { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * TypingUpdatePayload ) ; 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 { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * SetTypingIn ) ; 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 { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * UpdateConversationPayload ) ; 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 { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * ConversationAction5 ) ; 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 [ 13 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * UpdateConversationData ) ; 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 [ 14 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * DeleteMessagePayload ) ; 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 [ 15 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * SendMessagePayload ) ; 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 [ 16 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * ReplyPayload ) ; 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 [ 17 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * MessagePayload ) ; 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 [ 18 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * MessagePayloadContent ) ; 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 [ 19 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * OpenConversationPayload ) ; 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 [ 20 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * PrepareOpenConversationPayload ) ; 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 [ 21 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * FetchConversationMessagesPayload ) ; 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 [ 22 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * ListConversationsPayload ) ; i {
2023-07-09 11:16:52 +00:00
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 { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * Cursor ) ; i {
2023-07-09 11:16:52 +00:00
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 { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * Message ) ; i {
2023-07-09 11:16:52 +00:00
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 { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * ReplyMessage ) ; i {
2023-07-09 11:16:52 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 26 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * ReplyMessageData ) ; i {
2023-07-09 11:16:52 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 27 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * MessageInfo ) ; i {
2023-07-09 11:16:52 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 28 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * MediaContent ) ; i {
2023-07-09 11:16:52 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 29 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * Pixels ) ; i {
2023-07-09 11:16:52 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 30 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * MessageContent ) ; i {
2023-07-09 17:35:29 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 31 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * MsgType ) ; i {
2023-07-15 16:48:11 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 32 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * MessageStatus ) ; i {
2023-07-15 16:48:11 +00:00
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 33 ] . Exporter = func ( v interface { } , i int ) interface { } {
2023-07-16 21:51:17 +00:00
switch v := v . ( * Conversations ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 34 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * Conversation ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 35 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * Participant ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 36 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * SmallInfo ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 37 ] . Exporter = func ( v interface { } , i int ) interface { } {
switch v := v . ( * LatestMessage ) ; i {
case 0 :
return & v . state
case 1 :
return & v . sizeCache
case 2 :
return & v . unknownFields
default :
return nil
}
}
file_conversations_proto_msgTypes [ 38 ] . 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 [ 39 ] . 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
}
}
}
2023-07-16 21:51:17 +00:00
file_conversations_proto_msgTypes [ 5 ] . OneofWrappers = [ ] interface { } { }
2023-07-16 22:52:13 +00:00
file_conversations_proto_msgTypes [ 6 ] . OneofWrappers = [ ] interface { } { }
2023-07-16 21:51:17 +00:00
file_conversations_proto_msgTypes [ 13 ] . OneofWrappers = [ ] interface { } {
2023-07-09 11:16:52 +00:00
( * UpdateConversationData_Status ) ( nil ) ,
( * UpdateConversationData_Mute ) ( nil ) ,
}
2023-07-16 21:51:17 +00:00
file_conversations_proto_msgTypes [ 22 ] . OneofWrappers = [ ] interface { } { }
file_conversations_proto_msgTypes [ 24 ] . OneofWrappers = [ ] interface { } { }
file_conversations_proto_msgTypes [ 27 ] . OneofWrappers = [ ] interface { } {
2023-06-30 09:54:08 +00:00
( * MessageInfo_MessageContent ) ( nil ) ,
2023-07-09 11:16:52 +00:00
( * MessageInfo_MediaContent ) ( nil ) ,
2023-06-30 09:54:08 +00:00
}
2023-07-16 21:51:17 +00:00
file_conversations_proto_msgTypes [ 33 ] . 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 ,
2023-07-16 21:51:17 +00:00
NumEnums : 9 ,
NumMessages : 40 ,
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
}