gmessages/libgm/gmproto/client.pb.go

4010 lines
111 KiB
Go
Raw Normal View History

2023-06-30 09:54:08 +00:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
2023-09-16 14:39:51 +00:00
// protoc-gen-go v1.31.0
2023-06-30 09:54:08 +00:00
// protoc v3.21.12
// source: client.proto
2023-07-17 13:51:31 +00:00
package gmproto
2023-06-30 09:54:08 +00:00
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
import _ "embed"
2023-06-30 09:54:08 +00:00
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
2023-07-17 23:57:20 +00:00
type ConversationActionStatus int32
const (
2023-07-17 23:57:20 +00:00
ConversationActionStatus_UNKNOWN_ACTION_STATUS ConversationActionStatus = 0
ConversationActionStatus_UNBLOCK ConversationActionStatus = 2
ConversationActionStatus_BLOCK ConversationActionStatus = 7
ConversationActionStatus_BLOCK_AND_REPORT ConversationActionStatus = 8
)
2023-07-17 23:57:20 +00:00
// Enum value maps for ConversationActionStatus.
var (
2023-07-17 23:57:20 +00:00
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,
}
)
2023-07-17 23:57:20 +00:00
func (x ConversationActionStatus) Enum() *ConversationActionStatus {
p := new(ConversationActionStatus)
*p = x
return p
}
2023-07-17 23:57:20 +00:00
func (x ConversationActionStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
2023-07-17 23:57:20 +00:00
func (ConversationActionStatus) Descriptor() protoreflect.EnumDescriptor {
2023-07-24 13:46:54 +00:00
return file_client_proto_enumTypes[0].Descriptor()
}
2023-07-17 23:57:20 +00:00
func (ConversationActionStatus) Type() protoreflect.EnumType {
2023-07-24 13:46:54 +00:00
return &file_client_proto_enumTypes[0]
}
2023-07-17 23:57:20 +00:00
func (x ConversationActionStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use ConversationActionStatus.Descriptor instead.
func (ConversationActionStatus) EnumDescriptor() ([]byte, []int) {
2023-07-24 13:46:54 +00:00
return file_client_proto_rawDescGZIP(), []int{0}
}
2023-07-17 23:57:20 +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-24 13:46:54 +00:00
return file_client_proto_enumTypes[1].Descriptor()
2023-07-17 23:57:20 +00:00
}
func (ConversationMuteStatus) Type() protoreflect.EnumType {
2023-07-24 13:46:54 +00:00
return &file_client_proto_enumTypes[1]
2023-07-17 23:57:20 +00:00
}
func (x ConversationMuteStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ConversationMuteStatus.Descriptor instead.
func (ConversationMuteStatus) EnumDescriptor() ([]byte, []int) {
2023-07-24 13:46:54 +00:00
return file_client_proto_rawDescGZIP(), []int{1}
2023-07-17 23:57:20 +00:00
}
type ListConversationsRequest_Folder int32
const (
ListConversationsRequest_UNKNOWN ListConversationsRequest_Folder = 0
ListConversationsRequest_INBOX ListConversationsRequest_Folder = 1
ListConversationsRequest_ARCHIVE ListConversationsRequest_Folder = 2
ListConversationsRequest_SPAM_BLOCKED ListConversationsRequest_Folder = 5
)
// Enum value maps for ListConversationsRequest_Folder.
var (
ListConversationsRequest_Folder_name = map[int32]string{
0: "UNKNOWN",
1: "INBOX",
2: "ARCHIVE",
5: "SPAM_BLOCKED",
}
ListConversationsRequest_Folder_value = map[string]int32{
"UNKNOWN": 0,
"INBOX": 1,
"ARCHIVE": 2,
"SPAM_BLOCKED": 5,
}
)
func (x ListConversationsRequest_Folder) Enum() *ListConversationsRequest_Folder {
p := new(ListConversationsRequest_Folder)
*p = x
return p
}
func (x ListConversationsRequest_Folder) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ListConversationsRequest_Folder) Descriptor() protoreflect.EnumDescriptor {
2023-07-24 13:46:54 +00:00
return file_client_proto_enumTypes[2].Descriptor()
2023-07-17 23:57:20 +00:00
}
func (ListConversationsRequest_Folder) Type() protoreflect.EnumType {
2023-07-24 13:46:54 +00:00
return &file_client_proto_enumTypes[2]
2023-07-17 23:57:20 +00:00
}
func (x ListConversationsRequest_Folder) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ListConversationsRequest_Folder.Descriptor instead.
func (ListConversationsRequest_Folder) EnumDescriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{20, 0}
2023-07-17 23:57:20 +00:00
}
type GetOrCreateConversationResponse_Status int32
const (
GetOrCreateConversationResponse_UNKNOWN GetOrCreateConversationResponse_Status = 0
GetOrCreateConversationResponse_SUCCESS GetOrCreateConversationResponse_Status = 1
GetOrCreateConversationResponse_CREATE_RCS GetOrCreateConversationResponse_Status = 3
)
// Enum value maps for GetOrCreateConversationResponse_Status.
var (
GetOrCreateConversationResponse_Status_name = map[int32]string{
0: "UNKNOWN",
1: "SUCCESS",
3: "CREATE_RCS",
}
GetOrCreateConversationResponse_Status_value = map[string]int32{
"UNKNOWN": 0,
"SUCCESS": 1,
"CREATE_RCS": 3,
}
)
func (x GetOrCreateConversationResponse_Status) Enum() *GetOrCreateConversationResponse_Status {
p := new(GetOrCreateConversationResponse_Status)
*p = x
return p
}
func (x GetOrCreateConversationResponse_Status) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (GetOrCreateConversationResponse_Status) Descriptor() protoreflect.EnumDescriptor {
2023-07-24 13:46:54 +00:00
return file_client_proto_enumTypes[3].Descriptor()
2023-07-17 23:57:20 +00:00
}
func (GetOrCreateConversationResponse_Status) Type() protoreflect.EnumType {
2023-07-24 13:46:54 +00:00
return &file_client_proto_enumTypes[3]
2023-07-17 23:57:20 +00:00
}
func (x GetOrCreateConversationResponse_Status) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use GetOrCreateConversationResponse_Status.Descriptor instead.
func (GetOrCreateConversationResponse_Status) EnumDescriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{23, 0}
2023-07-17 23:57:20 +00:00
}
2023-09-01 10:42:52 +00:00
type SendMessageResponse_Status int32
const (
SendMessageResponse_UNKNOWN SendMessageResponse_Status = 0
SendMessageResponse_SUCCESS SendMessageResponse_Status = 1
SendMessageResponse_FAILURE_2 SendMessageResponse_Status = 2
SendMessageResponse_FAILURE_3 SendMessageResponse_Status = 3
2023-09-04 11:24:45 +00:00
SendMessageResponse_FAILURE_4 SendMessageResponse_Status = 4 // not default sms app?
2023-09-01 10:42:52 +00:00
)
// Enum value maps for SendMessageResponse_Status.
var (
SendMessageResponse_Status_name = map[int32]string{
0: "UNKNOWN",
1: "SUCCESS",
2: "FAILURE_2",
3: "FAILURE_3",
4: "FAILURE_4",
}
SendMessageResponse_Status_value = map[string]int32{
"UNKNOWN": 0,
"SUCCESS": 1,
"FAILURE_2": 2,
"FAILURE_3": 3,
"FAILURE_4": 4,
}
)
func (x SendMessageResponse_Status) Enum() *SendMessageResponse_Status {
p := new(SendMessageResponse_Status)
*p = x
return p
}
func (x SendMessageResponse_Status) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SendMessageResponse_Status) Descriptor() protoreflect.EnumDescriptor {
return file_client_proto_enumTypes[4].Descriptor()
}
func (SendMessageResponse_Status) Type() protoreflect.EnumType {
return &file_client_proto_enumTypes[4]
}
func (x SendMessageResponse_Status) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use SendMessageResponse_Status.Descriptor instead.
func (SendMessageResponse_Status) EnumDescriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{41, 0}
2023-09-01 10:42:52 +00:00
}
2023-07-17 23:57:20 +00:00
type SendReactionRequest_Action int32
const (
SendReactionRequest_UNSPECIFIED SendReactionRequest_Action = 0
SendReactionRequest_ADD SendReactionRequest_Action = 1
SendReactionRequest_REMOVE SendReactionRequest_Action = 2
SendReactionRequest_SWITCH SendReactionRequest_Action = 3
)
// Enum value maps for SendReactionRequest_Action.
var (
SendReactionRequest_Action_name = map[int32]string{
0: "UNSPECIFIED",
1: "ADD",
2: "REMOVE",
3: "SWITCH",
}
SendReactionRequest_Action_value = map[string]int32{
"UNSPECIFIED": 0,
"ADD": 1,
"REMOVE": 2,
"SWITCH": 3,
}
)
func (x SendReactionRequest_Action) Enum() *SendReactionRequest_Action {
p := new(SendReactionRequest_Action)
*p = x
return p
}
func (x SendReactionRequest_Action) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (SendReactionRequest_Action) Descriptor() protoreflect.EnumDescriptor {
2023-09-01 10:42:52 +00:00
return file_client_proto_enumTypes[5].Descriptor()
2023-07-17 23:57:20 +00:00
}
func (SendReactionRequest_Action) Type() protoreflect.EnumType {
2023-09-01 10:42:52 +00:00
return &file_client_proto_enumTypes[5]
2023-07-17 23:57:20 +00:00
}
func (x SendReactionRequest_Action) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use SendReactionRequest_Action.Descriptor instead.
func (SendReactionRequest_Action) EnumDescriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{42, 0}
2023-07-17 23:57:20 +00:00
}
type NotifyDittoActivityRequest struct {
2023-06-30 09:54:08 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-15 22:56:11 +00:00
// This is not actually a boolean: after logging out, field 2 has value 2, and field 3 has value 1.
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *NotifyDittoActivityRequest) Reset() {
*x = NotifyDittoActivityRequest{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *NotifyDittoActivityRequest) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*NotifyDittoActivityRequest) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *NotifyDittoActivityRequest) ProtoReflect() protoreflect.Message {
2023-06-30 09:54:08 +00:00
mi := &file_client_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use NotifyDittoActivityRequest.ProtoReflect.Descriptor instead.
func (*NotifyDittoActivityRequest) Descriptor() ([]byte, []int) {
2023-06-30 09:54:08 +00:00
return file_client_proto_rawDescGZIP(), []int{0}
}
2023-07-17 23:57:20 +00:00
func (x *NotifyDittoActivityRequest) GetSuccess() bool {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.Success
2023-06-30 09:54:08 +00:00
}
return false
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
type NotifyDittoActivityResponse struct {
2023-07-15 11:38:24 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
2023-07-17 23:57:20 +00:00
func (x *NotifyDittoActivityResponse) Reset() {
*x = NotifyDittoActivityResponse{}
2023-07-15 11:38:24 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *NotifyDittoActivityResponse) String() string {
2023-07-15 11:38:24 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*NotifyDittoActivityResponse) ProtoMessage() {}
2023-07-15 11:38:24 +00:00
2023-07-17 23:57:20 +00:00
func (x *NotifyDittoActivityResponse) ProtoReflect() protoreflect.Message {
2023-07-15 11:38:24 +00:00
mi := &file_client_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use NotifyDittoActivityResponse.ProtoReflect.Descriptor instead.
func (*NotifyDittoActivityResponse) Descriptor() ([]byte, []int) {
2023-07-15 11:38:24 +00:00
return file_client_proto_rawDescGZIP(), []int{1}
}
2023-07-17 23:57:20 +00:00
type ReceiveMessagesRequest struct {
2023-06-30 09:54:08 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-17 23:57:20 +00:00
Auth *AuthMessage `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"`
Unknown *ReceiveMessagesRequest_UnknownEmptyObject2 `protobuf:"bytes,4,opt,name=unknown,proto3,oneof" json:"unknown,omitempty"`
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *ReceiveMessagesRequest) Reset() {
*x = ReceiveMessagesRequest{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[2]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *ReceiveMessagesRequest) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*ReceiveMessagesRequest) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *ReceiveMessagesRequest) ProtoReflect() protoreflect.Message {
mi := &file_client_proto_msgTypes[2]
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use ReceiveMessagesRequest.ProtoReflect.Descriptor instead.
func (*ReceiveMessagesRequest) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{2}
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *ReceiveMessagesRequest) GetAuth() *AuthMessage {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.Auth
2023-06-30 09:54:08 +00:00
}
return nil
}
2023-07-17 23:57:20 +00:00
func (x *ReceiveMessagesRequest) GetUnknown() *ReceiveMessagesRequest_UnknownEmptyObject2 {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.Unknown
2023-06-30 09:54:08 +00:00
}
return nil
}
2023-07-17 23:57:20 +00:00
type MessageReadRequest struct {
2023-06-30 09:54:08 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-17 23:57:20 +00:00
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
MessageID string `protobuf:"bytes,3,opt,name=messageID,proto3" json:"messageID,omitempty"`
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *MessageReadRequest) Reset() {
*x = MessageReadRequest{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[3]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *MessageReadRequest) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*MessageReadRequest) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *MessageReadRequest) ProtoReflect() protoreflect.Message {
mi := &file_client_proto_msgTypes[3]
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use MessageReadRequest.ProtoReflect.Descriptor instead.
func (*MessageReadRequest) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{3}
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *MessageReadRequest) GetConversationID() string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.ConversationID
2023-06-30 09:54:08 +00:00
}
return ""
}
2023-07-17 23:57:20 +00:00
func (x *MessageReadRequest) GetMessageID() string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.MessageID
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
return ""
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
type AckMessageRequest struct {
2023-06-30 09:54:08 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-17 23:57:20 +00:00
AuthData *AuthMessage `protobuf:"bytes,1,opt,name=authData,proto3" json:"authData,omitempty"`
EmptyArr *EmptyArr `protobuf:"bytes,2,opt,name=emptyArr,proto3" json:"emptyArr,omitempty"`
Acks []*AckMessageRequest_Message `protobuf:"bytes,4,rep,name=acks,proto3" json:"acks,omitempty"`
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *AckMessageRequest) Reset() {
*x = AckMessageRequest{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[4]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *AckMessageRequest) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*AckMessageRequest) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *AckMessageRequest) ProtoReflect() protoreflect.Message {
mi := &file_client_proto_msgTypes[4]
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use AckMessageRequest.ProtoReflect.Descriptor instead.
func (*AckMessageRequest) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{4}
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *AckMessageRequest) GetAuthData() *AuthMessage {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.AuthData
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
return nil
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *AckMessageRequest) GetEmptyArr() *EmptyArr {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.EmptyArr
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
return nil
}
func (x *AckMessageRequest) GetAcks() []*AckMessageRequest_Message {
if x != nil {
return x.Acks
}
return nil
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
type DownloadAttachmentRequest struct {
2023-06-30 09:54:08 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-17 23:57:20 +00:00
Info *AttachmentInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
AuthData *AuthMessage `protobuf:"bytes,2,opt,name=authData,proto3" json:"authData,omitempty"`
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *DownloadAttachmentRequest) Reset() {
*x = DownloadAttachmentRequest{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[5]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *DownloadAttachmentRequest) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*DownloadAttachmentRequest) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *DownloadAttachmentRequest) ProtoReflect() protoreflect.Message {
mi := &file_client_proto_msgTypes[5]
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use DownloadAttachmentRequest.ProtoReflect.Descriptor instead.
func (*DownloadAttachmentRequest) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{5}
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *DownloadAttachmentRequest) GetInfo() *AttachmentInfo {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.Info
2023-06-30 09:54:08 +00:00
}
return nil
}
2023-07-17 23:57:20 +00:00
func (x *DownloadAttachmentRequest) GetAuthData() *AuthMessage {
2023-06-30 09:54:08 +00:00
if x != nil {
return x.AuthData
}
return nil
}
2023-07-17 23:57:20 +00:00
type AttachmentInfo struct {
2023-06-30 09:54:08 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-17 23:57:20 +00:00
AttachmentID string `protobuf:"bytes,1,opt,name=attachmentID,proto3" json:"attachmentID,omitempty"`
Encrypted bool `protobuf:"varint,2,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *AttachmentInfo) Reset() {
*x = AttachmentInfo{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[6]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *AttachmentInfo) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*AttachmentInfo) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *AttachmentInfo) ProtoReflect() protoreflect.Message {
mi := &file_client_proto_msgTypes[6]
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use AttachmentInfo.ProtoReflect.Descriptor instead.
func (*AttachmentInfo) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{6}
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *AttachmentInfo) GetAttachmentID() string {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.AttachmentID
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
return ""
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *AttachmentInfo) GetEncrypted() bool {
if x != nil {
return x.Encrypted
}
return false
}
type StartMediaUploadRequest struct {
2023-06-30 09:54:08 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-07-17 23:57:20 +00:00
AttachmentType int64 `protobuf:"varint,1,opt,name=attachmentType,proto3" json:"attachmentType,omitempty"`
AuthData *AuthMessage `protobuf:"bytes,2,opt,name=authData,proto3" json:"authData,omitempty"`
Mobile *Device `protobuf:"bytes,3,opt,name=mobile,proto3" json:"mobile,omitempty"`
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *StartMediaUploadRequest) Reset() {
*x = StartMediaUploadRequest{}
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[7]
2023-06-30 09:54:08 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *StartMediaUploadRequest) String() string {
2023-06-30 09:54:08 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*StartMediaUploadRequest) ProtoMessage() {}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *StartMediaUploadRequest) ProtoReflect() protoreflect.Message {
mi := &file_client_proto_msgTypes[7]
2023-06-30 09:54:08 +00:00
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-07-17 23:57:20 +00:00
// Deprecated: Use StartMediaUploadRequest.ProtoReflect.Descriptor instead.
func (*StartMediaUploadRequest) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{7}
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *StartMediaUploadRequest) GetAttachmentType() int64 {
2023-06-30 09:54:08 +00:00
if x != nil {
2023-07-17 23:57:20 +00:00
return x.AttachmentType
2023-06-30 09:54:08 +00:00
}
return 0
}
2023-07-17 23:57:20 +00:00
func (x *StartMediaUploadRequest) GetAuthData() *AuthMessage {
if x != nil {
return x.AuthData
}
return nil
}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
func (x *StartMediaUploadRequest) GetMobile() *Device {
if x != nil {
return x.Mobile
}
return nil
}
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
type UploadMediaResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-06-30 09:54:08 +00:00
2023-07-17 23:57:20 +00:00
Media *UploadedMedia `protobuf:"bytes,1,opt,name=media,proto3" json:"media,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *UploadMediaResponse) Reset() {
*x = UploadMediaResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (x *UploadMediaResponse) String() string {
return protoimpl.X.MessageStringOf(x)
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
func (*UploadMediaResponse) ProtoMessage() {}
func (x *UploadMediaResponse) ProtoReflect() protoreflect.Message {
mi := &file_client_proto_msgTypes[8]
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-17 23:57:20 +00:00
return mi.MessageOf(x)
}
// Deprecated: Use UploadMediaResponse.ProtoReflect.Descriptor instead.
func (*UploadMediaResponse) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{8}
}
func (x *UploadMediaResponse) GetMedia() *UploadedMedia {
if x != nil {
return x.Media
}
return nil
}
func (x *UploadMediaResponse) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
type UploadedMedia struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MediaID string `protobuf:"bytes,1,opt,name=mediaID,proto3" json:"mediaID,omitempty"`
MediaNumber int64 `protobuf:"varint,2,opt,name=mediaNumber,proto3" json:"mediaNumber,omitempty"`
}
func (x *UploadedMedia) Reset() {
*x = UploadedMedia{}
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UploadedMedia) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UploadedMedia) ProtoMessage() {}
func (x *UploadedMedia) ProtoReflect() protoreflect.Message {
mi := &file_client_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
2023-06-30 09:54:08 +00:00
}
2023-07-17 23:57:20 +00:00
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UploadedMedia.ProtoReflect.Descriptor instead.
func (*UploadedMedia) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{9}
}
func (x *UploadedMedia) GetMediaID() string {
if x != nil {
return x.MediaID
}
return ""
}
func (x *UploadedMedia) GetMediaNumber() int64 {
if x != nil {
return x.MediaNumber
}
return 0
}
2023-09-04 22:18:01 +00:00
type GetThumbnailRequest struct {
2023-07-17 23:57:20 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-09-04 22:18:01 +00:00
Identifiers []string `protobuf:"bytes,1,rep,name=identifiers,proto3" json:"identifiers,omitempty"`
2023-07-17 23:57:20 +00:00
}
2023-09-04 22:18:01 +00:00
func (x *GetThumbnailRequest) Reset() {
*x = GetThumbnailRequest{}
2023-07-17 23:57:20 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-09-04 22:18:01 +00:00
func (x *GetThumbnailRequest) String() string {
2023-07-17 23:57:20 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-09-04 22:18:01 +00:00
func (*GetThumbnailRequest) ProtoMessage() {}
2023-07-17 23:57:20 +00:00
2023-09-04 22:18:01 +00:00
func (x *GetThumbnailRequest) ProtoReflect() protoreflect.Message {
2023-07-17 23:57:20 +00:00
mi := &file_client_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-09-04 22:18:01 +00:00
// Deprecated: Use GetThumbnailRequest.ProtoReflect.Descriptor instead.
func (*GetThumbnailRequest) Descriptor() ([]byte, []int) {
2023-07-17 23:57:20 +00:00
return file_client_proto_rawDescGZIP(), []int{10}
}
2023-09-04 22:18:01 +00:00
func (x *GetThumbnailRequest) GetIdentifiers() []string {
2023-07-17 23:57:20 +00:00
if x != nil {
2023-09-04 22:18:01 +00:00
return x.Identifiers
2023-07-17 23:57:20 +00:00
}
2023-09-04 22:18:01 +00:00
return nil
2023-07-17 23:57:20 +00:00
}
2023-09-04 22:18:01 +00:00
type GetThumbnailResponse struct {
2023-07-17 23:57:20 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-09-04 22:18:01 +00:00
Thumbnail []*GetThumbnailResponse_Thumbnail `protobuf:"bytes,1,rep,name=thumbnail,proto3" json:"thumbnail,omitempty"`
2023-07-17 23:57:20 +00:00
}
2023-09-04 22:18:01 +00:00
func (x *GetThumbnailResponse) Reset() {
*x = GetThumbnailResponse{}
2023-07-17 23:57:20 +00:00
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-09-04 22:18:01 +00:00
func (x *GetThumbnailResponse) String() string {
2023-07-17 23:57:20 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-09-04 22:18:01 +00:00
func (*GetThumbnailResponse) ProtoMessage() {}
2023-07-17 23:57:20 +00:00
2023-09-04 22:18:01 +00:00
func (x *GetThumbnailResponse) ProtoReflect() protoreflect.Message {
2023-07-17 23:57:20 +00:00
mi := &file_client_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
2023-09-04 22:18:01 +00:00
// Deprecated: Use GetThumbnailResponse.ProtoReflect.Descriptor instead.
func (*GetThumbnailResponse) Descriptor() ([]byte, []int) {
2023-07-17 23:57:20 +00:00
return file_client_proto_rawDescGZIP(), []int{11}
}
2023-09-04 22:18:01 +00:00
func (x *GetThumbnailResponse) GetThumbnail() []*GetThumbnailResponse_Thumbnail {
2023-07-17 23:57:20 +00:00
if x != nil {
return x.Thumbnail
}
return nil
}
type ThumbnailData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-09-04 22:18:01 +00:00
// 2 -> 13: 16 mysterious bytes
ImageBuffer []byte `protobuf:"bytes,3,opt,name=imageBuffer,proto3" json:"imageBuffer,omitempty"`
SomeInt int32 `protobuf:"varint,4,opt,name=someInt,proto3" json:"someInt,omitempty"`
Dimensions *Dimensions `protobuf:"bytes,5,opt,name=dimensions,proto3" json:"dimensions,omitempty"`
MysteriousData *ThumbnailData_MysteriousData `protobuf:"bytes,2,opt,name=mysteriousData,proto3" json:"mysteriousData,omitempty"`
2023-07-17 23:57:20 +00:00
}
func (x *ThumbnailData) Reset() {
*x = ThumbnailData{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[12]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ThumbnailData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ThumbnailData) ProtoMessage() {}
func (x *ThumbnailData) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[12]
2023-07-17 23:57:20 +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 ThumbnailData.ProtoReflect.Descriptor instead.
func (*ThumbnailData) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{12}
2023-07-17 23:57:20 +00:00
}
func (x *ThumbnailData) GetImageBuffer() []byte {
if x != nil {
return x.ImageBuffer
}
return nil
}
func (x *ThumbnailData) GetSomeInt() int32 {
if x != nil {
return x.SomeInt
}
return 0
}
func (x *ThumbnailData) GetDimensions() *Dimensions {
if x != nil {
return x.Dimensions
}
return nil
}
2023-09-04 22:18:01 +00:00
func (x *ThumbnailData) GetMysteriousData() *ThumbnailData_MysteriousData {
if x != nil {
return x.MysteriousData
}
return nil
}
2023-07-17 23:57:20 +00:00
type Cursor struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
LastItemID string `protobuf:"bytes,1,opt,name=lastItemID,proto3" json:"lastItemID,omitempty"`
LastItemTimestamp int64 `protobuf:"varint,2,opt,name=lastItemTimestamp,proto3" json:"lastItemTimestamp,omitempty"`
}
func (x *Cursor) Reset() {
*x = Cursor{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[13]
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[13]
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{13}
2023-07-17 23:57:20 +00:00
}
func (x *Cursor) GetLastItemID() string {
if x != nil {
return x.LastItemID
}
return ""
}
func (x *Cursor) GetLastItemTimestamp() int64 {
if x != nil {
return x.LastItemTimestamp
}
return 0
}
2023-07-18 21:59:51 +00:00
type ListMessagesRequest struct {
2023-07-17 23:57:20 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
Cursor *Cursor `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"`
}
2023-07-18 21:59:51 +00:00
func (x *ListMessagesRequest) Reset() {
*x = ListMessagesRequest{}
2023-07-17 23:57:20 +00:00
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[14]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-18 21:59:51 +00:00
func (x *ListMessagesRequest) String() string {
2023-07-17 23:57:20 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-18 21:59:51 +00:00
func (*ListMessagesRequest) ProtoMessage() {}
2023-07-17 23:57:20 +00:00
2023-07-18 21:59:51 +00:00
func (x *ListMessagesRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[14]
2023-07-17 23:57:20 +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-18 21:59:51 +00:00
// Deprecated: Use ListMessagesRequest.ProtoReflect.Descriptor instead.
func (*ListMessagesRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{14}
2023-07-17 23:57:20 +00:00
}
2023-07-18 21:59:51 +00:00
func (x *ListMessagesRequest) GetConversationID() string {
2023-07-17 23:57:20 +00:00
if x != nil {
return x.ConversationID
}
return ""
}
2023-07-18 21:59:51 +00:00
func (x *ListMessagesRequest) GetCount() int64 {
2023-07-17 23:57:20 +00:00
if x != nil {
return x.Count
}
return 0
}
2023-07-18 21:59:51 +00:00
func (x *ListMessagesRequest) GetCursor() *Cursor {
2023-07-17 23:57:20 +00:00
if x != nil {
return x.Cursor
}
return nil
}
2023-07-18 21:59:51 +00:00
type ListMessagesResponse struct {
2023-07-17 23:57:20 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Messages []*Message `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"`
SomeBytes []byte `protobuf:"bytes,3,opt,name=someBytes,proto3" json:"someBytes,omitempty"`
TotalMessages int64 `protobuf:"varint,4,opt,name=totalMessages,proto3" json:"totalMessages,omitempty"`
Cursor *Cursor `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"`
}
2023-07-18 21:59:51 +00:00
func (x *ListMessagesResponse) Reset() {
*x = ListMessagesResponse{}
2023-07-17 23:57:20 +00:00
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[15]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-18 21:59:51 +00:00
func (x *ListMessagesResponse) String() string {
2023-07-17 23:57:20 +00:00
return protoimpl.X.MessageStringOf(x)
}
2023-07-18 21:59:51 +00:00
func (*ListMessagesResponse) ProtoMessage() {}
2023-07-17 23:57:20 +00:00
2023-07-18 21:59:51 +00:00
func (x *ListMessagesResponse) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[15]
2023-07-17 23:57:20 +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-18 21:59:51 +00:00
// Deprecated: Use ListMessagesResponse.ProtoReflect.Descriptor instead.
func (*ListMessagesResponse) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{15}
2023-07-17 23:57:20 +00:00
}
2023-07-18 21:59:51 +00:00
func (x *ListMessagesResponse) GetMessages() []*Message {
2023-07-17 23:57:20 +00:00
if x != nil {
return x.Messages
}
return nil
}
2023-07-18 21:59:51 +00:00
func (x *ListMessagesResponse) GetSomeBytes() []byte {
2023-07-17 23:57:20 +00:00
if x != nil {
return x.SomeBytes
}
return nil
}
2023-07-18 21:59:51 +00:00
func (x *ListMessagesResponse) GetTotalMessages() int64 {
2023-07-17 23:57:20 +00:00
if x != nil {
return x.TotalMessages
}
return 0
}
2023-07-18 21:59:51 +00:00
func (x *ListMessagesResponse) GetCursor() *Cursor {
2023-07-17 23:57:20 +00:00
if x != nil {
return x.Cursor
}
return nil
}
type ListContactsRequest 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 *ListContactsRequest) Reset() {
*x = ListContactsRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[16]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListContactsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListContactsRequest) ProtoMessage() {}
func (x *ListContactsRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[16]
2023-07-17 23:57:20 +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 ListContactsRequest.ProtoReflect.Descriptor instead.
func (*ListContactsRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{16}
2023-07-17 23:57:20 +00:00
}
func (x *ListContactsRequest) GetI1() int32 {
if x != nil {
return x.I1
}
return 0
}
func (x *ListContactsRequest) GetI2() int32 {
if x != nil {
return x.I2
}
return 0
}
func (x *ListContactsRequest) GetI3() int32 {
if x != nil {
return x.I3
}
return 0
}
type ListTopContactsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
func (x *ListTopContactsRequest) Reset() {
*x = ListTopContactsRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[17]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListTopContactsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListTopContactsRequest) ProtoMessage() {}
func (x *ListTopContactsRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[17]
2023-07-17 23:57:20 +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 ListTopContactsRequest.ProtoReflect.Descriptor instead.
func (*ListTopContactsRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{17}
2023-07-17 23:57:20 +00:00
}
func (x *ListTopContactsRequest) GetCount() int32 {
if x != nil {
return x.Count
}
return 0
}
type ListContactsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Contacts []*Contact `protobuf:"bytes,2,rep,name=contacts,proto3" json:"contacts,omitempty"`
}
func (x *ListContactsResponse) Reset() {
*x = ListContactsResponse{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[18]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListContactsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListContactsResponse) ProtoMessage() {}
func (x *ListContactsResponse) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[18]
2023-07-17 23:57:20 +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 ListContactsResponse.ProtoReflect.Descriptor instead.
func (*ListContactsResponse) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{18}
2023-07-17 23:57:20 +00:00
}
func (x *ListContactsResponse) GetContacts() []*Contact {
if x != nil {
return x.Contacts
}
return nil
}
type ListTopContactsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Contacts []*Contact `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"`
}
func (x *ListTopContactsResponse) Reset() {
*x = ListTopContactsResponse{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[19]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListTopContactsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListTopContactsResponse) ProtoMessage() {}
func (x *ListTopContactsResponse) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[19]
2023-07-17 23:57:20 +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 ListTopContactsResponse.ProtoReflect.Descriptor instead.
func (*ListTopContactsResponse) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{19}
2023-07-17 23:57:20 +00:00
}
func (x *ListTopContactsResponse) GetContacts() []*Contact {
if x != nil {
return x.Contacts
}
return nil
}
type ListConversationsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
Folder ListConversationsRequest_Folder `protobuf:"varint,4,opt,name=folder,proto3,enum=client.ListConversationsRequest_Folder" json:"folder,omitempty"`
Cursor *Cursor `protobuf:"bytes,5,opt,name=cursor,proto3,oneof" json:"cursor,omitempty"`
}
func (x *ListConversationsRequest) Reset() {
*x = ListConversationsRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[20]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListConversationsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListConversationsRequest) ProtoMessage() {}
func (x *ListConversationsRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[20]
2023-07-17 23:57:20 +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 ListConversationsRequest.ProtoReflect.Descriptor instead.
func (*ListConversationsRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{20}
2023-07-17 23:57:20 +00:00
}
func (x *ListConversationsRequest) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
func (x *ListConversationsRequest) GetFolder() ListConversationsRequest_Folder {
if x != nil {
return x.Folder
}
return ListConversationsRequest_UNKNOWN
}
func (x *ListConversationsRequest) GetCursor() *Cursor {
if x != nil {
return x.Cursor
}
return nil
}
type ListConversationsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations,omitempty"`
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"`
}
func (x *ListConversationsResponse) Reset() {
*x = ListConversationsResponse{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[21]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListConversationsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListConversationsResponse) ProtoMessage() {}
func (x *ListConversationsResponse) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[21]
2023-07-17 23:57:20 +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 ListConversationsResponse.ProtoReflect.Descriptor instead.
func (*ListConversationsResponse) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{21}
2023-07-17 23:57:20 +00:00
}
func (x *ListConversationsResponse) GetConversations() []*Conversation {
if x != nil {
return x.Conversations
}
return nil
}
func (x *ListConversationsResponse) GetCursorBytes() []byte {
if x != nil {
return x.CursorBytes
}
return nil
}
func (x *ListConversationsResponse) GetCursor() *Cursor {
if x != nil {
return x.Cursor
}
return nil
}
type GetOrCreateConversationRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
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"`
}
func (x *GetOrCreateConversationRequest) Reset() {
*x = GetOrCreateConversationRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[22]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetOrCreateConversationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetOrCreateConversationRequest) ProtoMessage() {}
func (x *GetOrCreateConversationRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[22]
2023-07-17 23:57:20 +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 GetOrCreateConversationRequest.ProtoReflect.Descriptor instead.
func (*GetOrCreateConversationRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{22}
2023-07-17 23:57:20 +00:00
}
func (x *GetOrCreateConversationRequest) GetNumbers() []*ContactNumber {
if x != nil {
return x.Numbers
}
return nil
}
func (x *GetOrCreateConversationRequest) GetRCSGroupName() string {
if x != nil && x.RCSGroupName != nil {
return *x.RCSGroupName
}
return ""
}
func (x *GetOrCreateConversationRequest) GetCreateRCSGroup() bool {
if x != nil && x.CreateRCSGroup != nil {
return *x.CreateRCSGroup
}
return false
}
type GetOrCreateConversationResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation,omitempty"`
Status GetOrCreateConversationResponse_Status `protobuf:"varint,3,opt,name=status,proto3,enum=client.GetOrCreateConversationResponse_Status" json:"status,omitempty"`
}
func (x *GetOrCreateConversationResponse) Reset() {
*x = GetOrCreateConversationResponse{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[23]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetOrCreateConversationResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetOrCreateConversationResponse) ProtoMessage() {}
func (x *GetOrCreateConversationResponse) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[23]
2023-07-17 23:57:20 +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 GetOrCreateConversationResponse.ProtoReflect.Descriptor instead.
func (*GetOrCreateConversationResponse) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{23}
2023-07-17 23:57:20 +00:00
}
func (x *GetOrCreateConversationResponse) GetConversation() *Conversation {
if x != nil {
return x.Conversation
}
return nil
}
func (x *GetOrCreateConversationResponse) GetStatus() GetOrCreateConversationResponse_Status {
if x != nil {
return x.Status
}
return GetOrCreateConversationResponse_UNKNOWN
}
type DeleteMessageRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageID string `protobuf:"bytes,2,opt,name=messageID,proto3" json:"messageID,omitempty"`
}
func (x *DeleteMessageRequest) Reset() {
*x = DeleteMessageRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[24]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteMessageRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteMessageRequest) ProtoMessage() {}
func (x *DeleteMessageRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[24]
2023-07-17 23:57:20 +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 DeleteMessageRequest.ProtoReflect.Descriptor instead.
func (*DeleteMessageRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{24}
2023-07-17 23:57:20 +00:00
}
func (x *DeleteMessageRequest) GetMessageID() string {
if x != nil {
return x.MessageID
}
return ""
}
type DeleteMessageResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
}
func (x *DeleteMessageResponse) Reset() {
*x = DeleteMessageResponse{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[25]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteMessageResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteMessageResponse) ProtoMessage() {}
func (x *DeleteMessageResponse) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[25]
2023-07-17 23:57:20 +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 DeleteMessageResponse.ProtoReflect.Descriptor instead.
func (*DeleteMessageResponse) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{25}
2023-07-17 23:57:20 +00:00
}
func (x *DeleteMessageResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type UpdateConversationRequest 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=client.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 *UpdateConversationRequest) Reset() {
*x = UpdateConversationRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[26]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateConversationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateConversationRequest) ProtoMessage() {}
func (x *UpdateConversationRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[26]
2023-07-17 23:57:20 +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 UpdateConversationRequest.ProtoReflect.Descriptor instead.
func (*UpdateConversationRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{26}
2023-07-17 23:57:20 +00:00
}
func (x *UpdateConversationRequest) GetData() *UpdateConversationData {
if x != nil {
return x.Data
}
return nil
}
func (x *UpdateConversationRequest) GetAction() ConversationActionStatus {
if x != nil {
return x.Action
}
return ConversationActionStatus_UNKNOWN_ACTION_STATUS
}
func (x *UpdateConversationRequest) GetConversationID() string {
if x != nil {
return x.ConversationID
}
return ""
}
func (x *UpdateConversationRequest) 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-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[27]
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[27]
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{27}
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[28]
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[28]
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{28}
2023-07-17 23:57:20 +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
}
2023-07-24 13:46:54 +00:00
return ConversationStatus_UNKNOWN_CONVERSATION_STATUS
2023-07-17 23:57:20 +00:00
}
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 {
2023-07-24 13:46:54 +00:00
Status ConversationStatus `protobuf:"varint,12,opt,name=status,proto3,enum=conversations.ConversationStatus,oneof"`
2023-07-17 23:57:20 +00:00
}
type UpdateConversationData_Mute struct {
Mute ConversationMuteStatus `protobuf:"varint,7,opt,name=mute,proto3,enum=client.ConversationMuteStatus,oneof"`
}
func (*UpdateConversationData_Status) isUpdateConversationData_Data() {}
func (*UpdateConversationData_Mute) isUpdateConversationData_Data() {}
type UpdateConversationResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
func (x *UpdateConversationResponse) Reset() {
*x = UpdateConversationResponse{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[29]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateConversationResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateConversationResponse) ProtoMessage() {}
func (x *UpdateConversationResponse) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[29]
2023-07-17 23:57:20 +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 UpdateConversationResponse.ProtoReflect.Descriptor instead.
func (*UpdateConversationResponse) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{29}
2023-07-17 23:57:20 +00:00
}
func (x *UpdateConversationResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type GetConversationTypeRequest struct {
2023-07-17 23:57:20 +00:00
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
}
func (x *GetConversationTypeRequest) Reset() {
*x = GetConversationTypeRequest{}
2023-07-17 23:57:20 +00:00
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[30]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetConversationTypeRequest) String() string {
2023-07-17 23:57:20 +00:00
return protoimpl.X.MessageStringOf(x)
}
func (*GetConversationTypeRequest) ProtoMessage() {}
2023-07-17 23:57:20 +00:00
func (x *GetConversationTypeRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[30]
2023-07-17 23:57:20 +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 GetConversationTypeRequest.ProtoReflect.Descriptor instead.
func (*GetConversationTypeRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{30}
2023-07-17 23:57:20 +00:00
}
func (x *GetConversationTypeRequest) GetConversationID() string {
2023-07-17 23:57:20 +00:00
if x != nil {
return x.ConversationID
}
return ""
}
type GetConversationTypeResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
Bool1 bool `protobuf:"varint,5,opt,name=bool1,proto3" json:"bool1,omitempty"`
Number2 int32 `protobuf:"varint,6,opt,name=number2,proto3" json:"number2,omitempty"`
}
func (x *GetConversationTypeResponse) Reset() {
*x = GetConversationTypeResponse{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[31]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetConversationTypeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetConversationTypeResponse) ProtoMessage() {}
func (x *GetConversationTypeResponse) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[31]
2023-07-17 23:57:20 +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 GetConversationTypeResponse.ProtoReflect.Descriptor instead.
func (*GetConversationTypeResponse) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{31}
2023-07-17 23:57:20 +00:00
}
func (x *GetConversationTypeResponse) GetConversationID() string {
if x != nil {
return x.ConversationID
}
return ""
}
func (x *GetConversationTypeResponse) GetType() int32 {
if x != nil {
return x.Type
}
return 0
}
func (x *GetConversationTypeResponse) GetBool1() bool {
if x != nil {
return x.Bool1
}
return false
}
func (x *GetConversationTypeResponse) GetNumber2() int32 {
if x != nil {
return x.Number2
}
return 0
}
type GetConversationRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
}
func (x *GetConversationRequest) Reset() {
*x = GetConversationRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[32]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetConversationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetConversationRequest) ProtoMessage() {}
func (x *GetConversationRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[32]
2023-07-17 23:57:20 +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 GetConversationRequest.ProtoReflect.Descriptor instead.
func (*GetConversationRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{32}
2023-07-17 23:57:20 +00:00
}
func (x *GetConversationRequest) GetConversationID() string {
if x != nil {
return x.ConversationID
}
return ""
}
type GetConversationResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
}
func (x *GetConversationResponse) Reset() {
*x = GetConversationResponse{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[33]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetConversationResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetConversationResponse) ProtoMessage() {}
func (x *GetConversationResponse) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[33]
2023-07-17 23:57:20 +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 GetConversationResponse.ProtoReflect.Descriptor instead.
func (*GetConversationResponse) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{33}
2023-07-17 23:57:20 +00:00
}
func (x *GetConversationResponse) GetConversation() *Conversation {
if x != nil {
return x.Conversation
}
return nil
}
type OpenConversationRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
}
func (x *OpenConversationRequest) Reset() {
*x = OpenConversationRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[34]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *OpenConversationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OpenConversationRequest) ProtoMessage() {}
func (x *OpenConversationRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[34]
2023-07-17 23:57:20 +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 OpenConversationRequest.ProtoReflect.Descriptor instead.
func (*OpenConversationRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{34}
2023-07-17 23:57:20 +00:00
}
func (x *OpenConversationRequest) GetConversationID() string {
if x != nil {
return x.ConversationID
}
return ""
}
type PrepareOpenConversationRequest 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 *PrepareOpenConversationRequest) Reset() {
*x = PrepareOpenConversationRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[35]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PrepareOpenConversationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PrepareOpenConversationRequest) ProtoMessage() {}
func (x *PrepareOpenConversationRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[35]
2023-07-17 23:57:20 +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 PrepareOpenConversationRequest.ProtoReflect.Descriptor instead.
func (*PrepareOpenConversationRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{35}
2023-07-17 23:57:20 +00:00
}
func (x *PrepareOpenConversationRequest) GetField2() int64 {
if x != nil {
return x.Field2
}
return 0
}
type IsBugleDefaultResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
func (x *IsBugleDefaultResponse) Reset() {
*x = IsBugleDefaultResponse{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[36]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *IsBugleDefaultResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*IsBugleDefaultResponse) ProtoMessage() {}
func (x *IsBugleDefaultResponse) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[36]
2023-07-17 23:57:20 +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 IsBugleDefaultResponse.ProtoReflect.Descriptor instead.
func (*IsBugleDefaultResponse) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{36}
2023-07-17 23:57:20 +00:00
}
func (x *IsBugleDefaultResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type SendMessageRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
MessagePayload *MessagePayload `protobuf:"bytes,3,opt,name=messagePayload,proto3" json:"messagePayload,omitempty"`
SIMPayload *SIMPayload `protobuf:"bytes,4,opt,name=SIMPayload,proto3" json:"SIMPayload,omitempty"`
2023-07-17 23:57:20 +00:00
TmpID string `protobuf:"bytes,5,opt,name=tmpID,proto3" json:"tmpID,omitempty"`
IsRCS bool `protobuf:"varint,6,opt,name=isRCS,proto3" json:"isRCS,omitempty"` // not sure
2023-07-17 23:57:20 +00:00
Reply *ReplyPayload `protobuf:"bytes,8,opt,name=reply,proto3" json:"reply,omitempty"`
}
func (x *SendMessageRequest) Reset() {
*x = SendMessageRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[37]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SendMessageRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SendMessageRequest) ProtoMessage() {}
func (x *SendMessageRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[37]
2023-07-17 23:57:20 +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 SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{37}
2023-07-17 23:57:20 +00:00
}
func (x *SendMessageRequest) GetConversationID() string {
if x != nil {
return x.ConversationID
}
return ""
}
func (x *SendMessageRequest) GetMessagePayload() *MessagePayload {
if x != nil {
return x.MessagePayload
}
return nil
}
func (x *SendMessageRequest) GetSIMPayload() *SIMPayload {
if x != nil {
return x.SIMPayload
}
return nil
}
2023-07-17 23:57:20 +00:00
func (x *SendMessageRequest) GetTmpID() string {
if x != nil {
return x.TmpID
}
return ""
}
func (x *SendMessageRequest) GetIsRCS() bool {
2023-07-17 23:57:20 +00:00
if x != nil {
return x.IsRCS
2023-07-17 23:57:20 +00:00
}
return false
}
func (x *SendMessageRequest) 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-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[38]
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[38]
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{38}
2023-07-17 23:57:20 +00:00
}
func (x *ReplyPayload) GetMessageID() string {
if x != nil {
return x.MessageID
}
return ""
}
type MessagePayload struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TmpID string `protobuf:"bytes,1,opt,name=tmpID,proto3" json:"tmpID,omitempty"`
MessagePayloadContent *MessagePayloadContent `protobuf:"bytes,6,opt,name=messagePayloadContent,proto3" json:"messagePayloadContent,omitempty"`
ConversationID string `protobuf:"bytes,7,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
ParticipantID string `protobuf:"bytes,9,opt,name=participantID,proto3" json:"participantID,omitempty"`
2023-07-17 23:57:20 +00:00
MessageInfo []*MessageInfo `protobuf:"bytes,10,rep,name=messageInfo,proto3" json:"messageInfo,omitempty"`
TmpID2 string `protobuf:"bytes,12,opt,name=tmpID2,proto3" json:"tmpID2,omitempty"`
}
func (x *MessagePayload) Reset() {
*x = MessagePayload{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[39]
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[39]
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{39}
2023-07-17 23:57:20 +00:00
}
func (x *MessagePayload) GetTmpID() string {
if x != nil {
return x.TmpID
}
return ""
}
func (x *MessagePayload) GetMessagePayloadContent() *MessagePayloadContent {
if x != nil {
return x.MessagePayloadContent
}
return nil
}
func (x *MessagePayload) GetConversationID() string {
if x != nil {
return x.ConversationID
}
return ""
}
func (x *MessagePayload) GetParticipantID() string {
2023-07-17 23:57:20 +00:00
if x != nil {
return x.ParticipantID
2023-07-17 23:57:20 +00:00
}
return ""
}
func (x *MessagePayload) GetMessageInfo() []*MessageInfo {
if x != nil {
return x.MessageInfo
}
return nil
}
func (x *MessagePayload) GetTmpID2() string {
if x != nil {
return x.TmpID2
}
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-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[40]
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[40]
2023-07-17 23:57:20 +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-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{40}
2023-07-17 23:57:20 +00:00
}
func (x *MessagePayloadContent) GetMessageContent() *MessageContent {
if x != nil {
return x.MessageContent
}
return nil
}
type SendMessageResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
2023-09-01 10:42:52 +00:00
Status SendMessageResponse_Status `protobuf:"varint,3,opt,name=status,proto3,enum=client.SendMessageResponse_Status" json:"status,omitempty"`
2023-07-17 23:57:20 +00:00
}
func (x *SendMessageResponse) Reset() {
*x = SendMessageResponse{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[41]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SendMessageResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SendMessageResponse) ProtoMessage() {}
func (x *SendMessageResponse) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[41]
2023-07-17 23:57:20 +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 SendMessageResponse.ProtoReflect.Descriptor instead.
func (*SendMessageResponse) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{41}
2023-07-17 23:57:20 +00:00
}
2023-09-01 10:42:52 +00:00
func (x *SendMessageResponse) GetStatus() SendMessageResponse_Status {
2023-07-17 23:57:20 +00:00
if x != nil {
2023-09-01 10:42:52 +00:00
return x.Status
2023-07-17 23:57:20 +00:00
}
2023-09-01 10:42:52 +00:00
return SendMessageResponse_UNKNOWN
2023-07-17 23:57:20 +00:00
}
type SendReactionRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageID string `protobuf:"bytes,1,opt,name=messageID,proto3" json:"messageID,omitempty"`
ReactionData *ReactionData `protobuf:"bytes,2,opt,name=reactionData,proto3" json:"reactionData,omitempty"`
Action SendReactionRequest_Action `protobuf:"varint,3,opt,name=action,proto3,enum=client.SendReactionRequest_Action" json:"action,omitempty"`
SIMPayload *SIMPayload `protobuf:"bytes,4,opt,name=SIMPayload,proto3" json:"SIMPayload,omitempty"`
2023-07-17 23:57:20 +00:00
}
func (x *SendReactionRequest) Reset() {
*x = SendReactionRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[42]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SendReactionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SendReactionRequest) ProtoMessage() {}
func (x *SendReactionRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[42]
2023-07-17 23:57:20 +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 SendReactionRequest.ProtoReflect.Descriptor instead.
func (*SendReactionRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{42}
2023-07-17 23:57:20 +00:00
}
func (x *SendReactionRequest) GetMessageID() string {
if x != nil {
return x.MessageID
}
return ""
}
func (x *SendReactionRequest) GetReactionData() *ReactionData {
if x != nil {
return x.ReactionData
}
return nil
}
func (x *SendReactionRequest) GetAction() SendReactionRequest_Action {
if x != nil {
return x.Action
}
return SendReactionRequest_UNSPECIFIED
}
func (x *SendReactionRequest) GetSIMPayload() *SIMPayload {
if x != nil {
return x.SIMPayload
}
return nil
}
2023-07-17 23:57:20 +00:00
type SendReactionResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
}
func (x *SendReactionResponse) Reset() {
*x = SendReactionResponse{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[43]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SendReactionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SendReactionResponse) ProtoMessage() {}
func (x *SendReactionResponse) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[43]
2023-07-17 23:57:20 +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 SendReactionResponse.ProtoReflect.Descriptor instead.
func (*SendReactionResponse) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{43}
2023-07-17 23:57:20 +00:00
}
func (x *SendReactionResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type ResendMessageRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MessageID string `protobuf:"bytes,2,opt,name=messageID,proto3" json:"messageID,omitempty"`
}
func (x *ResendMessageRequest) Reset() {
*x = ResendMessageRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[44]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResendMessageRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResendMessageRequest) ProtoMessage() {}
func (x *ResendMessageRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[44]
2023-07-17 23:57:20 +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 ResendMessageRequest.ProtoReflect.Descriptor instead.
func (*ResendMessageRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{44}
2023-07-17 23:57:20 +00:00
}
func (x *ResendMessageRequest) GetMessageID() string {
if x != nil {
return x.MessageID
}
return ""
}
type TypingUpdateRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data *TypingUpdateRequest_Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}
func (x *TypingUpdateRequest) Reset() {
*x = TypingUpdateRequest{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[45]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TypingUpdateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TypingUpdateRequest) ProtoMessage() {}
func (x *TypingUpdateRequest) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[45]
2023-07-17 23:57:20 +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 TypingUpdateRequest.ProtoReflect.Descriptor instead.
func (*TypingUpdateRequest) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{45}
2023-07-17 23:57:20 +00:00
}
func (x *TypingUpdateRequest) GetData() *TypingUpdateRequest_Data {
if x != nil {
return x.Data
}
return nil
}
type ReceiveMessagesRequest_UnknownEmptyObject1 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *ReceiveMessagesRequest_UnknownEmptyObject1) Reset() {
*x = ReceiveMessagesRequest_UnknownEmptyObject1{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[46]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ReceiveMessagesRequest_UnknownEmptyObject1) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReceiveMessagesRequest_UnknownEmptyObject1) ProtoMessage() {}
func (x *ReceiveMessagesRequest_UnknownEmptyObject1) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[46]
2023-07-17 23:57:20 +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 ReceiveMessagesRequest_UnknownEmptyObject1.ProtoReflect.Descriptor instead.
func (*ReceiveMessagesRequest_UnknownEmptyObject1) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{2, 0}
}
type ReceiveMessagesRequest_UnknownEmptyObject2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Unknown *ReceiveMessagesRequest_UnknownEmptyObject1 `protobuf:"bytes,2,opt,name=unknown,proto3" json:"unknown,omitempty"`
}
func (x *ReceiveMessagesRequest_UnknownEmptyObject2) Reset() {
*x = ReceiveMessagesRequest_UnknownEmptyObject2{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[47]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ReceiveMessagesRequest_UnknownEmptyObject2) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReceiveMessagesRequest_UnknownEmptyObject2) ProtoMessage() {}
func (x *ReceiveMessagesRequest_UnknownEmptyObject2) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[47]
2023-07-17 23:57:20 +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 ReceiveMessagesRequest_UnknownEmptyObject2.ProtoReflect.Descriptor instead.
func (*ReceiveMessagesRequest_UnknownEmptyObject2) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{2, 1}
}
func (x *ReceiveMessagesRequest_UnknownEmptyObject2) GetUnknown() *ReceiveMessagesRequest_UnknownEmptyObject1 {
if x != nil {
return x.Unknown
}
return nil
}
type AckMessageRequest_Message struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RequestID string `protobuf:"bytes,1,opt,name=requestID,proto3" json:"requestID,omitempty"`
Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
}
func (x *AckMessageRequest_Message) Reset() {
*x = AckMessageRequest_Message{}
if protoimpl.UnsafeEnabled {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[48]
2023-07-17 23:57:20 +00:00
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AckMessageRequest_Message) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AckMessageRequest_Message) ProtoMessage() {}
func (x *AckMessageRequest_Message) ProtoReflect() protoreflect.Message {
2023-09-04 22:18:01 +00:00
mi := &file_client_proto_msgTypes[48]
2023-07-17 23:57:20 +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 AckMessageRequest_Message.ProtoReflect.Descriptor instead.
func (*AckMessageRequest_Message) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{4, 0}
}
func (x *AckMessageRequest_Message) GetRequestID() string {
if x != nil {
return x.RequestID
}
return ""
}
func (x *AckMessageRequest_Message) GetDevice() *Device {
if x != nil {
return x.Device
}
return nil
}
2023-09-04 22:18:01 +00:00
type GetThumbnailResponse_Thumbnail struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// ID depends on request, it's always the same as the input.
Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
Data *ThumbnailData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}
func (x *GetThumbnailResponse_Thumbnail) Reset() {
*x = GetThumbnailResponse_Thumbnail{}
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetThumbnailResponse_Thumbnail) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetThumbnailResponse_Thumbnail) ProtoMessage() {}
func (x *GetThumbnailResponse_Thumbnail) ProtoReflect() protoreflect.Message {
mi := &file_client_proto_msgTypes[49]
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 GetThumbnailResponse_Thumbnail.ProtoReflect.Descriptor instead.
func (*GetThumbnailResponse_Thumbnail) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{11, 0}
}
func (x *GetThumbnailResponse_Thumbnail) GetIdentifier() string {
if x != nil {
return x.Identifier
}
return ""
}
func (x *GetThumbnailResponse_Thumbnail) GetData() *ThumbnailData {
if x != nil {
return x.Data
}
return nil
}
type ThumbnailData_MysteriousData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
MaybeAHash uint64 `protobuf:"fixed64,13,opt,name=maybeAHash,proto3" json:"maybeAHash,omitempty"`
}
func (x *ThumbnailData_MysteriousData) Reset() {
*x = ThumbnailData_MysteriousData{}
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ThumbnailData_MysteriousData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ThumbnailData_MysteriousData) ProtoMessage() {}
func (x *ThumbnailData_MysteriousData) ProtoReflect() protoreflect.Message {
mi := &file_client_proto_msgTypes[50]
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 ThumbnailData_MysteriousData.ProtoReflect.Descriptor instead.
func (*ThumbnailData_MysteriousData) Descriptor() ([]byte, []int) {
return file_client_proto_rawDescGZIP(), []int{12, 0}
}
func (x *ThumbnailData_MysteriousData) GetMaybeAHash() uint64 {
if x != nil {
return x.MaybeAHash
}
return 0
}
2023-07-17 23:57:20 +00:00
type TypingUpdateRequest_Data 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 *TypingUpdateRequest_Data) Reset() {
*x = TypingUpdateRequest_Data{}
if protoimpl.UnsafeEnabled {
mi := &file_client_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TypingUpdateRequest_Data) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TypingUpdateRequest_Data) ProtoMessage() {}
func (x *TypingUpdateRequest_Data) ProtoReflect() protoreflect.Message {
mi := &file_client_proto_msgTypes[51]
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 TypingUpdateRequest_Data.ProtoReflect.Descriptor instead.
func (*TypingUpdateRequest_Data) Descriptor() ([]byte, []int) {
2023-09-04 22:18:01 +00:00
return file_client_proto_rawDescGZIP(), []int{45, 0}
2023-07-17 23:57:20 +00:00
}
func (x *TypingUpdateRequest_Data) GetConversationID() string {
if x != nil {
return x.ConversationID
}
return ""
}
func (x *TypingUpdateRequest_Data) GetTyping() bool {
if x != nil {
return x.Typing
}
return false
}
var File_client_proto protoreflect.FileDescriptor
//go:embed client.pb.raw
var file_client_proto_rawDesc []byte
var (
file_client_proto_rawDescOnce sync.Once
file_client_proto_rawDescData = file_client_proto_rawDesc
)
func file_client_proto_rawDescGZIP() []byte {
file_client_proto_rawDescOnce.Do(func() {
file_client_proto_rawDescData = protoimpl.X.CompressGZIP(file_client_proto_rawDescData)
})
return file_client_proto_rawDescData
}
2023-09-01 10:42:52 +00:00
var file_client_proto_enumTypes = make([]protoimpl.EnumInfo, 6)
2023-07-17 23:57:20 +00:00
var file_client_proto_msgTypes = make([]protoimpl.MessageInfo, 52)
var file_client_proto_goTypes = []interface{}{
2023-07-24 13:46:54 +00:00
(ConversationActionStatus)(0), // 0: client.ConversationActionStatus
(ConversationMuteStatus)(0), // 1: client.ConversationMuteStatus
(ListConversationsRequest_Folder)(0), // 2: client.ListConversationsRequest.Folder
(GetOrCreateConversationResponse_Status)(0), // 3: client.GetOrCreateConversationResponse.Status
2023-09-01 10:42:52 +00:00
(SendMessageResponse_Status)(0), // 4: client.SendMessageResponse.Status
(SendReactionRequest_Action)(0), // 5: client.SendReactionRequest.Action
(*NotifyDittoActivityRequest)(nil), // 6: client.NotifyDittoActivityRequest
(*NotifyDittoActivityResponse)(nil), // 7: client.NotifyDittoActivityResponse
(*ReceiveMessagesRequest)(nil), // 8: client.ReceiveMessagesRequest
(*MessageReadRequest)(nil), // 9: client.MessageReadRequest
(*AckMessageRequest)(nil), // 10: client.AckMessageRequest
(*DownloadAttachmentRequest)(nil), // 11: client.DownloadAttachmentRequest
(*AttachmentInfo)(nil), // 12: client.AttachmentInfo
(*StartMediaUploadRequest)(nil), // 13: client.StartMediaUploadRequest
(*UploadMediaResponse)(nil), // 14: client.UploadMediaResponse
(*UploadedMedia)(nil), // 15: client.UploadedMedia
2023-09-04 22:18:01 +00:00
(*GetThumbnailRequest)(nil), // 16: client.GetThumbnailRequest
(*GetThumbnailResponse)(nil), // 17: client.GetThumbnailResponse
(*ThumbnailData)(nil), // 18: client.ThumbnailData
(*Cursor)(nil), // 19: client.Cursor
(*ListMessagesRequest)(nil), // 20: client.ListMessagesRequest
(*ListMessagesResponse)(nil), // 21: client.ListMessagesResponse
(*ListContactsRequest)(nil), // 22: client.ListContactsRequest
(*ListTopContactsRequest)(nil), // 23: client.ListTopContactsRequest
(*ListContactsResponse)(nil), // 24: client.ListContactsResponse
(*ListTopContactsResponse)(nil), // 25: client.ListTopContactsResponse
(*ListConversationsRequest)(nil), // 26: client.ListConversationsRequest
(*ListConversationsResponse)(nil), // 27: client.ListConversationsResponse
(*GetOrCreateConversationRequest)(nil), // 28: client.GetOrCreateConversationRequest
(*GetOrCreateConversationResponse)(nil), // 29: client.GetOrCreateConversationResponse
(*DeleteMessageRequest)(nil), // 30: client.DeleteMessageRequest
(*DeleteMessageResponse)(nil), // 31: client.DeleteMessageResponse
(*UpdateConversationRequest)(nil), // 32: client.UpdateConversationRequest
(*ConversationAction5)(nil), // 33: client.ConversationAction5
(*UpdateConversationData)(nil), // 34: client.UpdateConversationData
(*UpdateConversationResponse)(nil), // 35: client.UpdateConversationResponse
(*GetConversationTypeRequest)(nil), // 36: client.GetConversationTypeRequest
(*GetConversationTypeResponse)(nil), // 37: client.GetConversationTypeResponse
(*GetConversationRequest)(nil), // 38: client.GetConversationRequest
(*GetConversationResponse)(nil), // 39: client.GetConversationResponse
(*OpenConversationRequest)(nil), // 40: client.OpenConversationRequest
(*PrepareOpenConversationRequest)(nil), // 41: client.PrepareOpenConversationRequest
(*IsBugleDefaultResponse)(nil), // 42: client.IsBugleDefaultResponse
(*SendMessageRequest)(nil), // 43: client.SendMessageRequest
(*ReplyPayload)(nil), // 44: client.ReplyPayload
(*MessagePayload)(nil), // 45: client.MessagePayload
(*MessagePayloadContent)(nil), // 46: client.MessagePayloadContent
(*SendMessageResponse)(nil), // 47: client.SendMessageResponse
(*SendReactionRequest)(nil), // 48: client.SendReactionRequest
(*SendReactionResponse)(nil), // 49: client.SendReactionResponse
(*ResendMessageRequest)(nil), // 50: client.ResendMessageRequest
(*TypingUpdateRequest)(nil), // 51: client.TypingUpdateRequest
(*ReceiveMessagesRequest_UnknownEmptyObject1)(nil), // 52: client.ReceiveMessagesRequest.UnknownEmptyObject1
(*ReceiveMessagesRequest_UnknownEmptyObject2)(nil), // 53: client.ReceiveMessagesRequest.UnknownEmptyObject2
(*AckMessageRequest_Message)(nil), // 54: client.AckMessageRequest.Message
(*GetThumbnailResponse_Thumbnail)(nil), // 55: client.GetThumbnailResponse.Thumbnail
(*ThumbnailData_MysteriousData)(nil), // 56: client.ThumbnailData.MysteriousData
2023-09-01 10:42:52 +00:00
(*TypingUpdateRequest_Data)(nil), // 57: client.TypingUpdateRequest.Data
(*AuthMessage)(nil), // 58: authentication.AuthMessage
(*EmptyArr)(nil), // 59: util.EmptyArr
(*Device)(nil), // 60: authentication.Device
(*Dimensions)(nil), // 61: conversations.Dimensions
(*Message)(nil), // 62: conversations.Message
(*Contact)(nil), // 63: conversations.Contact
(*Conversation)(nil), // 64: conversations.Conversation
(*ContactNumber)(nil), // 65: conversations.ContactNumber
(ConversationStatus)(0), // 66: conversations.ConversationStatus
(*SIMPayload)(nil), // 67: settings.SIMPayload
(*MessageInfo)(nil), // 68: conversations.MessageInfo
(*MessageContent)(nil), // 69: conversations.MessageContent
(*ReactionData)(nil), // 70: conversations.ReactionData
2023-07-17 23:57:20 +00:00
}
var file_client_proto_depIdxs = []int32{
2023-09-01 10:42:52 +00:00
58, // 0: client.ReceiveMessagesRequest.auth:type_name -> authentication.AuthMessage
2023-09-04 22:18:01 +00:00
53, // 1: client.ReceiveMessagesRequest.unknown:type_name -> client.ReceiveMessagesRequest.UnknownEmptyObject2
2023-09-01 10:42:52 +00:00
58, // 2: client.AckMessageRequest.authData:type_name -> authentication.AuthMessage
59, // 3: client.AckMessageRequest.emptyArr:type_name -> util.EmptyArr
2023-09-04 22:18:01 +00:00
54, // 4: client.AckMessageRequest.acks:type_name -> client.AckMessageRequest.Message
2023-09-01 10:42:52 +00:00
12, // 5: client.DownloadAttachmentRequest.info:type_name -> client.AttachmentInfo
58, // 6: client.DownloadAttachmentRequest.authData:type_name -> authentication.AuthMessage
58, // 7: client.StartMediaUploadRequest.authData:type_name -> authentication.AuthMessage
60, // 8: client.StartMediaUploadRequest.mobile:type_name -> authentication.Device
15, // 9: client.UploadMediaResponse.media:type_name -> client.UploadedMedia
2023-09-04 22:18:01 +00:00
55, // 10: client.GetThumbnailResponse.thumbnail:type_name -> client.GetThumbnailResponse.Thumbnail
61, // 11: client.ThumbnailData.dimensions:type_name -> conversations.Dimensions
56, // 12: client.ThumbnailData.mysteriousData:type_name -> client.ThumbnailData.MysteriousData
19, // 13: client.ListMessagesRequest.cursor:type_name -> client.Cursor
2023-09-01 10:42:52 +00:00
62, // 14: client.ListMessagesResponse.messages:type_name -> conversations.Message
2023-09-04 22:18:01 +00:00
19, // 15: client.ListMessagesResponse.cursor:type_name -> client.Cursor
2023-09-01 10:42:52 +00:00
63, // 16: client.ListContactsResponse.contacts:type_name -> conversations.Contact
63, // 17: client.ListTopContactsResponse.contacts:type_name -> conversations.Contact
2023-07-24 13:46:54 +00:00
2, // 18: client.ListConversationsRequest.folder:type_name -> client.ListConversationsRequest.Folder
2023-09-04 22:18:01 +00:00
19, // 19: client.ListConversationsRequest.cursor:type_name -> client.Cursor
2023-09-01 10:42:52 +00:00
64, // 20: client.ListConversationsResponse.conversations:type_name -> conversations.Conversation
2023-09-04 22:18:01 +00:00
19, // 21: client.ListConversationsResponse.cursor:type_name -> client.Cursor
2023-09-01 10:42:52 +00:00
65, // 22: client.GetOrCreateConversationRequest.numbers:type_name -> conversations.ContactNumber
64, // 23: client.GetOrCreateConversationResponse.conversation:type_name -> conversations.Conversation
2023-07-24 13:46:54 +00:00
3, // 24: client.GetOrCreateConversationResponse.status:type_name -> client.GetOrCreateConversationResponse.Status
2023-09-04 22:18:01 +00:00
34, // 25: client.UpdateConversationRequest.data:type_name -> client.UpdateConversationData
2023-07-24 13:46:54 +00:00
0, // 26: client.UpdateConversationRequest.action:type_name -> client.ConversationActionStatus
2023-09-04 22:18:01 +00:00
33, // 27: client.UpdateConversationRequest.action5:type_name -> client.ConversationAction5
2023-09-01 10:42:52 +00:00
66, // 28: client.UpdateConversationData.status:type_name -> conversations.ConversationStatus
2023-07-24 13:46:54 +00:00
1, // 29: client.UpdateConversationData.mute:type_name -> client.ConversationMuteStatus
2023-09-01 10:42:52 +00:00
64, // 30: client.GetConversationResponse.conversation:type_name -> conversations.Conversation
2023-09-04 22:18:01 +00:00
45, // 31: client.SendMessageRequest.messagePayload:type_name -> client.MessagePayload
2023-09-01 10:42:52 +00:00
67, // 32: client.SendMessageRequest.SIMPayload:type_name -> settings.SIMPayload
2023-09-04 22:18:01 +00:00
44, // 33: client.SendMessageRequest.reply:type_name -> client.ReplyPayload
46, // 34: client.MessagePayload.messagePayloadContent:type_name -> client.MessagePayloadContent
2023-09-01 10:42:52 +00:00
68, // 35: client.MessagePayload.messageInfo:type_name -> conversations.MessageInfo
69, // 36: client.MessagePayloadContent.messageContent:type_name -> conversations.MessageContent
4, // 37: client.SendMessageResponse.status:type_name -> client.SendMessageResponse.Status
70, // 38: client.SendReactionRequest.reactionData:type_name -> conversations.ReactionData
5, // 39: client.SendReactionRequest.action:type_name -> client.SendReactionRequest.Action
67, // 40: client.SendReactionRequest.SIMPayload:type_name -> settings.SIMPayload
57, // 41: client.TypingUpdateRequest.data:type_name -> client.TypingUpdateRequest.Data
52, // 42: client.ReceiveMessagesRequest.UnknownEmptyObject2.unknown:type_name -> client.ReceiveMessagesRequest.UnknownEmptyObject1
60, // 43: client.AckMessageRequest.Message.device:type_name -> authentication.Device
18, // 44: client.GetThumbnailResponse.Thumbnail.data:type_name -> client.ThumbnailData
45, // [45:45] is the sub-list for method output_type
45, // [45:45] is the sub-list for method input_type
45, // [45:45] is the sub-list for extension type_name
45, // [45:45] is the sub-list for extension extendee
0, // [0:45] is the sub-list for field type_name
2023-07-17 23:57:20 +00:00
}
func init() { file_client_proto_init() }
func file_client_proto_init() {
if File_client_proto != nil {
return
}
file_conversations_proto_init()
file_authentication_proto_init()
file_settings_proto_init()
2023-07-17 23:57:20 +00:00
file_util_proto_init()
if !protoimpl.UnsafeEnabled {
file_client_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NotifyDittoActivityRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*NotifyDittoActivityResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ReceiveMessagesRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MessageReadRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AckMessageRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DownloadAttachmentRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AttachmentInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StartMediaUploadRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UploadMediaResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UploadedMedia); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*GetThumbnailRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*GetThumbnailResponse); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ThumbnailData); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*Cursor); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ListMessagesRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ListMessagesResponse); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ListContactsRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ListTopContactsRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ListContactsResponse); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ListTopContactsResponse); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ListConversationsRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ListConversationsResponse); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
2023-06-30 09:54:08 +00:00
return nil
}
}
2023-07-17 23:57:20 +00:00
file_client_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*GetOrCreateConversationRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2023-07-17 23:57:20 +00:00
file_client_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*GetOrCreateConversationResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2023-07-17 23:57:20 +00:00
file_client_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*DeleteMessageRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2023-07-17 23:57:20 +00:00
file_client_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*DeleteMessageResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2023-07-17 23:57:20 +00:00
file_client_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*UpdateConversationRequest); i {
2023-07-15 11:38:24 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
2023-07-17 23:57:20 +00:00
file_client_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ConversationAction5); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*UpdateConversationData); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*UpdateConversationResponse); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*GetConversationTypeRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*GetConversationTypeResponse); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*GetConversationRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*GetConversationResponse); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*OpenConversationRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*PrepareOpenConversationRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*IsBugleDefaultResponse); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*SendMessageRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ReplyPayload); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*MessagePayload); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*MessagePayloadContent); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*SendMessageResponse); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*SendReactionRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*SendReactionResponse); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ResendMessageRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*TypingUpdateRequest); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ReceiveMessagesRequest_UnknownEmptyObject1); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ReceiveMessagesRequest_UnknownEmptyObject2); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*AckMessageRequest_Message); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*GetThumbnailResponse_Thumbnail); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
2023-09-04 22:18:01 +00:00
switch v := v.(*ThumbnailData_MysteriousData); i {
2023-07-17 23:57:20 +00:00
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_client_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TypingUpdateRequest_Data); 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
}
}
}
2023-07-17 23:57:20 +00:00
file_client_proto_msgTypes[2].OneofWrappers = []interface{}{}
2023-09-04 22:18:01 +00:00
file_client_proto_msgTypes[20].OneofWrappers = []interface{}{}
file_client_proto_msgTypes[21].OneofWrappers = []interface{}{}
2023-07-17 23:57:20 +00:00
file_client_proto_msgTypes[22].OneofWrappers = []interface{}{}
2023-09-04 22:18:01 +00:00
file_client_proto_msgTypes[28].OneofWrappers = []interface{}{
2023-07-17 23:57:20 +00:00
(*UpdateConversationData_Status)(nil),
(*UpdateConversationData_Mute)(nil),
}
2023-06-30 09:54:08 +00:00
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_client_proto_rawDesc,
2023-09-01 10:42:52 +00:00
NumEnums: 6,
2023-07-17 23:57:20 +00:00
NumMessages: 52,
2023-06-30 09:54:08 +00:00
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_client_proto_goTypes,
DependencyIndexes: file_client_proto_depIdxs,
EnumInfos: file_client_proto_enumTypes,
2023-06-30 09:54:08 +00:00
MessageInfos: file_client_proto_msgTypes,
}.Build()
File_client_proto = out.File
file_client_proto_rawDesc = nil
file_client_proto_goTypes = nil
file_client_proto_depIdxs = nil
}