Documentation ¶
Index ¶
- Variables
- type AcceptRequestAddressForTransaction
- func (*AcceptRequestAddressForTransaction) Descriptor() ([]byte, []int)
- func (m *AcceptRequestAddressForTransaction) GetAddress() string
- func (m *AcceptRequestAddressForTransaction) GetClock() uint64
- func (m *AcceptRequestAddressForTransaction) GetId() string
- func (*AcceptRequestAddressForTransaction) ProtoMessage()
- func (m *AcceptRequestAddressForTransaction) Reset()
- func (m *AcceptRequestAddressForTransaction) String() string
- func (m *AcceptRequestAddressForTransaction) XXX_DiscardUnknown()
- func (m *AcceptRequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AcceptRequestAddressForTransaction) XXX_Merge(src proto.Message)
- func (m *AcceptRequestAddressForTransaction) XXX_Size() int
- func (m *AcceptRequestAddressForTransaction) XXX_Unmarshal(b []byte) error
- type ApplicationMetadataMessage
- func (*ApplicationMetadataMessage) Descriptor() ([]byte, []int)
- func (m *ApplicationMetadataMessage) GetPayload() []byte
- func (m *ApplicationMetadataMessage) GetSignature() []byte
- func (m *ApplicationMetadataMessage) GetType() ApplicationMetadataMessage_Type
- func (*ApplicationMetadataMessage) ProtoMessage()
- func (m *ApplicationMetadataMessage) RecoverKey() (*ecdsa.PublicKey, error)
- func (m *ApplicationMetadataMessage) Reset()
- func (m *ApplicationMetadataMessage) String() string
- func (m *ApplicationMetadataMessage) XXX_DiscardUnknown()
- func (m *ApplicationMetadataMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApplicationMetadataMessage) XXX_Merge(src proto.Message)
- func (m *ApplicationMetadataMessage) XXX_Size() int
- func (m *ApplicationMetadataMessage) XXX_Unmarshal(b []byte) error
- type ApplicationMetadataMessage_Type
- type ChatMessage
- func (*ChatMessage) Descriptor() ([]byte, []int)
- func (m *ChatMessage) GetChatId() string
- func (m *ChatMessage) GetClock() uint64
- func (m *ChatMessage) GetContentType() ChatMessage_ContentType
- func (m *ChatMessage) GetEnsName() string
- func (m *ChatMessage) GetMessageType() ChatMessage_MessageType
- func (m *ChatMessage) GetPayload() isChatMessage_Payload
- func (m *ChatMessage) GetResponseTo() string
- func (m *ChatMessage) GetSticker() *StickerMessage
- func (m *ChatMessage) GetText() string
- func (m *ChatMessage) GetTimestamp() uint64
- func (*ChatMessage) ProtoMessage()
- func (m *ChatMessage) Reset()
- func (m *ChatMessage) String() string
- func (m *ChatMessage) XXX_DiscardUnknown()
- func (m *ChatMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChatMessage) XXX_Merge(src proto.Message)
- func (*ChatMessage) XXX_OneofWrappers() []interface{}
- func (m *ChatMessage) XXX_Size() int
- func (m *ChatMessage) XXX_Unmarshal(b []byte) error
- type ChatMessage_ContentType
- type ChatMessage_MessageType
- type ChatMessage_Sticker
- type ContactUpdate
- func (*ContactUpdate) Descriptor() ([]byte, []int)
- func (m *ContactUpdate) GetClock() uint64
- func (m *ContactUpdate) GetEnsName() string
- func (m *ContactUpdate) GetProfileImage() string
- func (*ContactUpdate) ProtoMessage()
- func (m *ContactUpdate) Reset()
- func (m *ContactUpdate) String() string
- func (m *ContactUpdate) XXX_DiscardUnknown()
- func (m *ContactUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContactUpdate) XXX_Merge(src proto.Message)
- func (m *ContactUpdate) XXX_Size() int
- func (m *ContactUpdate) XXX_Unmarshal(b []byte) error
- type DeclineRequestAddressForTransaction
- func (*DeclineRequestAddressForTransaction) Descriptor() ([]byte, []int)
- func (m *DeclineRequestAddressForTransaction) GetClock() uint64
- func (m *DeclineRequestAddressForTransaction) GetId() string
- func (*DeclineRequestAddressForTransaction) ProtoMessage()
- func (m *DeclineRequestAddressForTransaction) Reset()
- func (m *DeclineRequestAddressForTransaction) String() string
- func (m *DeclineRequestAddressForTransaction) XXX_DiscardUnknown()
- func (m *DeclineRequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeclineRequestAddressForTransaction) XXX_Merge(src proto.Message)
- func (m *DeclineRequestAddressForTransaction) XXX_Size() int
- func (m *DeclineRequestAddressForTransaction) XXX_Unmarshal(b []byte) error
- type DeclineRequestTransaction
- func (*DeclineRequestTransaction) Descriptor() ([]byte, []int)
- func (m *DeclineRequestTransaction) GetClock() uint64
- func (m *DeclineRequestTransaction) GetId() string
- func (*DeclineRequestTransaction) ProtoMessage()
- func (m *DeclineRequestTransaction) Reset()
- func (m *DeclineRequestTransaction) String() string
- func (m *DeclineRequestTransaction) XXX_DiscardUnknown()
- func (m *DeclineRequestTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeclineRequestTransaction) XXX_Merge(src proto.Message)
- func (m *DeclineRequestTransaction) XXX_Size() int
- func (m *DeclineRequestTransaction) XXX_Unmarshal(b []byte) error
- type MembershipUpdateEvent
- func (*MembershipUpdateEvent) Descriptor() ([]byte, []int)
- func (m *MembershipUpdateEvent) GetClock() uint64
- func (m *MembershipUpdateEvent) GetMembers() []string
- func (m *MembershipUpdateEvent) GetName() string
- func (m *MembershipUpdateEvent) GetType() MembershipUpdateEvent_EventType
- func (*MembershipUpdateEvent) ProtoMessage()
- func (m *MembershipUpdateEvent) Reset()
- func (m *MembershipUpdateEvent) String() string
- func (m *MembershipUpdateEvent) XXX_DiscardUnknown()
- func (m *MembershipUpdateEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MembershipUpdateEvent) XXX_Merge(src proto.Message)
- func (m *MembershipUpdateEvent) XXX_Size() int
- func (m *MembershipUpdateEvent) XXX_Unmarshal(b []byte) error
- type MembershipUpdateEvent_EventType
- type MembershipUpdateMessage
- func (*MembershipUpdateMessage) Descriptor() ([]byte, []int)
- func (m *MembershipUpdateMessage) GetChatId() string
- func (m *MembershipUpdateMessage) GetEvents() [][]byte
- func (m *MembershipUpdateMessage) GetMessage() *ChatMessage
- func (*MembershipUpdateMessage) ProtoMessage()
- func (m *MembershipUpdateMessage) Reset()
- func (m *MembershipUpdateMessage) String() string
- func (m *MembershipUpdateMessage) XXX_DiscardUnknown()
- func (m *MembershipUpdateMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MembershipUpdateMessage) XXX_Merge(src proto.Message)
- func (m *MembershipUpdateMessage) XXX_Size() int
- func (m *MembershipUpdateMessage) XXX_Unmarshal(b []byte) error
- type PairInstallation
- func (*PairInstallation) Descriptor() ([]byte, []int)
- func (m *PairInstallation) GetClock() uint64
- func (m *PairInstallation) GetDeviceType() string
- func (m *PairInstallation) GetInstallationId() string
- func (m *PairInstallation) GetName() string
- func (*PairInstallation) ProtoMessage()
- func (m *PairInstallation) Reset()
- func (m *PairInstallation) String() string
- func (m *PairInstallation) XXX_DiscardUnknown()
- func (m *PairInstallation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PairInstallation) XXX_Merge(src proto.Message)
- func (m *PairInstallation) XXX_Size() int
- func (m *PairInstallation) XXX_Unmarshal(b []byte) error
- type RequestAddressForTransaction
- func (*RequestAddressForTransaction) Descriptor() ([]byte, []int)
- func (m *RequestAddressForTransaction) GetClock() uint64
- func (m *RequestAddressForTransaction) GetContract() string
- func (m *RequestAddressForTransaction) GetValue() string
- func (*RequestAddressForTransaction) ProtoMessage()
- func (m *RequestAddressForTransaction) Reset()
- func (m *RequestAddressForTransaction) String() string
- func (m *RequestAddressForTransaction) XXX_DiscardUnknown()
- func (m *RequestAddressForTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestAddressForTransaction) XXX_Merge(src proto.Message)
- func (m *RequestAddressForTransaction) XXX_Size() int
- func (m *RequestAddressForTransaction) XXX_Unmarshal(b []byte) error
- type RequestTransaction
- func (*RequestTransaction) Descriptor() ([]byte, []int)
- func (m *RequestTransaction) GetAddress() string
- func (m *RequestTransaction) GetClock() uint64
- func (m *RequestTransaction) GetContract() string
- func (m *RequestTransaction) GetValue() string
- func (*RequestTransaction) ProtoMessage()
- func (m *RequestTransaction) Reset()
- func (m *RequestTransaction) String() string
- func (m *RequestTransaction) XXX_DiscardUnknown()
- func (m *RequestTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestTransaction) XXX_Merge(src proto.Message)
- func (m *RequestTransaction) XXX_Size() int
- func (m *RequestTransaction) XXX_Unmarshal(b []byte) error
- type SendTransaction
- func (*SendTransaction) Descriptor() ([]byte, []int)
- func (m *SendTransaction) GetClock() uint64
- func (m *SendTransaction) GetId() string
- func (m *SendTransaction) GetSignature() []byte
- func (m *SendTransaction) GetTransactionHash() string
- func (*SendTransaction) ProtoMessage()
- func (m *SendTransaction) Reset()
- func (m *SendTransaction) String() string
- func (m *SendTransaction) XXX_DiscardUnknown()
- func (m *SendTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendTransaction) XXX_Merge(src proto.Message)
- func (m *SendTransaction) XXX_Size() int
- func (m *SendTransaction) XXX_Unmarshal(b []byte) error
- type StickerMessage
- func (*StickerMessage) Descriptor() ([]byte, []int)
- func (m *StickerMessage) GetHash() string
- func (m *StickerMessage) GetPack() int32
- func (*StickerMessage) ProtoMessage()
- func (m *StickerMessage) Reset()
- func (m *StickerMessage) String() string
- func (m *StickerMessage) XXX_DiscardUnknown()
- func (m *StickerMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StickerMessage) XXX_Merge(src proto.Message)
- func (m *StickerMessage) XXX_Size() int
- func (m *StickerMessage) XXX_Unmarshal(b []byte) error
- type SyncInstallation
- func (*SyncInstallation) Descriptor() ([]byte, []int)
- func (m *SyncInstallation) GetAccount() *SyncInstallationAccount
- func (m *SyncInstallation) GetContacts() []*SyncInstallationContact
- func (m *SyncInstallation) GetPublicChats() []*SyncInstallationPublicChat
- func (*SyncInstallation) ProtoMessage()
- func (m *SyncInstallation) Reset()
- func (m *SyncInstallation) String() string
- func (m *SyncInstallation) XXX_DiscardUnknown()
- func (m *SyncInstallation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncInstallation) XXX_Merge(src proto.Message)
- func (m *SyncInstallation) XXX_Size() int
- func (m *SyncInstallation) XXX_Unmarshal(b []byte) error
- type SyncInstallationAccount
- func (*SyncInstallationAccount) Descriptor() ([]byte, []int)
- func (m *SyncInstallationAccount) GetClock() uint64
- func (m *SyncInstallationAccount) GetLastUpdated() uint64
- func (m *SyncInstallationAccount) GetProfileImage() string
- func (*SyncInstallationAccount) ProtoMessage()
- func (m *SyncInstallationAccount) Reset()
- func (m *SyncInstallationAccount) String() string
- func (m *SyncInstallationAccount) XXX_DiscardUnknown()
- func (m *SyncInstallationAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncInstallationAccount) XXX_Merge(src proto.Message)
- func (m *SyncInstallationAccount) XXX_Size() int
- func (m *SyncInstallationAccount) XXX_Unmarshal(b []byte) error
- type SyncInstallationContact
- func (*SyncInstallationContact) Descriptor() ([]byte, []int)
- func (m *SyncInstallationContact) GetClock() uint64
- func (m *SyncInstallationContact) GetEnsName() string
- func (m *SyncInstallationContact) GetId() string
- func (m *SyncInstallationContact) GetLastUpdated() uint64
- func (m *SyncInstallationContact) GetProfileImage() string
- func (m *SyncInstallationContact) GetSystemTags() []string
- func (*SyncInstallationContact) ProtoMessage()
- func (m *SyncInstallationContact) Reset()
- func (m *SyncInstallationContact) String() string
- func (m *SyncInstallationContact) XXX_DiscardUnknown()
- func (m *SyncInstallationContact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncInstallationContact) XXX_Merge(src proto.Message)
- func (m *SyncInstallationContact) XXX_Size() int
- func (m *SyncInstallationContact) XXX_Unmarshal(b []byte) error
- type SyncInstallationPublicChat
- func (*SyncInstallationPublicChat) Descriptor() ([]byte, []int)
- func (m *SyncInstallationPublicChat) GetClock() uint64
- func (m *SyncInstallationPublicChat) GetId() string
- func (*SyncInstallationPublicChat) ProtoMessage()
- func (m *SyncInstallationPublicChat) Reset()
- func (m *SyncInstallationPublicChat) String() string
- func (m *SyncInstallationPublicChat) XXX_DiscardUnknown()
- func (m *SyncInstallationPublicChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncInstallationPublicChat) XXX_Merge(src proto.Message)
- func (m *SyncInstallationPublicChat) XXX_Size() int
- func (m *SyncInstallationPublicChat) XXX_Unmarshal(b []byte) error
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",
}
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,
}
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",
}
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,
}
View Source
var ChatMessage_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 ChatMessage_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 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,
}
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 (m *AcceptRequestAddressForTransaction) GetAddress() string
func (*AcceptRequestAddressForTransaction) GetClock ¶
func (m *AcceptRequestAddressForTransaction) GetClock() uint64
func (*AcceptRequestAddressForTransaction) GetId ¶
func (m *AcceptRequestAddressForTransaction) GetId() string
func (*AcceptRequestAddressForTransaction) ProtoMessage ¶
func (*AcceptRequestAddressForTransaction) ProtoMessage()
func (*AcceptRequestAddressForTransaction) Reset ¶
func (m *AcceptRequestAddressForTransaction) Reset()
func (*AcceptRequestAddressForTransaction) String ¶
func (m *AcceptRequestAddressForTransaction) String() 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 (m *AcceptRequestAddressForTransaction) XXX_Merge(src proto.Message)
func (*AcceptRequestAddressForTransaction) XXX_Size ¶
func (m *AcceptRequestAddressForTransaction) XXX_Size() int
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 (m *ApplicationMetadataMessage) GetType() ApplicationMetadataMessage_Type
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 )
func (ApplicationMetadataMessage_Type) EnumDescriptor ¶
func (ApplicationMetadataMessage_Type) EnumDescriptor() ([]byte, []int)
func (ApplicationMetadataMessage_Type) String ¶
func (x ApplicationMetadataMessage_Type) 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 ChatMessage_MessageType `` /* 133-byte string literal not displayed */ // 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 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) 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) GetMessageType ¶
func (m *ChatMessage) GetMessageType() ChatMessage_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_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 )
func (ChatMessage_ContentType) EnumDescriptor ¶
func (ChatMessage_ContentType) EnumDescriptor() ([]byte, []int)
func (ChatMessage_ContentType) String ¶
func (x ChatMessage_ContentType) String() string
type ChatMessage_MessageType ¶
type ChatMessage_MessageType int32
const ( ChatMessage_UNKNOWN_MESSAGE_TYPE ChatMessage_MessageType = 0 ChatMessage_ONE_TO_ONE ChatMessage_MessageType = 1 ChatMessage_PUBLIC_GROUP ChatMessage_MessageType = 2 ChatMessage_PRIVATE_GROUP ChatMessage_MessageType = 3 // Only local ChatMessage_SYSTEM_MESSAGE_PRIVATE_GROUP ChatMessage_MessageType = 4 )
func (ChatMessage_MessageType) EnumDescriptor ¶
func (ChatMessage_MessageType) EnumDescriptor() ([]byte, []int)
func (ChatMessage_MessageType) String ¶
func (x ChatMessage_MessageType) String() string
type ChatMessage_Sticker ¶
type ChatMessage_Sticker struct {
Sticker *StickerMessage `protobuf:"bytes,9,opt,name=sticker,proto3,oneof"`
}
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 (m *DeclineRequestAddressForTransaction) GetClock() uint64
func (*DeclineRequestAddressForTransaction) GetId ¶
func (m *DeclineRequestAddressForTransaction) GetId() string
func (*DeclineRequestAddressForTransaction) ProtoMessage ¶
func (*DeclineRequestAddressForTransaction) ProtoMessage()
func (*DeclineRequestAddressForTransaction) Reset ¶
func (m *DeclineRequestAddressForTransaction) Reset()
func (*DeclineRequestAddressForTransaction) String ¶
func (m *DeclineRequestAddressForTransaction) String() 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 (m *DeclineRequestAddressForTransaction) XXX_Merge(src proto.Message)
func (*DeclineRequestAddressForTransaction) XXX_Size ¶
func (m *DeclineRequestAddressForTransaction) XXX_Size() int
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 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 (m *MembershipUpdateEvent) GetType() MembershipUpdateEvent_EventType
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 ¶
func (x MembershipUpdateEvent_EventType) String() 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 Message *ChatMessage `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` 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) GetChatId ¶
func (m *MembershipUpdateMessage) GetChatId() string
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_Size ¶
func (m *MembershipUpdateMessage) XXX_Size() int
func (*MembershipUpdateMessage) XXX_Unmarshal ¶
func (m *MembershipUpdateMessage) XXX_Unmarshal(b []byte) error
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 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 (m *RequestAddressForTransaction) String() 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"` 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) 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 (m *SyncInstallationPublicChat) GetId() string
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
Click to show internal directories.
Click to hide internal directories.