protobuf

package
v0.60.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2020 License: MPL-2.0, MPL-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApplicationMetadataMessage_Type_name = map[int32]string{
	0:  "UNKNOWN",
	1:  "CHAT_MESSAGE",
	2:  "CONTACT_UPDATE",
	3:  "MEMBERSHIP_UPDATE_MESSAGE",
	4:  "PAIR_INSTALLATION",
	5:  "SYNC_INSTALLATION",
	6:  "REQUEST_ADDRESS_FOR_TRANSACTION",
	7:  "ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION",
	8:  "DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION",
	9:  "REQUEST_TRANSACTION",
	10: "SEND_TRANSACTION",
	11: "DECLINE_REQUEST_TRANSACTION",
	12: "SYNC_INSTALLATION_CONTACT",
	13: "SYNC_INSTALLATION_ACCOUNT",
	14: "SYNC_INSTALLATION_PUBLIC_CHAT",
	15: "CONTACT_CODE_ADVERTISEMENT",
	16: "PUSH_NOTIFICATION_REGISTRATION",
	17: "PUSH_NOTIFICATION_REGISTRATION_RESPONSE",
	18: "PUSH_NOTIFICATION_QUERY",
	19: "PUSH_NOTIFICATION_QUERY_RESPONSE",
	20: "PUSH_NOTIFICATION_REQUEST",
	21: "PUSH_NOTIFICATION_RESPONSE",
	22: "EMOJI_REACTION",
	23: "GROUP_CHAT_INVITATION",
}
View Source
var ApplicationMetadataMessage_Type_value = map[string]int32{
	"UNKNOWN":                                 0,
	"CHAT_MESSAGE":                            1,
	"CONTACT_UPDATE":                          2,
	"MEMBERSHIP_UPDATE_MESSAGE":               3,
	"PAIR_INSTALLATION":                       4,
	"SYNC_INSTALLATION":                       5,
	"REQUEST_ADDRESS_FOR_TRANSACTION":         6,
	"ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION":  7,
	"DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION": 8,
	"REQUEST_TRANSACTION":                     9,
	"SEND_TRANSACTION":                        10,
	"DECLINE_REQUEST_TRANSACTION":             11,
	"SYNC_INSTALLATION_CONTACT":               12,
	"SYNC_INSTALLATION_ACCOUNT":               13,
	"SYNC_INSTALLATION_PUBLIC_CHAT":           14,
	"CONTACT_CODE_ADVERTISEMENT":              15,
	"PUSH_NOTIFICATION_REGISTRATION":          16,
	"PUSH_NOTIFICATION_REGISTRATION_RESPONSE": 17,
	"PUSH_NOTIFICATION_QUERY":                 18,
	"PUSH_NOTIFICATION_QUERY_RESPONSE":        19,
	"PUSH_NOTIFICATION_REQUEST":               20,
	"PUSH_NOTIFICATION_RESPONSE":              21,
	"EMOJI_REACTION":                          22,
	"GROUP_CHAT_INVITATION":                   23,
}
View Source
var AudioMessage_AudioType_name = map[int32]string{
	0: "UNKNOWN_AUDIO_TYPE",
	1: "AAC",
	2: "AMR",
}
View Source
var AudioMessage_AudioType_value = map[string]int32{
	"UNKNOWN_AUDIO_TYPE": 0,
	"AAC":                1,
	"AMR":                2,
}
View Source
var ChatMessage_ContentType_name = map[int32]string{
	0: "UNKNOWN_CONTENT_TYPE",
	1: "TEXT_PLAIN",
	2: "STICKER",
	3: "STATUS",
	4: "EMOJI",
	5: "TRANSACTION_COMMAND",
	6: "SYSTEM_MESSAGE_CONTENT_PRIVATE_GROUP",
	7: "IMAGE",
	8: "AUDIO",
}
View Source
var ChatMessage_ContentType_value = map[string]int32{
	"UNKNOWN_CONTENT_TYPE":                 0,
	"TEXT_PLAIN":                           1,
	"STICKER":                              2,
	"STATUS":                               3,
	"EMOJI":                                4,
	"TRANSACTION_COMMAND":                  5,
	"SYSTEM_MESSAGE_CONTENT_PRIVATE_GROUP": 6,
	"IMAGE":                                7,
	"AUDIO":                                8,
}
View Source
var EmojiReaction_Type_name = map[int32]string{
	0: "UNKNOWN_EMOJI_REACTION_TYPE",
	1: "LOVE",
	2: "THUMBS_UP",
	3: "THUMBS_DOWN",
	4: "LAUGH",
	5: "SAD",
	6: "ANGRY",
}
View Source
var EmojiReaction_Type_value = map[string]int32{
	"UNKNOWN_EMOJI_REACTION_TYPE": 0,
	"LOVE":                        1,
	"THUMBS_UP":                   2,
	"THUMBS_DOWN":                 3,
	"LAUGH":                       4,
	"SAD":                         5,
	"ANGRY":                       6,
}
View Source
var GroupChatInvitation_State_name = map[int32]string{
	0: "UNKNOWN",
	1: "REQUEST",
	2: "REJECTED",
	3: "APPROVED",
}
View Source
var GroupChatInvitation_State_value = map[string]int32{
	"UNKNOWN":  0,
	"REQUEST":  1,
	"REJECTED": 2,
	"APPROVED": 3,
}
View Source
var ImageMessage_ImageType_name = map[int32]string{
	0: "UNKNOWN_IMAGE_TYPE",
	1: "PNG",
	2: "JPEG",
	3: "WEBP",
	4: "GIF",
}
View Source
var ImageMessage_ImageType_value = map[string]int32{
	"UNKNOWN_IMAGE_TYPE": 0,
	"PNG":                1,
	"JPEG":               2,
	"WEBP":               3,
	"GIF":                4,
}
View Source
var MembershipUpdateEvent_EventType_name = map[int32]string{
	0: "UNKNOWN",
	1: "CHAT_CREATED",
	2: "NAME_CHANGED",
	3: "MEMBERS_ADDED",
	4: "MEMBER_JOINED",
	5: "MEMBER_REMOVED",
	6: "ADMINS_ADDED",
	7: "ADMIN_REMOVED",
}
View Source
var MembershipUpdateEvent_EventType_value = map[string]int32{
	"UNKNOWN":        0,
	"CHAT_CREATED":   1,
	"NAME_CHANGED":   2,
	"MEMBERS_ADDED":  3,
	"MEMBER_JOINED":  4,
	"MEMBER_REMOVED": 5,
	"ADMINS_ADDED":   6,
	"ADMIN_REMOVED":  7,
}
View Source
var MessageType_name = map[int32]string{
	0: "UNKNOWN_MESSAGE_TYPE",
	1: "ONE_TO_ONE",
	2: "PUBLIC_GROUP",
	3: "PRIVATE_GROUP",
	4: "SYSTEM_MESSAGE_PRIVATE_GROUP",
}
View Source
var MessageType_value = map[string]int32{
	"UNKNOWN_MESSAGE_TYPE":         0,
	"ONE_TO_ONE":                   1,
	"PUBLIC_GROUP":                 2,
	"PRIVATE_GROUP":                3,
	"SYSTEM_MESSAGE_PRIVATE_GROUP": 4,
}
View Source
var PushNotificationRegistrationResponse_ErrorType_name = map[int32]string{
	0: "UNKNOWN_ERROR_TYPE",
	1: "MALFORMED_MESSAGE",
	2: "VERSION_MISMATCH",
	3: "UNSUPPORTED_TOKEN_TYPE",
	4: "INTERNAL_ERROR",
}
View Source
var PushNotificationRegistrationResponse_ErrorType_value = map[string]int32{
	"UNKNOWN_ERROR_TYPE":     0,
	"MALFORMED_MESSAGE":      1,
	"VERSION_MISMATCH":       2,
	"UNSUPPORTED_TOKEN_TYPE": 3,
	"INTERNAL_ERROR":         4,
}
View Source
var PushNotificationRegistration_TokenType_name = map[int32]string{
	0: "UNKNOWN_TOKEN_TYPE",
	1: "APN_TOKEN",
	2: "FIREBASE_TOKEN",
}
View Source
var PushNotificationRegistration_TokenType_value = map[string]int32{
	"UNKNOWN_TOKEN_TYPE": 0,
	"APN_TOKEN":          1,
	"FIREBASE_TOKEN":     2,
}
View Source
var PushNotificationReport_ErrorType_name = map[int32]string{
	0: "UNKNOWN_ERROR_TYPE",
	1: "WRONG_TOKEN",
	2: "INTERNAL_ERROR",
	3: "NOT_REGISTERED",
}
View Source
var PushNotificationReport_ErrorType_value = map[string]int32{
	"UNKNOWN_ERROR_TYPE": 0,
	"WRONG_TOKEN":        1,
	"INTERNAL_ERROR":     2,
	"NOT_REGISTERED":     3,
}
View Source
var PushNotification_PushNotificationType_name = map[int32]string{
	0: "UNKNOWN_PUSH_NOTIFICATION_TYPE",
	1: "MESSAGE",
	2: "MENTION",
}
View Source
var PushNotification_PushNotificationType_value = map[string]int32{
	"UNKNOWN_PUSH_NOTIFICATION_TYPE": 0,
	"MESSAGE":                        1,
	"MENTION":                        2,
}

Functions

This section is empty.

Types

type AcceptRequestAddressForTransaction

type AcceptRequestAddressForTransaction struct {
	Clock                uint64   `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Address              string   `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AcceptRequestAddressForTransaction) Descriptor

func (*AcceptRequestAddressForTransaction) Descriptor() ([]byte, []int)

func (*AcceptRequestAddressForTransaction) GetAddress

func (*AcceptRequestAddressForTransaction) GetClock

func (*AcceptRequestAddressForTransaction) GetId

func (*AcceptRequestAddressForTransaction) ProtoMessage

func (*AcceptRequestAddressForTransaction) ProtoMessage()

func (*AcceptRequestAddressForTransaction) Reset

func (*AcceptRequestAddressForTransaction) String

func (*AcceptRequestAddressForTransaction) XXX_DiscardUnknown

func (m *AcceptRequestAddressForTransaction) XXX_DiscardUnknown()

func (*AcceptRequestAddressForTransaction) XXX_Marshal

func (m *AcceptRequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AcceptRequestAddressForTransaction) XXX_Merge

func (*AcceptRequestAddressForTransaction) XXX_Size

func (*AcceptRequestAddressForTransaction) XXX_Unmarshal

func (m *AcceptRequestAddressForTransaction) XXX_Unmarshal(b []byte) error

type ApplicationMetadataMessage

type ApplicationMetadataMessage struct {
	// Signature of the payload field
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// This is the encoded protobuf of the application level message, i.e ChatMessage
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// The type of protobuf message sent
	Type                 ApplicationMetadataMessage_Type `protobuf:"varint,3,opt,name=type,proto3,enum=protobuf.ApplicationMetadataMessage_Type" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func Unmarshal

func Unmarshal(payload []byte) (*ApplicationMetadataMessage, error)

func (*ApplicationMetadataMessage) Descriptor

func (*ApplicationMetadataMessage) Descriptor() ([]byte, []int)

func (*ApplicationMetadataMessage) GetPayload

func (m *ApplicationMetadataMessage) GetPayload() []byte

func (*ApplicationMetadataMessage) GetSignature

func (m *ApplicationMetadataMessage) GetSignature() []byte

func (*ApplicationMetadataMessage) GetType

func (*ApplicationMetadataMessage) ProtoMessage

func (*ApplicationMetadataMessage) ProtoMessage()

func (*ApplicationMetadataMessage) RecoverKey

func (m *ApplicationMetadataMessage) RecoverKey() (*ecdsa.PublicKey, error)

func (*ApplicationMetadataMessage) Reset

func (m *ApplicationMetadataMessage) Reset()

func (*ApplicationMetadataMessage) String

func (m *ApplicationMetadataMessage) String() string

func (*ApplicationMetadataMessage) XXX_DiscardUnknown

func (m *ApplicationMetadataMessage) XXX_DiscardUnknown()

func (*ApplicationMetadataMessage) XXX_Marshal

func (m *ApplicationMetadataMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ApplicationMetadataMessage) XXX_Merge

func (m *ApplicationMetadataMessage) XXX_Merge(src proto.Message)

func (*ApplicationMetadataMessage) XXX_Size

func (m *ApplicationMetadataMessage) XXX_Size() int

func (*ApplicationMetadataMessage) XXX_Unmarshal

func (m *ApplicationMetadataMessage) XXX_Unmarshal(b []byte) error

type ApplicationMetadataMessage_Type

type ApplicationMetadataMessage_Type int32
const (
	ApplicationMetadataMessage_UNKNOWN                                 ApplicationMetadataMessage_Type = 0
	ApplicationMetadataMessage_CHAT_MESSAGE                            ApplicationMetadataMessage_Type = 1
	ApplicationMetadataMessage_CONTACT_UPDATE                          ApplicationMetadataMessage_Type = 2
	ApplicationMetadataMessage_MEMBERSHIP_UPDATE_MESSAGE               ApplicationMetadataMessage_Type = 3
	ApplicationMetadataMessage_PAIR_INSTALLATION                       ApplicationMetadataMessage_Type = 4
	ApplicationMetadataMessage_SYNC_INSTALLATION                       ApplicationMetadataMessage_Type = 5
	ApplicationMetadataMessage_REQUEST_ADDRESS_FOR_TRANSACTION         ApplicationMetadataMessage_Type = 6
	ApplicationMetadataMessage_ACCEPT_REQUEST_ADDRESS_FOR_TRANSACTION  ApplicationMetadataMessage_Type = 7
	ApplicationMetadataMessage_DECLINE_REQUEST_ADDRESS_FOR_TRANSACTION ApplicationMetadataMessage_Type = 8
	ApplicationMetadataMessage_REQUEST_TRANSACTION                     ApplicationMetadataMessage_Type = 9
	ApplicationMetadataMessage_SEND_TRANSACTION                        ApplicationMetadataMessage_Type = 10
	ApplicationMetadataMessage_DECLINE_REQUEST_TRANSACTION             ApplicationMetadataMessage_Type = 11
	ApplicationMetadataMessage_SYNC_INSTALLATION_CONTACT               ApplicationMetadataMessage_Type = 12
	ApplicationMetadataMessage_SYNC_INSTALLATION_ACCOUNT               ApplicationMetadataMessage_Type = 13
	ApplicationMetadataMessage_SYNC_INSTALLATION_PUBLIC_CHAT           ApplicationMetadataMessage_Type = 14
	ApplicationMetadataMessage_CONTACT_CODE_ADVERTISEMENT              ApplicationMetadataMessage_Type = 15
	ApplicationMetadataMessage_PUSH_NOTIFICATION_REGISTRATION          ApplicationMetadataMessage_Type = 16
	ApplicationMetadataMessage_PUSH_NOTIFICATION_REGISTRATION_RESPONSE ApplicationMetadataMessage_Type = 17
	ApplicationMetadataMessage_PUSH_NOTIFICATION_QUERY                 ApplicationMetadataMessage_Type = 18
	ApplicationMetadataMessage_PUSH_NOTIFICATION_QUERY_RESPONSE        ApplicationMetadataMessage_Type = 19
	ApplicationMetadataMessage_PUSH_NOTIFICATION_REQUEST               ApplicationMetadataMessage_Type = 20
	ApplicationMetadataMessage_PUSH_NOTIFICATION_RESPONSE              ApplicationMetadataMessage_Type = 21
	ApplicationMetadataMessage_EMOJI_REACTION                          ApplicationMetadataMessage_Type = 22
	ApplicationMetadataMessage_GROUP_CHAT_INVITATION                   ApplicationMetadataMessage_Type = 23
)

func (ApplicationMetadataMessage_Type) EnumDescriptor

func (ApplicationMetadataMessage_Type) EnumDescriptor() ([]byte, []int)

func (ApplicationMetadataMessage_Type) String

type AudioMessage added in v0.56.1

type AudioMessage struct {
	Payload              []byte                 `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Type                 AudioMessage_AudioType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.AudioMessage_AudioType" json:"type,omitempty"`
	DurationMs           uint64                 `protobuf:"varint,3,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*AudioMessage) Descriptor added in v0.56.1

func (*AudioMessage) Descriptor() ([]byte, []int)

func (*AudioMessage) GetDurationMs added in v0.56.1

func (m *AudioMessage) GetDurationMs() uint64

func (*AudioMessage) GetPayload added in v0.56.1

func (m *AudioMessage) GetPayload() []byte

func (*AudioMessage) GetType added in v0.56.1

func (m *AudioMessage) GetType() AudioMessage_AudioType

func (*AudioMessage) ProtoMessage added in v0.56.1

func (*AudioMessage) ProtoMessage()

func (*AudioMessage) Reset added in v0.56.1

func (m *AudioMessage) Reset()

func (*AudioMessage) String added in v0.56.1

func (m *AudioMessage) String() string

func (*AudioMessage) XXX_DiscardUnknown added in v0.56.1

func (m *AudioMessage) XXX_DiscardUnknown()

func (*AudioMessage) XXX_Marshal added in v0.56.1

func (m *AudioMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AudioMessage) XXX_Merge added in v0.56.1

func (m *AudioMessage) XXX_Merge(src proto.Message)

func (*AudioMessage) XXX_Size added in v0.56.1

func (m *AudioMessage) XXX_Size() int

func (*AudioMessage) XXX_Unmarshal added in v0.56.1

func (m *AudioMessage) XXX_Unmarshal(b []byte) error

type AudioMessage_AudioType added in v0.56.1

type AudioMessage_AudioType int32
const (
	AudioMessage_UNKNOWN_AUDIO_TYPE AudioMessage_AudioType = 0
	AudioMessage_AAC                AudioMessage_AudioType = 1
	AudioMessage_AMR                AudioMessage_AudioType = 2
)

func (AudioMessage_AudioType) EnumDescriptor added in v0.56.1

func (AudioMessage_AudioType) EnumDescriptor() ([]byte, []int)

func (AudioMessage_AudioType) String added in v0.56.1

func (x AudioMessage_AudioType) String() string

type ChatMessage

type ChatMessage struct {
	// Lamport timestamp of the chat message
	Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	// Unix timestamps in milliseconds, currently not used as we use whisper as more reliable, but here
	// so that we don't rely on it
	Timestamp uint64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Text of the message
	Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// Id of the message that we are replying to
	ResponseTo string `protobuf:"bytes,4,opt,name=response_to,json=responseTo,proto3" json:"response_to,omitempty"`
	// Ens name of the sender
	EnsName string `protobuf:"bytes,5,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
	// Chat id, this field is symmetric for public-chats and private group chats,
	// but asymmetric in case of one-to-ones, as the sender will use the chat-id
	// of the received, while the receiver will use the chat-id of the sender.
	// Probably should be the concatenation of sender-pk & receiver-pk in alphabetical order
	ChatId string `protobuf:"bytes,6,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	// The type of message (public/one-to-one/private-group-chat)
	MessageType MessageType `protobuf:"varint,7,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"`
	// The type of the content of the message
	ContentType ChatMessage_ContentType `` /* 133-byte string literal not displayed */
	// Types that are valid to be assigned to Payload:
	//	*ChatMessage_Sticker
	//	*ChatMessage_Image
	//	*ChatMessage_Audio
	Payload              isChatMessage_Payload `protobuf_oneof:"payload"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ChatMessage) Descriptor

func (*ChatMessage) Descriptor() ([]byte, []int)

func (*ChatMessage) GetAudio added in v0.56.1

func (m *ChatMessage) GetAudio() *AudioMessage

func (*ChatMessage) GetChatId

func (m *ChatMessage) GetChatId() string

func (*ChatMessage) GetClock

func (m *ChatMessage) GetClock() uint64

func (*ChatMessage) GetContentType

func (m *ChatMessage) GetContentType() ChatMessage_ContentType

func (*ChatMessage) GetEnsName

func (m *ChatMessage) GetEnsName() string

func (*ChatMessage) GetImage added in v0.54.0

func (m *ChatMessage) GetImage() *ImageMessage

func (*ChatMessage) GetMessageType

func (m *ChatMessage) GetMessageType() MessageType

func (*ChatMessage) GetPayload

func (m *ChatMessage) GetPayload() isChatMessage_Payload

func (*ChatMessage) GetResponseTo

func (m *ChatMessage) GetResponseTo() string

func (*ChatMessage) GetSticker

func (m *ChatMessage) GetSticker() *StickerMessage

func (*ChatMessage) GetText

func (m *ChatMessage) GetText() string

func (*ChatMessage) GetTimestamp

func (m *ChatMessage) GetTimestamp() uint64

func (*ChatMessage) ProtoMessage

func (*ChatMessage) ProtoMessage()

func (*ChatMessage) Reset

func (m *ChatMessage) Reset()

func (*ChatMessage) String

func (m *ChatMessage) String() string

func (*ChatMessage) XXX_DiscardUnknown

func (m *ChatMessage) XXX_DiscardUnknown()

func (*ChatMessage) XXX_Marshal

func (m *ChatMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChatMessage) XXX_Merge

func (m *ChatMessage) XXX_Merge(src proto.Message)

func (*ChatMessage) XXX_OneofWrappers

func (*ChatMessage) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ChatMessage) XXX_Size

func (m *ChatMessage) XXX_Size() int

func (*ChatMessage) XXX_Unmarshal

func (m *ChatMessage) XXX_Unmarshal(b []byte) error

type ChatMessage_Audio added in v0.56.1

type ChatMessage_Audio struct {
	Audio *AudioMessage `protobuf:"bytes,11,opt,name=audio,proto3,oneof"`
}

type ChatMessage_ContentType

type ChatMessage_ContentType int32
const (
	ChatMessage_UNKNOWN_CONTENT_TYPE ChatMessage_ContentType = 0
	ChatMessage_TEXT_PLAIN           ChatMessage_ContentType = 1
	ChatMessage_STICKER              ChatMessage_ContentType = 2
	ChatMessage_STATUS               ChatMessage_ContentType = 3
	ChatMessage_EMOJI                ChatMessage_ContentType = 4
	ChatMessage_TRANSACTION_COMMAND  ChatMessage_ContentType = 5
	// Only local
	ChatMessage_SYSTEM_MESSAGE_CONTENT_PRIVATE_GROUP ChatMessage_ContentType = 6
	ChatMessage_IMAGE                                ChatMessage_ContentType = 7
	ChatMessage_AUDIO                                ChatMessage_ContentType = 8
)

func (ChatMessage_ContentType) EnumDescriptor

func (ChatMessage_ContentType) EnumDescriptor() ([]byte, []int)

func (ChatMessage_ContentType) String

func (x ChatMessage_ContentType) String() string

type ChatMessage_Image added in v0.54.0

type ChatMessage_Image struct {
	Image *ImageMessage `protobuf:"bytes,10,opt,name=image,proto3,oneof"`
}

type ChatMessage_Sticker

type ChatMessage_Sticker struct {
	Sticker *StickerMessage `protobuf:"bytes,9,opt,name=sticker,proto3,oneof"`
}

type ContactCodeAdvertisement added in v0.56.1

type ContactCodeAdvertisement struct {
	PushNotificationInfo []*PushNotificationQueryInfo `protobuf:"bytes,1,rep,name=push_notification_info,json=pushNotificationInfo,proto3" json:"push_notification_info,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*ContactCodeAdvertisement) Descriptor added in v0.56.1

func (*ContactCodeAdvertisement) Descriptor() ([]byte, []int)

func (*ContactCodeAdvertisement) GetPushNotificationInfo added in v0.56.1

func (m *ContactCodeAdvertisement) GetPushNotificationInfo() []*PushNotificationQueryInfo

func (*ContactCodeAdvertisement) ProtoMessage added in v0.56.1

func (*ContactCodeAdvertisement) ProtoMessage()

func (*ContactCodeAdvertisement) Reset added in v0.56.1

func (m *ContactCodeAdvertisement) Reset()

func (*ContactCodeAdvertisement) String added in v0.56.1

func (m *ContactCodeAdvertisement) String() string

func (*ContactCodeAdvertisement) XXX_DiscardUnknown added in v0.56.1

func (m *ContactCodeAdvertisement) XXX_DiscardUnknown()

func (*ContactCodeAdvertisement) XXX_Marshal added in v0.56.1

func (m *ContactCodeAdvertisement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactCodeAdvertisement) XXX_Merge added in v0.56.1

func (m *ContactCodeAdvertisement) XXX_Merge(src proto.Message)

func (*ContactCodeAdvertisement) XXX_Size added in v0.56.1

func (m *ContactCodeAdvertisement) XXX_Size() int

func (*ContactCodeAdvertisement) XXX_Unmarshal added in v0.56.1

func (m *ContactCodeAdvertisement) XXX_Unmarshal(b []byte) error

type ContactUpdate

type ContactUpdate struct {
	Clock                uint64   `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	EnsName              string   `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
	ProfileImage         string   `protobuf:"bytes,3,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContactUpdate) Descriptor

func (*ContactUpdate) Descriptor() ([]byte, []int)

func (*ContactUpdate) GetClock

func (m *ContactUpdate) GetClock() uint64

func (*ContactUpdate) GetEnsName

func (m *ContactUpdate) GetEnsName() string

func (*ContactUpdate) GetProfileImage

func (m *ContactUpdate) GetProfileImage() string

func (*ContactUpdate) ProtoMessage

func (*ContactUpdate) ProtoMessage()

func (*ContactUpdate) Reset

func (m *ContactUpdate) Reset()

func (*ContactUpdate) String

func (m *ContactUpdate) String() string

func (*ContactUpdate) XXX_DiscardUnknown

func (m *ContactUpdate) XXX_DiscardUnknown()

func (*ContactUpdate) XXX_Marshal

func (m *ContactUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContactUpdate) XXX_Merge

func (m *ContactUpdate) XXX_Merge(src proto.Message)

func (*ContactUpdate) XXX_Size

func (m *ContactUpdate) XXX_Size() int

func (*ContactUpdate) XXX_Unmarshal

func (m *ContactUpdate) XXX_Unmarshal(b []byte) error

type DeclineRequestAddressForTransaction

type DeclineRequestAddressForTransaction struct {
	Clock                uint64   `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeclineRequestAddressForTransaction) Descriptor

func (*DeclineRequestAddressForTransaction) Descriptor() ([]byte, []int)

func (*DeclineRequestAddressForTransaction) GetClock

func (*DeclineRequestAddressForTransaction) GetId

func (*DeclineRequestAddressForTransaction) ProtoMessage

func (*DeclineRequestAddressForTransaction) ProtoMessage()

func (*DeclineRequestAddressForTransaction) Reset

func (*DeclineRequestAddressForTransaction) String

func (*DeclineRequestAddressForTransaction) XXX_DiscardUnknown

func (m *DeclineRequestAddressForTransaction) XXX_DiscardUnknown()

func (*DeclineRequestAddressForTransaction) XXX_Marshal

func (m *DeclineRequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeclineRequestAddressForTransaction) XXX_Merge

func (*DeclineRequestAddressForTransaction) XXX_Size

func (*DeclineRequestAddressForTransaction) XXX_Unmarshal

func (m *DeclineRequestAddressForTransaction) XXX_Unmarshal(b []byte) error

type DeclineRequestTransaction

type DeclineRequestTransaction struct {
	Clock                uint64   `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeclineRequestTransaction) Descriptor

func (*DeclineRequestTransaction) Descriptor() ([]byte, []int)

func (*DeclineRequestTransaction) GetClock

func (m *DeclineRequestTransaction) GetClock() uint64

func (*DeclineRequestTransaction) GetId

func (m *DeclineRequestTransaction) GetId() string

func (*DeclineRequestTransaction) ProtoMessage

func (*DeclineRequestTransaction) ProtoMessage()

func (*DeclineRequestTransaction) Reset

func (m *DeclineRequestTransaction) Reset()

func (*DeclineRequestTransaction) String

func (m *DeclineRequestTransaction) String() string

func (*DeclineRequestTransaction) XXX_DiscardUnknown

func (m *DeclineRequestTransaction) XXX_DiscardUnknown()

func (*DeclineRequestTransaction) XXX_Marshal

func (m *DeclineRequestTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeclineRequestTransaction) XXX_Merge

func (m *DeclineRequestTransaction) XXX_Merge(src proto.Message)

func (*DeclineRequestTransaction) XXX_Size

func (m *DeclineRequestTransaction) XXX_Size() int

func (*DeclineRequestTransaction) XXX_Unmarshal

func (m *DeclineRequestTransaction) XXX_Unmarshal(b []byte) error

type EmojiReaction added in v0.56.4

type EmojiReaction struct {
	// clock Lamport timestamp of the chat message
	Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	// chat_id the ID of the chat the message belongs to, for query efficiency the chat_id is stored in the db even though the
	// target message also stores the chat_id
	ChatId string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	// message_id the ID of the target message that the user wishes to react to
	MessageId string `protobuf:"bytes,3,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	// message_type is (somewhat confusingly) the ID of the type of chat the message belongs to
	MessageType MessageType `protobuf:"varint,4,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"`
	// type the ID of the emoji the user wishes to react with
	Type EmojiReaction_Type `protobuf:"varint,5,opt,name=type,proto3,enum=protobuf.EmojiReaction_Type" json:"type,omitempty"`
	// whether this is a rectraction of a previously sent emoji
	Retracted            bool     `protobuf:"varint,6,opt,name=retracted,proto3" json:"retracted,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EmojiReaction) Descriptor added in v0.56.4

func (*EmojiReaction) Descriptor() ([]byte, []int)

func (*EmojiReaction) GetChatId added in v0.56.4

func (m *EmojiReaction) GetChatId() string

func (*EmojiReaction) GetClock added in v0.56.4

func (m *EmojiReaction) GetClock() uint64

func (*EmojiReaction) GetMessageId added in v0.56.4

func (m *EmojiReaction) GetMessageId() string

func (*EmojiReaction) GetMessageType added in v0.56.4

func (m *EmojiReaction) GetMessageType() MessageType

func (*EmojiReaction) GetRetracted added in v0.56.4

func (m *EmojiReaction) GetRetracted() bool

func (*EmojiReaction) GetType added in v0.56.4

func (m *EmojiReaction) GetType() EmojiReaction_Type

func (*EmojiReaction) ProtoMessage added in v0.56.4

func (*EmojiReaction) ProtoMessage()

func (*EmojiReaction) Reset added in v0.56.4

func (m *EmojiReaction) Reset()

func (*EmojiReaction) String added in v0.56.4

func (m *EmojiReaction) String() string

func (*EmojiReaction) XXX_DiscardUnknown added in v0.56.4

func (m *EmojiReaction) XXX_DiscardUnknown()

func (*EmojiReaction) XXX_Marshal added in v0.56.4

func (m *EmojiReaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EmojiReaction) XXX_Merge added in v0.56.4

func (m *EmojiReaction) XXX_Merge(src proto.Message)

func (*EmojiReaction) XXX_Size added in v0.56.4

func (m *EmojiReaction) XXX_Size() int

func (*EmojiReaction) XXX_Unmarshal added in v0.56.4

func (m *EmojiReaction) XXX_Unmarshal(b []byte) error

type EmojiReaction_Type added in v0.56.4

type EmojiReaction_Type int32
const (
	EmojiReaction_UNKNOWN_EMOJI_REACTION_TYPE EmojiReaction_Type = 0
	EmojiReaction_LOVE                        EmojiReaction_Type = 1
	EmojiReaction_THUMBS_UP                   EmojiReaction_Type = 2
	EmojiReaction_THUMBS_DOWN                 EmojiReaction_Type = 3
	EmojiReaction_LAUGH                       EmojiReaction_Type = 4
	EmojiReaction_SAD                         EmojiReaction_Type = 5
	EmojiReaction_ANGRY                       EmojiReaction_Type = 6
)

func (EmojiReaction_Type) EnumDescriptor added in v0.56.4

func (EmojiReaction_Type) EnumDescriptor() ([]byte, []int)

func (EmojiReaction_Type) String added in v0.56.4

func (x EmojiReaction_Type) String() string

type GroupChatInvitation added in v0.60.0

type GroupChatInvitation struct {
	// clock Lamport timestamp of the chat message
	Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	// chat_id the ID of the private group chat the message belongs to, for query efficiency the chat_id is stored in the db even though the
	// target message also stores the chat_id
	ChatId              string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	IntroductionMessage string `protobuf:"bytes,3,opt,name=introduction_message,json=introductionMessage,proto3" json:"introduction_message,omitempty"`
	// state of invitation
	State                GroupChatInvitation_State `protobuf:"varint,4,opt,name=state,proto3,enum=protobuf.GroupChatInvitation_State" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*GroupChatInvitation) Descriptor added in v0.60.0

func (*GroupChatInvitation) Descriptor() ([]byte, []int)

func (*GroupChatInvitation) GetChatId added in v0.60.0

func (m *GroupChatInvitation) GetChatId() string

func (*GroupChatInvitation) GetClock added in v0.60.0

func (m *GroupChatInvitation) GetClock() uint64

func (*GroupChatInvitation) GetIntroductionMessage added in v0.60.0

func (m *GroupChatInvitation) GetIntroductionMessage() string

func (*GroupChatInvitation) GetState added in v0.60.0

func (*GroupChatInvitation) ProtoMessage added in v0.60.0

func (*GroupChatInvitation) ProtoMessage()

func (*GroupChatInvitation) Reset added in v0.60.0

func (m *GroupChatInvitation) Reset()

func (*GroupChatInvitation) String added in v0.60.0

func (m *GroupChatInvitation) String() string

func (*GroupChatInvitation) XXX_DiscardUnknown added in v0.60.0

func (m *GroupChatInvitation) XXX_DiscardUnknown()

func (*GroupChatInvitation) XXX_Marshal added in v0.60.0

func (m *GroupChatInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GroupChatInvitation) XXX_Merge added in v0.60.0

func (m *GroupChatInvitation) XXX_Merge(src proto.Message)

func (*GroupChatInvitation) XXX_Size added in v0.60.0

func (m *GroupChatInvitation) XXX_Size() int

func (*GroupChatInvitation) XXX_Unmarshal added in v0.60.0

func (m *GroupChatInvitation) XXX_Unmarshal(b []byte) error

type GroupChatInvitation_State added in v0.60.0

type GroupChatInvitation_State int32
const (
	GroupChatInvitation_UNKNOWN  GroupChatInvitation_State = 0
	GroupChatInvitation_REQUEST  GroupChatInvitation_State = 1
	GroupChatInvitation_REJECTED GroupChatInvitation_State = 2
	GroupChatInvitation_APPROVED GroupChatInvitation_State = 3
)

func (GroupChatInvitation_State) EnumDescriptor added in v0.60.0

func (GroupChatInvitation_State) EnumDescriptor() ([]byte, []int)

func (GroupChatInvitation_State) String added in v0.60.0

func (x GroupChatInvitation_State) String() string

type ImageMessage added in v0.54.0

type ImageMessage struct {
	Payload              []byte                 `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	Type                 ImageMessage_ImageType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.ImageMessage_ImageType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

func (*ImageMessage) Descriptor added in v0.54.0

func (*ImageMessage) Descriptor() ([]byte, []int)

func (*ImageMessage) GetPayload added in v0.54.0

func (m *ImageMessage) GetPayload() []byte

func (*ImageMessage) GetType added in v0.54.0

func (m *ImageMessage) GetType() ImageMessage_ImageType

func (*ImageMessage) ProtoMessage added in v0.54.0

func (*ImageMessage) ProtoMessage()

func (*ImageMessage) Reset added in v0.54.0

func (m *ImageMessage) Reset()

func (*ImageMessage) String added in v0.54.0

func (m *ImageMessage) String() string

func (*ImageMessage) XXX_DiscardUnknown added in v0.54.0

func (m *ImageMessage) XXX_DiscardUnknown()

func (*ImageMessage) XXX_Marshal added in v0.54.0

func (m *ImageMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageMessage) XXX_Merge added in v0.54.0

func (m *ImageMessage) XXX_Merge(src proto.Message)

func (*ImageMessage) XXX_Size added in v0.54.0

func (m *ImageMessage) XXX_Size() int

func (*ImageMessage) XXX_Unmarshal added in v0.54.0

func (m *ImageMessage) XXX_Unmarshal(b []byte) error

type ImageMessage_ImageType added in v0.54.0

type ImageMessage_ImageType int32
const (
	ImageMessage_UNKNOWN_IMAGE_TYPE ImageMessage_ImageType = 0
	ImageMessage_PNG                ImageMessage_ImageType = 1
	ImageMessage_JPEG               ImageMessage_ImageType = 2
	ImageMessage_WEBP               ImageMessage_ImageType = 3
	ImageMessage_GIF                ImageMessage_ImageType = 4
)

func (ImageMessage_ImageType) EnumDescriptor added in v0.54.0

func (ImageMessage_ImageType) EnumDescriptor() ([]byte, []int)

func (ImageMessage_ImageType) String added in v0.54.0

func (x ImageMessage_ImageType) String() string

type MembershipUpdateEvent

type MembershipUpdateEvent struct {
	// Lamport timestamp of the event
	Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	// List of public keys of objects of the action
	Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	// Name of the chat for the CHAT_CREATED/NAME_CHANGED event types
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// The type of the event
	Type                 MembershipUpdateEvent_EventType `protobuf:"varint,4,opt,name=type,proto3,enum=protobuf.MembershipUpdateEvent_EventType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

func (*MembershipUpdateEvent) Descriptor

func (*MembershipUpdateEvent) Descriptor() ([]byte, []int)

func (*MembershipUpdateEvent) GetClock

func (m *MembershipUpdateEvent) GetClock() uint64

func (*MembershipUpdateEvent) GetMembers

func (m *MembershipUpdateEvent) GetMembers() []string

func (*MembershipUpdateEvent) GetName

func (m *MembershipUpdateEvent) GetName() string

func (*MembershipUpdateEvent) GetType

func (*MembershipUpdateEvent) ProtoMessage

func (*MembershipUpdateEvent) ProtoMessage()

func (*MembershipUpdateEvent) Reset

func (m *MembershipUpdateEvent) Reset()

func (*MembershipUpdateEvent) String

func (m *MembershipUpdateEvent) String() string

func (*MembershipUpdateEvent) XXX_DiscardUnknown

func (m *MembershipUpdateEvent) XXX_DiscardUnknown()

func (*MembershipUpdateEvent) XXX_Marshal

func (m *MembershipUpdateEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MembershipUpdateEvent) XXX_Merge

func (m *MembershipUpdateEvent) XXX_Merge(src proto.Message)

func (*MembershipUpdateEvent) XXX_Size

func (m *MembershipUpdateEvent) XXX_Size() int

func (*MembershipUpdateEvent) XXX_Unmarshal

func (m *MembershipUpdateEvent) XXX_Unmarshal(b []byte) error

type MembershipUpdateEvent_EventType

type MembershipUpdateEvent_EventType int32
const (
	MembershipUpdateEvent_UNKNOWN        MembershipUpdateEvent_EventType = 0
	MembershipUpdateEvent_CHAT_CREATED   MembershipUpdateEvent_EventType = 1
	MembershipUpdateEvent_NAME_CHANGED   MembershipUpdateEvent_EventType = 2
	MembershipUpdateEvent_MEMBERS_ADDED  MembershipUpdateEvent_EventType = 3
	MembershipUpdateEvent_MEMBER_JOINED  MembershipUpdateEvent_EventType = 4
	MembershipUpdateEvent_MEMBER_REMOVED MembershipUpdateEvent_EventType = 5
	MembershipUpdateEvent_ADMINS_ADDED   MembershipUpdateEvent_EventType = 6
	MembershipUpdateEvent_ADMIN_REMOVED  MembershipUpdateEvent_EventType = 7
)

func (MembershipUpdateEvent_EventType) EnumDescriptor

func (MembershipUpdateEvent_EventType) EnumDescriptor() ([]byte, []int)

func (MembershipUpdateEvent_EventType) String

type MembershipUpdateMessage

type MembershipUpdateMessage struct {
	// The chat id of the private group chat
	ChatId string `protobuf:"bytes,1,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	// A list of events for this group chat, first x bytes are the signature, then is a
	// protobuf encoded MembershipUpdateEvent
	Events [][]byte `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
	// An optional chat message
	//
	// Types that are valid to be assigned to ChatEntity:
	//	*MembershipUpdateMessage_Message
	//	*MembershipUpdateMessage_EmojiReaction
	ChatEntity           isMembershipUpdateMessage_ChatEntity `protobuf_oneof:"chat_entity"`
	XXX_NoUnkeyedLiteral struct{}                             `json:"-"`
	XXX_unrecognized     []byte                               `json:"-"`
	XXX_sizecache        int32                                `json:"-"`
}

MembershipUpdateMessage is a message used to propagate information about group membership changes. For more information, see https://github.com/status-im/specs/blob/master/status-group-chats-spec.md.

func (*MembershipUpdateMessage) Descriptor

func (*MembershipUpdateMessage) Descriptor() ([]byte, []int)

func (*MembershipUpdateMessage) GetChatEntity added in v0.56.4

func (m *MembershipUpdateMessage) GetChatEntity() isMembershipUpdateMessage_ChatEntity

func (*MembershipUpdateMessage) GetChatId

func (m *MembershipUpdateMessage) GetChatId() string

func (*MembershipUpdateMessage) GetEmojiReaction added in v0.56.4

func (m *MembershipUpdateMessage) GetEmojiReaction() *EmojiReaction

func (*MembershipUpdateMessage) GetEvents

func (m *MembershipUpdateMessage) GetEvents() [][]byte

func (*MembershipUpdateMessage) GetMessage

func (m *MembershipUpdateMessage) GetMessage() *ChatMessage

func (*MembershipUpdateMessage) ProtoMessage

func (*MembershipUpdateMessage) ProtoMessage()

func (*MembershipUpdateMessage) Reset

func (m *MembershipUpdateMessage) Reset()

func (*MembershipUpdateMessage) String

func (m *MembershipUpdateMessage) String() string

func (*MembershipUpdateMessage) XXX_DiscardUnknown

func (m *MembershipUpdateMessage) XXX_DiscardUnknown()

func (*MembershipUpdateMessage) XXX_Marshal

func (m *MembershipUpdateMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MembershipUpdateMessage) XXX_Merge

func (m *MembershipUpdateMessage) XXX_Merge(src proto.Message)

func (*MembershipUpdateMessage) XXX_OneofWrappers added in v0.56.4

func (*MembershipUpdateMessage) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MembershipUpdateMessage) XXX_Size

func (m *MembershipUpdateMessage) XXX_Size() int

func (*MembershipUpdateMessage) XXX_Unmarshal

func (m *MembershipUpdateMessage) XXX_Unmarshal(b []byte) error

type MembershipUpdateMessage_EmojiReaction added in v0.56.4

type MembershipUpdateMessage_EmojiReaction struct {
	EmojiReaction *EmojiReaction `protobuf:"bytes,4,opt,name=emoji_reaction,json=emojiReaction,proto3,oneof"`
}

type MembershipUpdateMessage_Message added in v0.56.4

type MembershipUpdateMessage_Message struct {
	Message *ChatMessage `protobuf:"bytes,3,opt,name=message,proto3,oneof"`
}

type MessageType added in v0.56.4

type MessageType int32
const (
	MessageType_UNKNOWN_MESSAGE_TYPE MessageType = 0
	MessageType_ONE_TO_ONE           MessageType = 1
	MessageType_PUBLIC_GROUP         MessageType = 2
	MessageType_PRIVATE_GROUP        MessageType = 3
	// Only local
	MessageType_SYSTEM_MESSAGE_PRIVATE_GROUP MessageType = 4
)

func (MessageType) EnumDescriptor added in v0.56.4

func (MessageType) EnumDescriptor() ([]byte, []int)

func (MessageType) String added in v0.56.4

func (x MessageType) String() string

type PairInstallation

type PairInstallation struct {
	Clock                uint64   `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	InstallationId       string   `protobuf:"bytes,2,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"`
	DeviceType           string   `protobuf:"bytes,3,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	Name                 string   `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PairInstallation) Descriptor

func (*PairInstallation) Descriptor() ([]byte, []int)

func (*PairInstallation) GetClock

func (m *PairInstallation) GetClock() uint64

func (*PairInstallation) GetDeviceType

func (m *PairInstallation) GetDeviceType() string

func (*PairInstallation) GetInstallationId

func (m *PairInstallation) GetInstallationId() string

func (*PairInstallation) GetName

func (m *PairInstallation) GetName() string

func (*PairInstallation) ProtoMessage

func (*PairInstallation) ProtoMessage()

func (*PairInstallation) Reset

func (m *PairInstallation) Reset()

func (*PairInstallation) String

func (m *PairInstallation) String() string

func (*PairInstallation) XXX_DiscardUnknown

func (m *PairInstallation) XXX_DiscardUnknown()

func (*PairInstallation) XXX_Marshal

func (m *PairInstallation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PairInstallation) XXX_Merge

func (m *PairInstallation) XXX_Merge(src proto.Message)

func (*PairInstallation) XXX_Size

func (m *PairInstallation) XXX_Size() int

func (*PairInstallation) XXX_Unmarshal

func (m *PairInstallation) XXX_Unmarshal(b []byte) error

type PushNotification added in v0.56.1

type PushNotification struct {
	AccessToken          string                                `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	ChatId               []byte                                `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
	PublicKey            []byte                                `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	InstallationId       string                                `protobuf:"bytes,4,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"`
	Message              []byte                                `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	Type                 PushNotification_PushNotificationType `protobuf:"varint,6,opt,name=type,proto3,enum=protobuf.PushNotification_PushNotificationType" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*PushNotification) Descriptor added in v0.56.1

func (*PushNotification) Descriptor() ([]byte, []int)

func (*PushNotification) GetAccessToken added in v0.56.1

func (m *PushNotification) GetAccessToken() string

func (*PushNotification) GetChatId added in v0.56.1

func (m *PushNotification) GetChatId() []byte

func (*PushNotification) GetInstallationId added in v0.56.1

func (m *PushNotification) GetInstallationId() string

func (*PushNotification) GetMessage added in v0.56.1

func (m *PushNotification) GetMessage() []byte

func (*PushNotification) GetPublicKey added in v0.56.1

func (m *PushNotification) GetPublicKey() []byte

func (*PushNotification) GetType added in v0.59.0

func (*PushNotification) ProtoMessage added in v0.56.1

func (*PushNotification) ProtoMessage()

func (*PushNotification) Reset added in v0.56.1

func (m *PushNotification) Reset()

func (*PushNotification) String added in v0.56.1

func (m *PushNotification) String() string

func (*PushNotification) XXX_DiscardUnknown added in v0.56.1

func (m *PushNotification) XXX_DiscardUnknown()

func (*PushNotification) XXX_Marshal added in v0.56.1

func (m *PushNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PushNotification) XXX_Merge added in v0.56.1

func (m *PushNotification) XXX_Merge(src proto.Message)

func (*PushNotification) XXX_Size added in v0.56.1

func (m *PushNotification) XXX_Size() int

func (*PushNotification) XXX_Unmarshal added in v0.56.1

func (m *PushNotification) XXX_Unmarshal(b []byte) error

type PushNotificationQuery added in v0.56.1

type PushNotificationQuery struct {
	PublicKeys           [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PushNotificationQuery) Descriptor added in v0.56.1

func (*PushNotificationQuery) Descriptor() ([]byte, []int)

func (*PushNotificationQuery) GetPublicKeys added in v0.56.1

func (m *PushNotificationQuery) GetPublicKeys() [][]byte

func (*PushNotificationQuery) ProtoMessage added in v0.56.1

func (*PushNotificationQuery) ProtoMessage()

func (*PushNotificationQuery) Reset added in v0.56.1

func (m *PushNotificationQuery) Reset()

func (*PushNotificationQuery) String added in v0.56.1

func (m *PushNotificationQuery) String() string

func (*PushNotificationQuery) XXX_DiscardUnknown added in v0.56.1

func (m *PushNotificationQuery) XXX_DiscardUnknown()

func (*PushNotificationQuery) XXX_Marshal added in v0.56.1

func (m *PushNotificationQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PushNotificationQuery) XXX_Merge added in v0.56.1

func (m *PushNotificationQuery) XXX_Merge(src proto.Message)

func (*PushNotificationQuery) XXX_Size added in v0.56.1

func (m *PushNotificationQuery) XXX_Size() int

func (*PushNotificationQuery) XXX_Unmarshal added in v0.56.1

func (m *PushNotificationQuery) XXX_Unmarshal(b []byte) error

type PushNotificationQueryInfo added in v0.56.1

type PushNotificationQueryInfo struct {
	AccessToken          string   `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	InstallationId       string   `protobuf:"bytes,2,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"`
	PublicKey            []byte   `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	AllowedKeyList       [][]byte `protobuf:"bytes,4,rep,name=allowed_key_list,json=allowedKeyList,proto3" json:"allowed_key_list,omitempty"`
	Grant                []byte   `protobuf:"bytes,5,opt,name=grant,proto3" json:"grant,omitempty"`
	Version              uint64   `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"`
	ServerPublicKey      []byte   `protobuf:"bytes,7,opt,name=server_public_key,json=serverPublicKey,proto3" json:"server_public_key,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PushNotificationQueryInfo) Descriptor added in v0.56.1

func (*PushNotificationQueryInfo) Descriptor() ([]byte, []int)

func (*PushNotificationQueryInfo) GetAccessToken added in v0.56.1

func (m *PushNotificationQueryInfo) GetAccessToken() string

func (*PushNotificationQueryInfo) GetAllowedKeyList added in v0.56.1

func (m *PushNotificationQueryInfo) GetAllowedKeyList() [][]byte

func (*PushNotificationQueryInfo) GetGrant added in v0.56.1

func (m *PushNotificationQueryInfo) GetGrant() []byte

func (*PushNotificationQueryInfo) GetInstallationId added in v0.56.1

func (m *PushNotificationQueryInfo) GetInstallationId() string

func (*PushNotificationQueryInfo) GetPublicKey added in v0.56.1

func (m *PushNotificationQueryInfo) GetPublicKey() []byte

func (*PushNotificationQueryInfo) GetServerPublicKey added in v0.56.1

func (m *PushNotificationQueryInfo) GetServerPublicKey() []byte

func (*PushNotificationQueryInfo) GetVersion added in v0.56.1

func (m *PushNotificationQueryInfo) GetVersion() uint64

func (*PushNotificationQueryInfo) ProtoMessage added in v0.56.1

func (*PushNotificationQueryInfo) ProtoMessage()

func (*PushNotificationQueryInfo) Reset added in v0.56.1

func (m *PushNotificationQueryInfo) Reset()

func (*PushNotificationQueryInfo) String added in v0.56.1

func (m *PushNotificationQueryInfo) String() string

func (*PushNotificationQueryInfo) XXX_DiscardUnknown added in v0.56.1

func (m *PushNotificationQueryInfo) XXX_DiscardUnknown()

func (*PushNotificationQueryInfo) XXX_Marshal added in v0.56.1

func (m *PushNotificationQueryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PushNotificationQueryInfo) XXX_Merge added in v0.56.1

func (m *PushNotificationQueryInfo) XXX_Merge(src proto.Message)

func (*PushNotificationQueryInfo) XXX_Size added in v0.56.1

func (m *PushNotificationQueryInfo) XXX_Size() int

func (*PushNotificationQueryInfo) XXX_Unmarshal added in v0.56.1

func (m *PushNotificationQueryInfo) XXX_Unmarshal(b []byte) error

type PushNotificationQueryResponse added in v0.56.1

type PushNotificationQueryResponse struct {
	Info                 []*PushNotificationQueryInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info,omitempty"`
	MessageId            []byte                       `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	Success              bool                         `protobuf:"varint,3,opt,name=success,proto3" json:"success,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*PushNotificationQueryResponse) Descriptor added in v0.56.1

func (*PushNotificationQueryResponse) Descriptor() ([]byte, []int)

func (*PushNotificationQueryResponse) GetInfo added in v0.56.1

func (*PushNotificationQueryResponse) GetMessageId added in v0.56.1

func (m *PushNotificationQueryResponse) GetMessageId() []byte

func (*PushNotificationQueryResponse) GetSuccess added in v0.56.1

func (m *PushNotificationQueryResponse) GetSuccess() bool

func (*PushNotificationQueryResponse) ProtoMessage added in v0.56.1

func (*PushNotificationQueryResponse) ProtoMessage()

func (*PushNotificationQueryResponse) Reset added in v0.56.1

func (m *PushNotificationQueryResponse) Reset()

func (*PushNotificationQueryResponse) String added in v0.56.1

func (*PushNotificationQueryResponse) XXX_DiscardUnknown added in v0.56.1

func (m *PushNotificationQueryResponse) XXX_DiscardUnknown()

func (*PushNotificationQueryResponse) XXX_Marshal added in v0.56.1

func (m *PushNotificationQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PushNotificationQueryResponse) XXX_Merge added in v0.56.1

func (m *PushNotificationQueryResponse) XXX_Merge(src proto.Message)

func (*PushNotificationQueryResponse) XXX_Size added in v0.56.1

func (m *PushNotificationQueryResponse) XXX_Size() int

func (*PushNotificationQueryResponse) XXX_Unmarshal added in v0.56.1

func (m *PushNotificationQueryResponse) XXX_Unmarshal(b []byte) error

type PushNotificationRegistration added in v0.56.1

type PushNotificationRegistration struct {
	TokenType             PushNotificationRegistration_TokenType `` /* 142-byte string literal not displayed */
	DeviceToken           string                                 `protobuf:"bytes,2,opt,name=device_token,json=deviceToken,proto3" json:"device_token,omitempty"`
	InstallationId        string                                 `protobuf:"bytes,3,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"`
	AccessToken           string                                 `protobuf:"bytes,4,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	Enabled               bool                                   `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Version               uint64                                 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"`
	AllowedKeyList        [][]byte                               `protobuf:"bytes,7,rep,name=allowed_key_list,json=allowedKeyList,proto3" json:"allowed_key_list,omitempty"`
	BlockedChatList       [][]byte                               `protobuf:"bytes,8,rep,name=blocked_chat_list,json=blockedChatList,proto3" json:"blocked_chat_list,omitempty"`
	Unregister            bool                                   `protobuf:"varint,9,opt,name=unregister,proto3" json:"unregister,omitempty"`
	Grant                 []byte                                 `protobuf:"bytes,10,opt,name=grant,proto3" json:"grant,omitempty"`
	AllowFromContactsOnly bool                                   `` /* 130-byte string literal not displayed */
	ApnTopic              string                                 `protobuf:"bytes,12,opt,name=apn_topic,json=apnTopic,proto3" json:"apn_topic,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}                               `json:"-"`
	XXX_unrecognized      []byte                                 `json:"-"`
	XXX_sizecache         int32                                  `json:"-"`
}

func (*PushNotificationRegistration) Descriptor added in v0.56.1

func (*PushNotificationRegistration) Descriptor() ([]byte, []int)

func (*PushNotificationRegistration) GetAccessToken added in v0.56.1

func (m *PushNotificationRegistration) GetAccessToken() string

func (*PushNotificationRegistration) GetAllowFromContactsOnly added in v0.56.1

func (m *PushNotificationRegistration) GetAllowFromContactsOnly() bool

func (*PushNotificationRegistration) GetAllowedKeyList added in v0.56.1

func (m *PushNotificationRegistration) GetAllowedKeyList() [][]byte

func (*PushNotificationRegistration) GetApnTopic added in v0.59.0

func (m *PushNotificationRegistration) GetApnTopic() string

func (*PushNotificationRegistration) GetBlockedChatList added in v0.56.1

func (m *PushNotificationRegistration) GetBlockedChatList() [][]byte

func (*PushNotificationRegistration) GetDeviceToken added in v0.56.1

func (m *PushNotificationRegistration) GetDeviceToken() string

func (*PushNotificationRegistration) GetEnabled added in v0.56.1

func (m *PushNotificationRegistration) GetEnabled() bool

func (*PushNotificationRegistration) GetGrant added in v0.56.1

func (m *PushNotificationRegistration) GetGrant() []byte

func (*PushNotificationRegistration) GetInstallationId added in v0.56.1

func (m *PushNotificationRegistration) GetInstallationId() string

func (*PushNotificationRegistration) GetTokenType added in v0.56.1

func (*PushNotificationRegistration) GetUnregister added in v0.56.1

func (m *PushNotificationRegistration) GetUnregister() bool

func (*PushNotificationRegistration) GetVersion added in v0.56.1

func (m *PushNotificationRegistration) GetVersion() uint64

func (*PushNotificationRegistration) ProtoMessage added in v0.56.1

func (*PushNotificationRegistration) ProtoMessage()

func (*PushNotificationRegistration) Reset added in v0.56.1

func (m *PushNotificationRegistration) Reset()

func (*PushNotificationRegistration) String added in v0.56.1

func (*PushNotificationRegistration) XXX_DiscardUnknown added in v0.56.1

func (m *PushNotificationRegistration) XXX_DiscardUnknown()

func (*PushNotificationRegistration) XXX_Marshal added in v0.56.1

func (m *PushNotificationRegistration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PushNotificationRegistration) XXX_Merge added in v0.56.1

func (m *PushNotificationRegistration) XXX_Merge(src proto.Message)

func (*PushNotificationRegistration) XXX_Size added in v0.56.1

func (m *PushNotificationRegistration) XXX_Size() int

func (*PushNotificationRegistration) XXX_Unmarshal added in v0.56.1

func (m *PushNotificationRegistration) XXX_Unmarshal(b []byte) error

type PushNotificationRegistrationResponse added in v0.56.1

type PushNotificationRegistrationResponse struct {
	Success              bool                                           `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Error                PushNotificationRegistrationResponse_ErrorType `protobuf:"varint,2,opt,name=error,proto3,enum=protobuf.PushNotificationRegistrationResponse_ErrorType" json:"error,omitempty"`
	RequestId            []byte                                         `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
	XXX_unrecognized     []byte                                         `json:"-"`
	XXX_sizecache        int32                                          `json:"-"`
}

func (*PushNotificationRegistrationResponse) Descriptor added in v0.56.1

func (*PushNotificationRegistrationResponse) Descriptor() ([]byte, []int)

func (*PushNotificationRegistrationResponse) GetError added in v0.56.1

func (*PushNotificationRegistrationResponse) GetRequestId added in v0.56.1

func (m *PushNotificationRegistrationResponse) GetRequestId() []byte

func (*PushNotificationRegistrationResponse) GetSuccess added in v0.56.1

func (*PushNotificationRegistrationResponse) ProtoMessage added in v0.56.1

func (*PushNotificationRegistrationResponse) ProtoMessage()

func (*PushNotificationRegistrationResponse) Reset added in v0.56.1

func (*PushNotificationRegistrationResponse) String added in v0.56.1

func (*PushNotificationRegistrationResponse) XXX_DiscardUnknown added in v0.56.1

func (m *PushNotificationRegistrationResponse) XXX_DiscardUnknown()

func (*PushNotificationRegistrationResponse) XXX_Marshal added in v0.56.1

func (m *PushNotificationRegistrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PushNotificationRegistrationResponse) XXX_Merge added in v0.56.1

func (*PushNotificationRegistrationResponse) XXX_Size added in v0.56.1

func (*PushNotificationRegistrationResponse) XXX_Unmarshal added in v0.56.1

func (m *PushNotificationRegistrationResponse) XXX_Unmarshal(b []byte) error

type PushNotificationRegistrationResponse_ErrorType added in v0.56.1

type PushNotificationRegistrationResponse_ErrorType int32
const (
	PushNotificationRegistrationResponse_UNKNOWN_ERROR_TYPE     PushNotificationRegistrationResponse_ErrorType = 0
	PushNotificationRegistrationResponse_MALFORMED_MESSAGE      PushNotificationRegistrationResponse_ErrorType = 1
	PushNotificationRegistrationResponse_VERSION_MISMATCH       PushNotificationRegistrationResponse_ErrorType = 2
	PushNotificationRegistrationResponse_UNSUPPORTED_TOKEN_TYPE PushNotificationRegistrationResponse_ErrorType = 3
	PushNotificationRegistrationResponse_INTERNAL_ERROR         PushNotificationRegistrationResponse_ErrorType = 4
)

func (PushNotificationRegistrationResponse_ErrorType) EnumDescriptor added in v0.56.1

func (PushNotificationRegistrationResponse_ErrorType) String added in v0.56.1

type PushNotificationRegistration_TokenType added in v0.56.1

type PushNotificationRegistration_TokenType int32
const (
	PushNotificationRegistration_UNKNOWN_TOKEN_TYPE PushNotificationRegistration_TokenType = 0
	PushNotificationRegistration_APN_TOKEN          PushNotificationRegistration_TokenType = 1
	PushNotificationRegistration_FIREBASE_TOKEN     PushNotificationRegistration_TokenType = 2
)

func (PushNotificationRegistration_TokenType) EnumDescriptor added in v0.56.1

func (PushNotificationRegistration_TokenType) EnumDescriptor() ([]byte, []int)

func (PushNotificationRegistration_TokenType) String added in v0.56.1

type PushNotificationReport added in v0.56.1

type PushNotificationReport struct {
	Success              bool                             `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Error                PushNotificationReport_ErrorType `protobuf:"varint,2,opt,name=error,proto3,enum=protobuf.PushNotificationReport_ErrorType" json:"error,omitempty"`
	PublicKey            []byte                           `protobuf:"bytes,3,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	InstallationId       string                           `protobuf:"bytes,4,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (*PushNotificationReport) Descriptor added in v0.56.1

func (*PushNotificationReport) Descriptor() ([]byte, []int)

func (*PushNotificationReport) GetError added in v0.56.1

func (*PushNotificationReport) GetInstallationId added in v0.56.1

func (m *PushNotificationReport) GetInstallationId() string

func (*PushNotificationReport) GetPublicKey added in v0.56.1

func (m *PushNotificationReport) GetPublicKey() []byte

func (*PushNotificationReport) GetSuccess added in v0.56.1

func (m *PushNotificationReport) GetSuccess() bool

func (*PushNotificationReport) ProtoMessage added in v0.56.1

func (*PushNotificationReport) ProtoMessage()

func (*PushNotificationReport) Reset added in v0.56.1

func (m *PushNotificationReport) Reset()

func (*PushNotificationReport) String added in v0.56.1

func (m *PushNotificationReport) String() string

func (*PushNotificationReport) XXX_DiscardUnknown added in v0.56.1

func (m *PushNotificationReport) XXX_DiscardUnknown()

func (*PushNotificationReport) XXX_Marshal added in v0.56.1

func (m *PushNotificationReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PushNotificationReport) XXX_Merge added in v0.56.1

func (m *PushNotificationReport) XXX_Merge(src proto.Message)

func (*PushNotificationReport) XXX_Size added in v0.56.1

func (m *PushNotificationReport) XXX_Size() int

func (*PushNotificationReport) XXX_Unmarshal added in v0.56.1

func (m *PushNotificationReport) XXX_Unmarshal(b []byte) error

type PushNotificationReport_ErrorType added in v0.56.1

type PushNotificationReport_ErrorType int32
const (
	PushNotificationReport_UNKNOWN_ERROR_TYPE PushNotificationReport_ErrorType = 0
	PushNotificationReport_WRONG_TOKEN        PushNotificationReport_ErrorType = 1
	PushNotificationReport_INTERNAL_ERROR     PushNotificationReport_ErrorType = 2
	PushNotificationReport_NOT_REGISTERED     PushNotificationReport_ErrorType = 3
)

func (PushNotificationReport_ErrorType) EnumDescriptor added in v0.56.1

func (PushNotificationReport_ErrorType) EnumDescriptor() ([]byte, []int)

func (PushNotificationReport_ErrorType) String added in v0.56.1

type PushNotificationRequest added in v0.56.1

type PushNotificationRequest struct {
	Requests             []*PushNotification `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	MessageId            []byte              `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*PushNotificationRequest) Descriptor added in v0.56.1

func (*PushNotificationRequest) Descriptor() ([]byte, []int)

func (*PushNotificationRequest) GetMessageId added in v0.56.1

func (m *PushNotificationRequest) GetMessageId() []byte

func (*PushNotificationRequest) GetRequests added in v0.56.1

func (m *PushNotificationRequest) GetRequests() []*PushNotification

func (*PushNotificationRequest) ProtoMessage added in v0.56.1

func (*PushNotificationRequest) ProtoMessage()

func (*PushNotificationRequest) Reset added in v0.56.1

func (m *PushNotificationRequest) Reset()

func (*PushNotificationRequest) String added in v0.56.1

func (m *PushNotificationRequest) String() string

func (*PushNotificationRequest) XXX_DiscardUnknown added in v0.56.1

func (m *PushNotificationRequest) XXX_DiscardUnknown()

func (*PushNotificationRequest) XXX_Marshal added in v0.56.1

func (m *PushNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PushNotificationRequest) XXX_Merge added in v0.56.1

func (m *PushNotificationRequest) XXX_Merge(src proto.Message)

func (*PushNotificationRequest) XXX_Size added in v0.56.1

func (m *PushNotificationRequest) XXX_Size() int

func (*PushNotificationRequest) XXX_Unmarshal added in v0.56.1

func (m *PushNotificationRequest) XXX_Unmarshal(b []byte) error

type PushNotificationResponse added in v0.56.1

type PushNotificationResponse struct {
	MessageId            []byte                    `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
	Reports              []*PushNotificationReport `protobuf:"bytes,2,rep,name=reports,proto3" json:"reports,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*PushNotificationResponse) Descriptor added in v0.56.1

func (*PushNotificationResponse) Descriptor() ([]byte, []int)

func (*PushNotificationResponse) GetMessageId added in v0.56.1

func (m *PushNotificationResponse) GetMessageId() []byte

func (*PushNotificationResponse) GetReports added in v0.56.1

func (*PushNotificationResponse) ProtoMessage added in v0.56.1

func (*PushNotificationResponse) ProtoMessage()

func (*PushNotificationResponse) Reset added in v0.56.1

func (m *PushNotificationResponse) Reset()

func (*PushNotificationResponse) String added in v0.56.1

func (m *PushNotificationResponse) String() string

func (*PushNotificationResponse) XXX_DiscardUnknown added in v0.56.1

func (m *PushNotificationResponse) XXX_DiscardUnknown()

func (*PushNotificationResponse) XXX_Marshal added in v0.56.1

func (m *PushNotificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PushNotificationResponse) XXX_Merge added in v0.56.1

func (m *PushNotificationResponse) XXX_Merge(src proto.Message)

func (*PushNotificationResponse) XXX_Size added in v0.56.1

func (m *PushNotificationResponse) XXX_Size() int

func (*PushNotificationResponse) XXX_Unmarshal added in v0.56.1

func (m *PushNotificationResponse) XXX_Unmarshal(b []byte) error

type PushNotification_PushNotificationType added in v0.59.0

type PushNotification_PushNotificationType int32
const (
	PushNotification_UNKNOWN_PUSH_NOTIFICATION_TYPE PushNotification_PushNotificationType = 0
	PushNotification_MESSAGE                        PushNotification_PushNotificationType = 1
	PushNotification_MENTION                        PushNotification_PushNotificationType = 2
)

func (PushNotification_PushNotificationType) EnumDescriptor added in v0.59.0

func (PushNotification_PushNotificationType) EnumDescriptor() ([]byte, []int)

func (PushNotification_PushNotificationType) String added in v0.59.0

type RequestAddressForTransaction

type RequestAddressForTransaction struct {
	Clock                uint64   `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Contract             string   `protobuf:"bytes,3,opt,name=contract,proto3" json:"contract,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RequestAddressForTransaction) Descriptor

func (*RequestAddressForTransaction) Descriptor() ([]byte, []int)

func (*RequestAddressForTransaction) GetClock

func (m *RequestAddressForTransaction) GetClock() uint64

func (*RequestAddressForTransaction) GetContract

func (m *RequestAddressForTransaction) GetContract() string

func (*RequestAddressForTransaction) GetValue

func (m *RequestAddressForTransaction) GetValue() string

func (*RequestAddressForTransaction) ProtoMessage

func (*RequestAddressForTransaction) ProtoMessage()

func (*RequestAddressForTransaction) Reset

func (m *RequestAddressForTransaction) Reset()

func (*RequestAddressForTransaction) String

func (*RequestAddressForTransaction) XXX_DiscardUnknown

func (m *RequestAddressForTransaction) XXX_DiscardUnknown()

func (*RequestAddressForTransaction) XXX_Marshal

func (m *RequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestAddressForTransaction) XXX_Merge

func (m *RequestAddressForTransaction) XXX_Merge(src proto.Message)

func (*RequestAddressForTransaction) XXX_Size

func (m *RequestAddressForTransaction) XXX_Size() int

func (*RequestAddressForTransaction) XXX_Unmarshal

func (m *RequestAddressForTransaction) XXX_Unmarshal(b []byte) error

type RequestTransaction

type RequestTransaction struct {
	Clock                uint64   `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	Address              string   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Value                string   `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	Contract             string   `protobuf:"bytes,4,opt,name=contract,proto3" json:"contract,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RequestTransaction) Descriptor

func (*RequestTransaction) Descriptor() ([]byte, []int)

func (*RequestTransaction) GetAddress

func (m *RequestTransaction) GetAddress() string

func (*RequestTransaction) GetClock

func (m *RequestTransaction) GetClock() uint64

func (*RequestTransaction) GetContract

func (m *RequestTransaction) GetContract() string

func (*RequestTransaction) GetValue

func (m *RequestTransaction) GetValue() string

func (*RequestTransaction) ProtoMessage

func (*RequestTransaction) ProtoMessage()

func (*RequestTransaction) Reset

func (m *RequestTransaction) Reset()

func (*RequestTransaction) String

func (m *RequestTransaction) String() string

func (*RequestTransaction) XXX_DiscardUnknown

func (m *RequestTransaction) XXX_DiscardUnknown()

func (*RequestTransaction) XXX_Marshal

func (m *RequestTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestTransaction) XXX_Merge

func (m *RequestTransaction) XXX_Merge(src proto.Message)

func (*RequestTransaction) XXX_Size

func (m *RequestTransaction) XXX_Size() int

func (*RequestTransaction) XXX_Unmarshal

func (m *RequestTransaction) XXX_Unmarshal(b []byte) error

type SendTransaction

type SendTransaction struct {
	Clock                uint64   `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	TransactionHash      string   `protobuf:"bytes,3,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	Signature            []byte   `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendTransaction) Descriptor

func (*SendTransaction) Descriptor() ([]byte, []int)

func (*SendTransaction) GetClock

func (m *SendTransaction) GetClock() uint64

func (*SendTransaction) GetId

func (m *SendTransaction) GetId() string

func (*SendTransaction) GetSignature

func (m *SendTransaction) GetSignature() []byte

func (*SendTransaction) GetTransactionHash

func (m *SendTransaction) GetTransactionHash() string

func (*SendTransaction) ProtoMessage

func (*SendTransaction) ProtoMessage()

func (*SendTransaction) Reset

func (m *SendTransaction) Reset()

func (*SendTransaction) String

func (m *SendTransaction) String() string

func (*SendTransaction) XXX_DiscardUnknown

func (m *SendTransaction) XXX_DiscardUnknown()

func (*SendTransaction) XXX_Marshal

func (m *SendTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SendTransaction) XXX_Merge

func (m *SendTransaction) XXX_Merge(src proto.Message)

func (*SendTransaction) XXX_Size

func (m *SendTransaction) XXX_Size() int

func (*SendTransaction) XXX_Unmarshal

func (m *SendTransaction) XXX_Unmarshal(b []byte) error

type StickerMessage

type StickerMessage struct {
	Hash                 string   `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Pack                 int32    `protobuf:"varint,2,opt,name=pack,proto3" json:"pack,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StickerMessage) Descriptor

func (*StickerMessage) Descriptor() ([]byte, []int)

func (*StickerMessage) GetHash

func (m *StickerMessage) GetHash() string

func (*StickerMessage) GetPack

func (m *StickerMessage) GetPack() int32

func (*StickerMessage) ProtoMessage

func (*StickerMessage) ProtoMessage()

func (*StickerMessage) Reset

func (m *StickerMessage) Reset()

func (*StickerMessage) String

func (m *StickerMessage) String() string

func (*StickerMessage) XXX_DiscardUnknown

func (m *StickerMessage) XXX_DiscardUnknown()

func (*StickerMessage) XXX_Marshal

func (m *StickerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StickerMessage) XXX_Merge

func (m *StickerMessage) XXX_Merge(src proto.Message)

func (*StickerMessage) XXX_Size

func (m *StickerMessage) XXX_Size() int

func (*StickerMessage) XXX_Unmarshal

func (m *StickerMessage) XXX_Unmarshal(b []byte) error

type SyncInstallation

type SyncInstallation struct {
	Contacts             []*SyncInstallationContact    `protobuf:"bytes,1,rep,name=contacts,proto3" json:"contacts,omitempty"`
	PublicChats          []*SyncInstallationPublicChat `protobuf:"bytes,2,rep,name=public_chats,json=publicChats,proto3" json:"public_chats,omitempty"`
	Account              *SyncInstallationAccount      `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*SyncInstallation) Descriptor

func (*SyncInstallation) Descriptor() ([]byte, []int)

func (*SyncInstallation) GetAccount

func (m *SyncInstallation) GetAccount() *SyncInstallationAccount

func (*SyncInstallation) GetContacts

func (m *SyncInstallation) GetContacts() []*SyncInstallationContact

func (*SyncInstallation) GetPublicChats

func (m *SyncInstallation) GetPublicChats() []*SyncInstallationPublicChat

func (*SyncInstallation) ProtoMessage

func (*SyncInstallation) ProtoMessage()

func (*SyncInstallation) Reset

func (m *SyncInstallation) Reset()

func (*SyncInstallation) String

func (m *SyncInstallation) String() string

func (*SyncInstallation) XXX_DiscardUnknown

func (m *SyncInstallation) XXX_DiscardUnknown()

func (*SyncInstallation) XXX_Marshal

func (m *SyncInstallation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncInstallation) XXX_Merge

func (m *SyncInstallation) XXX_Merge(src proto.Message)

func (*SyncInstallation) XXX_Size

func (m *SyncInstallation) XXX_Size() int

func (*SyncInstallation) XXX_Unmarshal

func (m *SyncInstallation) XXX_Unmarshal(b []byte) error

type SyncInstallationAccount

type SyncInstallationAccount struct {
	Clock                uint64   `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	ProfileImage         string   `protobuf:"bytes,2,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"`
	LastUpdated          uint64   `protobuf:"varint,3,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SyncInstallationAccount) Descriptor

func (*SyncInstallationAccount) Descriptor() ([]byte, []int)

func (*SyncInstallationAccount) GetClock

func (m *SyncInstallationAccount) GetClock() uint64

func (*SyncInstallationAccount) GetLastUpdated

func (m *SyncInstallationAccount) GetLastUpdated() uint64

func (*SyncInstallationAccount) GetProfileImage

func (m *SyncInstallationAccount) GetProfileImage() string

func (*SyncInstallationAccount) ProtoMessage

func (*SyncInstallationAccount) ProtoMessage()

func (*SyncInstallationAccount) Reset

func (m *SyncInstallationAccount) Reset()

func (*SyncInstallationAccount) String

func (m *SyncInstallationAccount) String() string

func (*SyncInstallationAccount) XXX_DiscardUnknown

func (m *SyncInstallationAccount) XXX_DiscardUnknown()

func (*SyncInstallationAccount) XXX_Marshal

func (m *SyncInstallationAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncInstallationAccount) XXX_Merge

func (m *SyncInstallationAccount) XXX_Merge(src proto.Message)

func (*SyncInstallationAccount) XXX_Size

func (m *SyncInstallationAccount) XXX_Size() int

func (*SyncInstallationAccount) XXX_Unmarshal

func (m *SyncInstallationAccount) XXX_Unmarshal(b []byte) error

type SyncInstallationContact

type SyncInstallationContact struct {
	Clock                uint64   `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	ProfileImage         string   `protobuf:"bytes,3,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"`
	EnsName              string   `protobuf:"bytes,4,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"`
	LastUpdated          uint64   `protobuf:"varint,5,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"`
	SystemTags           []string `protobuf:"bytes,6,rep,name=system_tags,json=systemTags,proto3" json:"system_tags,omitempty"`
	LocalNickname        string   `protobuf:"bytes,7,opt,name=local_nickname,json=localNickname,proto3" json:"local_nickname,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SyncInstallationContact) Descriptor

func (*SyncInstallationContact) Descriptor() ([]byte, []int)

func (*SyncInstallationContact) GetClock

func (m *SyncInstallationContact) GetClock() uint64

func (*SyncInstallationContact) GetEnsName

func (m *SyncInstallationContact) GetEnsName() string

func (*SyncInstallationContact) GetId

func (m *SyncInstallationContact) GetId() string

func (*SyncInstallationContact) GetLastUpdated

func (m *SyncInstallationContact) GetLastUpdated() uint64

func (*SyncInstallationContact) GetLocalNickname added in v0.60.0

func (m *SyncInstallationContact) GetLocalNickname() string

func (*SyncInstallationContact) GetProfileImage

func (m *SyncInstallationContact) GetProfileImage() string

func (*SyncInstallationContact) GetSystemTags

func (m *SyncInstallationContact) GetSystemTags() []string

func (*SyncInstallationContact) ProtoMessage

func (*SyncInstallationContact) ProtoMessage()

func (*SyncInstallationContact) Reset

func (m *SyncInstallationContact) Reset()

func (*SyncInstallationContact) String

func (m *SyncInstallationContact) String() string

func (*SyncInstallationContact) XXX_DiscardUnknown

func (m *SyncInstallationContact) XXX_DiscardUnknown()

func (*SyncInstallationContact) XXX_Marshal

func (m *SyncInstallationContact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncInstallationContact) XXX_Merge

func (m *SyncInstallationContact) XXX_Merge(src proto.Message)

func (*SyncInstallationContact) XXX_Size

func (m *SyncInstallationContact) XXX_Size() int

func (*SyncInstallationContact) XXX_Unmarshal

func (m *SyncInstallationContact) XXX_Unmarshal(b []byte) error

type SyncInstallationPublicChat

type SyncInstallationPublicChat struct {
	Clock                uint64   `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"`
	Id                   string   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SyncInstallationPublicChat) Descriptor

func (*SyncInstallationPublicChat) Descriptor() ([]byte, []int)

func (*SyncInstallationPublicChat) GetClock

func (m *SyncInstallationPublicChat) GetClock() uint64

func (*SyncInstallationPublicChat) GetId

func (*SyncInstallationPublicChat) ProtoMessage

func (*SyncInstallationPublicChat) ProtoMessage()

func (*SyncInstallationPublicChat) Reset

func (m *SyncInstallationPublicChat) Reset()

func (*SyncInstallationPublicChat) String

func (m *SyncInstallationPublicChat) String() string

func (*SyncInstallationPublicChat) XXX_DiscardUnknown

func (m *SyncInstallationPublicChat) XXX_DiscardUnknown()

func (*SyncInstallationPublicChat) XXX_Marshal

func (m *SyncInstallationPublicChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SyncInstallationPublicChat) XXX_Merge

func (m *SyncInstallationPublicChat) XXX_Merge(src proto.Message)

func (*SyncInstallationPublicChat) XXX_Size

func (m *SyncInstallationPublicChat) XXX_Size() int

func (*SyncInstallationPublicChat) XXX_Unmarshal

func (m *SyncInstallationPublicChat) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL