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 AudioMessage
- func (*AudioMessage) Descriptor() ([]byte, []int)
- func (m *AudioMessage) GetDurationMs() uint64
- func (m *AudioMessage) GetPayload() []byte
- func (m *AudioMessage) GetType() AudioMessage_AudioType
- func (*AudioMessage) ProtoMessage()
- func (m *AudioMessage) Reset()
- func (m *AudioMessage) String() string
- func (m *AudioMessage) XXX_DiscardUnknown()
- func (m *AudioMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AudioMessage) XXX_Merge(src proto.Message)
- func (m *AudioMessage) XXX_Size() int
- func (m *AudioMessage) XXX_Unmarshal(b []byte) error
- type AudioMessage_AudioType
- type ChatIdentity
- func (*ChatIdentity) Descriptor() ([]byte, []int)
- func (m *ChatIdentity) GetClock() uint64
- func (m *ChatIdentity) GetColor() string
- func (m *ChatIdentity) GetDescription() string
- func (m *ChatIdentity) GetDisplayName() string
- func (m *ChatIdentity) GetEnsName() string
- func (m *ChatIdentity) GetImages() map[string]*IdentityImage
- func (*ChatIdentity) ProtoMessage()
- func (m *ChatIdentity) Reset()
- func (m *ChatIdentity) String() string
- func (m *ChatIdentity) XXX_DiscardUnknown()
- func (m *ChatIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChatIdentity) XXX_Merge(src proto.Message)
- func (m *ChatIdentity) XXX_Size() int
- func (m *ChatIdentity) XXX_Unmarshal(b []byte) error
- type ChatMessage
- func (*ChatMessage) Descriptor() ([]byte, []int)
- func (m *ChatMessage) GetAudio() *AudioMessage
- func (m *ChatMessage) GetChatId() string
- func (m *ChatMessage) GetClock() uint64
- func (m *ChatMessage) GetCommunity() []byte
- func (m *ChatMessage) GetContentType() ChatMessage_ContentType
- func (m *ChatMessage) GetEnsName() string
- func (m *ChatMessage) GetGrant() []byte
- func (m *ChatMessage) GetImage() *ImageMessage
- func (m *ChatMessage) GetMessageType() 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_Audio
- type ChatMessage_Community
- type ChatMessage_ContentType
- type ChatMessage_Image
- type ChatMessage_Sticker
- type CommunityChat
- func (*CommunityChat) Descriptor() ([]byte, []int)
- func (m *CommunityChat) GetIdentity() *ChatIdentity
- func (m *CommunityChat) GetMembers() map[string]*CommunityMember
- func (m *CommunityChat) GetPermissions() *CommunityPermissions
- func (*CommunityChat) ProtoMessage()
- func (m *CommunityChat) Reset()
- func (m *CommunityChat) String() string
- func (m *CommunityChat) XXX_DiscardUnknown()
- func (m *CommunityChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommunityChat) XXX_Merge(src proto.Message)
- func (m *CommunityChat) XXX_Size() int
- func (m *CommunityChat) XXX_Unmarshal(b []byte) error
- type CommunityDescription
- func (*CommunityDescription) Descriptor() ([]byte, []int)
- func (m *CommunityDescription) GetBanList() []string
- func (m *CommunityDescription) GetChats() map[string]*CommunityChat
- func (m *CommunityDescription) GetClock() uint64
- func (m *CommunityDescription) GetIdentity() *ChatIdentity
- func (m *CommunityDescription) GetMembers() map[string]*CommunityMember
- func (m *CommunityDescription) GetPermissions() *CommunityPermissions
- func (*CommunityDescription) ProtoMessage()
- func (m *CommunityDescription) Reset()
- func (m *CommunityDescription) String() string
- func (m *CommunityDescription) XXX_DiscardUnknown()
- func (m *CommunityDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommunityDescription) XXX_Merge(src proto.Message)
- func (m *CommunityDescription) XXX_Size() int
- func (m *CommunityDescription) XXX_Unmarshal(b []byte) error
- type CommunityInvitation
- func (*CommunityInvitation) Descriptor() ([]byte, []int)
- func (m *CommunityInvitation) GetChatId() string
- func (m *CommunityInvitation) GetCommunityDescription() []byte
- func (m *CommunityInvitation) GetGrant() []byte
- func (m *CommunityInvitation) GetPublicKey() []byte
- func (*CommunityInvitation) ProtoMessage()
- func (m *CommunityInvitation) Reset()
- func (m *CommunityInvitation) String() string
- func (m *CommunityInvitation) XXX_DiscardUnknown()
- func (m *CommunityInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommunityInvitation) XXX_Merge(src proto.Message)
- func (m *CommunityInvitation) XXX_Size() int
- func (m *CommunityInvitation) XXX_Unmarshal(b []byte) error
- type CommunityMember
- func (*CommunityMember) Descriptor() ([]byte, []int)
- func (m *CommunityMember) GetRoles() []CommunityMember_Roles
- func (*CommunityMember) ProtoMessage()
- func (m *CommunityMember) Reset()
- func (m *CommunityMember) String() string
- func (m *CommunityMember) XXX_DiscardUnknown()
- func (m *CommunityMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommunityMember) XXX_Merge(src proto.Message)
- func (m *CommunityMember) XXX_Size() int
- func (m *CommunityMember) XXX_Unmarshal(b []byte) error
- type CommunityMember_Roles
- type CommunityPermissions
- func (*CommunityPermissions) Descriptor() ([]byte, []int)
- func (m *CommunityPermissions) GetAccess() CommunityPermissions_Access
- func (m *CommunityPermissions) GetEnsOnly() bool
- func (m *CommunityPermissions) GetPrivate() bool
- func (*CommunityPermissions) ProtoMessage()
- func (m *CommunityPermissions) Reset()
- func (m *CommunityPermissions) String() string
- func (m *CommunityPermissions) XXX_DiscardUnknown()
- func (m *CommunityPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommunityPermissions) XXX_Merge(src proto.Message)
- func (m *CommunityPermissions) XXX_Size() int
- func (m *CommunityPermissions) XXX_Unmarshal(b []byte) error
- type CommunityPermissions_Access
- type CommunityRequestToJoin
- func (*CommunityRequestToJoin) Descriptor() ([]byte, []int)
- func (m *CommunityRequestToJoin) GetChatId() string
- func (m *CommunityRequestToJoin) GetClock() uint64
- func (m *CommunityRequestToJoin) GetCommunityId() []byte
- func (m *CommunityRequestToJoin) GetEnsName() string
- func (*CommunityRequestToJoin) ProtoMessage()
- func (m *CommunityRequestToJoin) Reset()
- func (m *CommunityRequestToJoin) String() string
- func (m *CommunityRequestToJoin) XXX_DiscardUnknown()
- func (m *CommunityRequestToJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommunityRequestToJoin) XXX_Merge(src proto.Message)
- func (m *CommunityRequestToJoin) XXX_Size() int
- func (m *CommunityRequestToJoin) XXX_Unmarshal(b []byte) error
- type CommunityRequestToJoinResponse
- func (*CommunityRequestToJoinResponse) Descriptor() ([]byte, []int)
- func (m *CommunityRequestToJoinResponse) GetAccepted() bool
- func (m *CommunityRequestToJoinResponse) GetClock() uint64
- func (m *CommunityRequestToJoinResponse) GetCommunity() *CommunityDescription
- func (m *CommunityRequestToJoinResponse) GetGrant() []byte
- func (*CommunityRequestToJoinResponse) ProtoMessage()
- func (m *CommunityRequestToJoinResponse) Reset()
- func (m *CommunityRequestToJoinResponse) String() string
- func (m *CommunityRequestToJoinResponse) XXX_DiscardUnknown()
- func (m *CommunityRequestToJoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommunityRequestToJoinResponse) XXX_Merge(src proto.Message)
- func (m *CommunityRequestToJoinResponse) XXX_Size() int
- func (m *CommunityRequestToJoinResponse) XXX_Unmarshal(b []byte) error
- type ContactCodeAdvertisement
- func (*ContactCodeAdvertisement) Descriptor() ([]byte, []int)
- func (m *ContactCodeAdvertisement) GetChatIdentity() *ChatIdentity
- func (m *ContactCodeAdvertisement) GetPushNotificationInfo() []*PushNotificationQueryInfo
- func (*ContactCodeAdvertisement) ProtoMessage()
- func (m *ContactCodeAdvertisement) Reset()
- func (m *ContactCodeAdvertisement) String() string
- func (m *ContactCodeAdvertisement) XXX_DiscardUnknown()
- func (m *ContactCodeAdvertisement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContactCodeAdvertisement) XXX_Merge(src proto.Message)
- func (m *ContactCodeAdvertisement) XXX_Size() int
- func (m *ContactCodeAdvertisement) XXX_Unmarshal(b []byte) error
- 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 EmojiReaction
- func (*EmojiReaction) Descriptor() ([]byte, []int)
- func (m *EmojiReaction) GetChatId() string
- func (m *EmojiReaction) GetClock() uint64
- func (m *EmojiReaction) GetGrant() []byte
- func (m *EmojiReaction) GetMessageId() string
- func (m *EmojiReaction) GetMessageType() MessageType
- func (m *EmojiReaction) GetRetracted() bool
- func (m *EmojiReaction) GetType() EmojiReaction_Type
- func (*EmojiReaction) ProtoMessage()
- func (m *EmojiReaction) Reset()
- func (m *EmojiReaction) String() string
- func (m *EmojiReaction) XXX_DiscardUnknown()
- func (m *EmojiReaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmojiReaction) XXX_Merge(src proto.Message)
- func (m *EmojiReaction) XXX_Size() int
- func (m *EmojiReaction) XXX_Unmarshal(b []byte) error
- type EmojiReaction_Type
- type Grant
- func (*Grant) Descriptor() ([]byte, []int)
- func (m *Grant) GetChatId() string
- func (m *Grant) GetClock() uint64
- func (m *Grant) GetCommunityId() []byte
- func (m *Grant) GetMemberId() []byte
- func (*Grant) ProtoMessage()
- func (m *Grant) Reset()
- func (m *Grant) String() string
- func (m *Grant) XXX_DiscardUnknown()
- func (m *Grant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Grant) XXX_Merge(src proto.Message)
- func (m *Grant) XXX_Size() int
- func (m *Grant) XXX_Unmarshal(b []byte) error
- type GroupChatInvitation
- func (*GroupChatInvitation) Descriptor() ([]byte, []int)
- func (m *GroupChatInvitation) GetChatId() string
- func (m *GroupChatInvitation) GetClock() uint64
- func (m *GroupChatInvitation) GetIntroductionMessage() string
- func (m *GroupChatInvitation) GetState() GroupChatInvitation_State
- func (*GroupChatInvitation) ProtoMessage()
- func (m *GroupChatInvitation) Reset()
- func (m *GroupChatInvitation) String() string
- func (m *GroupChatInvitation) XXX_DiscardUnknown()
- func (m *GroupChatInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupChatInvitation) XXX_Merge(src proto.Message)
- func (m *GroupChatInvitation) XXX_Size() int
- func (m *GroupChatInvitation) XXX_Unmarshal(b []byte) error
- type GroupChatInvitation_State
- type IdentityImage
- func (*IdentityImage) Descriptor() ([]byte, []int)
- func (m *IdentityImage) GetImageType() ImageType
- func (m *IdentityImage) GetPayload() []byte
- func (m *IdentityImage) GetSourceType() IdentityImage_SourceType
- func (*IdentityImage) ProtoMessage()
- func (m *IdentityImage) Reset()
- func (m *IdentityImage) String() string
- func (m *IdentityImage) XXX_DiscardUnknown()
- func (m *IdentityImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdentityImage) XXX_Merge(src proto.Message)
- func (m *IdentityImage) XXX_Size() int
- func (m *IdentityImage) XXX_Unmarshal(b []byte) error
- type IdentityImage_SourceType
- type ImageMessage
- func (*ImageMessage) Descriptor() ([]byte, []int)
- func (m *ImageMessage) GetPayload() []byte
- func (m *ImageMessage) GetType() ImageType
- func (*ImageMessage) ProtoMessage()
- func (m *ImageMessage) Reset()
- func (m *ImageMessage) String() string
- func (m *ImageMessage) XXX_DiscardUnknown()
- func (m *ImageMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImageMessage) XXX_Merge(src proto.Message)
- func (m *ImageMessage) XXX_Size() int
- func (m *ImageMessage) XXX_Unmarshal(b []byte) error
- type ImageType
- 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) GetChatEntity() isMembershipUpdateMessage_ChatEntity
- func (m *MembershipUpdateMessage) GetChatId() string
- func (m *MembershipUpdateMessage) GetEmojiReaction() *EmojiReaction
- 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 (*MembershipUpdateMessage) XXX_OneofWrappers() []interface{}
- func (m *MembershipUpdateMessage) XXX_Size() int
- func (m *MembershipUpdateMessage) XXX_Unmarshal(b []byte) error
- type MembershipUpdateMessage_EmojiReaction
- type MembershipUpdateMessage_Message
- type MessageType
- 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 PinMessage
- func (*PinMessage) Descriptor() ([]byte, []int)
- func (m *PinMessage) GetChatId() string
- func (m *PinMessage) GetClock() uint64
- func (m *PinMessage) GetMessageId() string
- func (m *PinMessage) GetMessageType() MessageType
- func (m *PinMessage) GetPinned() bool
- func (*PinMessage) ProtoMessage()
- func (m *PinMessage) Reset()
- func (m *PinMessage) String() string
- func (m *PinMessage) XXX_DiscardUnknown()
- func (m *PinMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PinMessage) XXX_Merge(src proto.Message)
- func (m *PinMessage) XXX_Size() int
- func (m *PinMessage) XXX_Unmarshal(b []byte) error
- type PushNotification
- func (*PushNotification) Descriptor() ([]byte, []int)
- func (m *PushNotification) GetAccessToken() string
- func (m *PushNotification) GetAuthor() []byte
- func (m *PushNotification) GetChatId() []byte
- func (m *PushNotification) GetInstallationId() string
- func (m *PushNotification) GetMessage() []byte
- func (m *PushNotification) GetPublicKey() []byte
- func (m *PushNotification) GetType() PushNotification_PushNotificationType
- func (*PushNotification) ProtoMessage()
- func (m *PushNotification) Reset()
- func (m *PushNotification) String() string
- func (m *PushNotification) XXX_DiscardUnknown()
- func (m *PushNotification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushNotification) XXX_Merge(src proto.Message)
- func (m *PushNotification) XXX_Size() int
- func (m *PushNotification) XXX_Unmarshal(b []byte) error
- type PushNotificationQuery
- func (*PushNotificationQuery) Descriptor() ([]byte, []int)
- func (m *PushNotificationQuery) GetPublicKeys() [][]byte
- func (*PushNotificationQuery) ProtoMessage()
- func (m *PushNotificationQuery) Reset()
- func (m *PushNotificationQuery) String() string
- func (m *PushNotificationQuery) XXX_DiscardUnknown()
- func (m *PushNotificationQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushNotificationQuery) XXX_Merge(src proto.Message)
- func (m *PushNotificationQuery) XXX_Size() int
- func (m *PushNotificationQuery) XXX_Unmarshal(b []byte) error
- type PushNotificationQueryInfo
- func (*PushNotificationQueryInfo) Descriptor() ([]byte, []int)
- func (m *PushNotificationQueryInfo) GetAccessToken() string
- func (m *PushNotificationQueryInfo) GetAllowedKeyList() [][]byte
- func (m *PushNotificationQueryInfo) GetGrant() []byte
- func (m *PushNotificationQueryInfo) GetInstallationId() string
- func (m *PushNotificationQueryInfo) GetPublicKey() []byte
- func (m *PushNotificationQueryInfo) GetServerPublicKey() []byte
- func (m *PushNotificationQueryInfo) GetVersion() uint64
- func (*PushNotificationQueryInfo) ProtoMessage()
- func (m *PushNotificationQueryInfo) Reset()
- func (m *PushNotificationQueryInfo) String() string
- func (m *PushNotificationQueryInfo) XXX_DiscardUnknown()
- func (m *PushNotificationQueryInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushNotificationQueryInfo) XXX_Merge(src proto.Message)
- func (m *PushNotificationQueryInfo) XXX_Size() int
- func (m *PushNotificationQueryInfo) XXX_Unmarshal(b []byte) error
- type PushNotificationQueryResponse
- func (*PushNotificationQueryResponse) Descriptor() ([]byte, []int)
- func (m *PushNotificationQueryResponse) GetInfo() []*PushNotificationQueryInfo
- func (m *PushNotificationQueryResponse) GetMessageId() []byte
- func (m *PushNotificationQueryResponse) GetSuccess() bool
- func (*PushNotificationQueryResponse) ProtoMessage()
- func (m *PushNotificationQueryResponse) Reset()
- func (m *PushNotificationQueryResponse) String() string
- func (m *PushNotificationQueryResponse) XXX_DiscardUnknown()
- func (m *PushNotificationQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushNotificationQueryResponse) XXX_Merge(src proto.Message)
- func (m *PushNotificationQueryResponse) XXX_Size() int
- func (m *PushNotificationQueryResponse) XXX_Unmarshal(b []byte) error
- type PushNotificationRegistration
- func (*PushNotificationRegistration) Descriptor() ([]byte, []int)
- func (m *PushNotificationRegistration) GetAccessToken() string
- func (m *PushNotificationRegistration) GetAllowFromContactsOnly() bool
- func (m *PushNotificationRegistration) GetAllowedKeyList() [][]byte
- func (m *PushNotificationRegistration) GetAllowedMentionsChatList() [][]byte
- func (m *PushNotificationRegistration) GetApnTopic() string
- func (m *PushNotificationRegistration) GetBlockMentions() bool
- func (m *PushNotificationRegistration) GetBlockedChatList() [][]byte
- func (m *PushNotificationRegistration) GetDeviceToken() string
- func (m *PushNotificationRegistration) GetEnabled() bool
- func (m *PushNotificationRegistration) GetGrant() []byte
- func (m *PushNotificationRegistration) GetInstallationId() string
- func (m *PushNotificationRegistration) GetTokenType() PushNotificationRegistration_TokenType
- func (m *PushNotificationRegistration) GetUnregister() bool
- func (m *PushNotificationRegistration) GetVersion() uint64
- func (*PushNotificationRegistration) ProtoMessage()
- func (m *PushNotificationRegistration) Reset()
- func (m *PushNotificationRegistration) String() string
- func (m *PushNotificationRegistration) XXX_DiscardUnknown()
- func (m *PushNotificationRegistration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushNotificationRegistration) XXX_Merge(src proto.Message)
- func (m *PushNotificationRegistration) XXX_Size() int
- func (m *PushNotificationRegistration) XXX_Unmarshal(b []byte) error
- type PushNotificationRegistrationResponse
- func (*PushNotificationRegistrationResponse) Descriptor() ([]byte, []int)
- func (m *PushNotificationRegistrationResponse) GetError() PushNotificationRegistrationResponse_ErrorType
- func (m *PushNotificationRegistrationResponse) GetRequestId() []byte
- func (m *PushNotificationRegistrationResponse) GetSuccess() bool
- func (*PushNotificationRegistrationResponse) ProtoMessage()
- func (m *PushNotificationRegistrationResponse) Reset()
- func (m *PushNotificationRegistrationResponse) String() string
- func (m *PushNotificationRegistrationResponse) XXX_DiscardUnknown()
- func (m *PushNotificationRegistrationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushNotificationRegistrationResponse) XXX_Merge(src proto.Message)
- func (m *PushNotificationRegistrationResponse) XXX_Size() int
- func (m *PushNotificationRegistrationResponse) XXX_Unmarshal(b []byte) error
- type PushNotificationRegistrationResponse_ErrorType
- type PushNotificationRegistration_TokenType
- type PushNotificationReport
- func (*PushNotificationReport) Descriptor() ([]byte, []int)
- func (m *PushNotificationReport) GetError() PushNotificationReport_ErrorType
- func (m *PushNotificationReport) GetInstallationId() string
- func (m *PushNotificationReport) GetPublicKey() []byte
- func (m *PushNotificationReport) GetSuccess() bool
- func (*PushNotificationReport) ProtoMessage()
- func (m *PushNotificationReport) Reset()
- func (m *PushNotificationReport) String() string
- func (m *PushNotificationReport) XXX_DiscardUnknown()
- func (m *PushNotificationReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushNotificationReport) XXX_Merge(src proto.Message)
- func (m *PushNotificationReport) XXX_Size() int
- func (m *PushNotificationReport) XXX_Unmarshal(b []byte) error
- type PushNotificationReport_ErrorType
- type PushNotificationRequest
- func (*PushNotificationRequest) Descriptor() ([]byte, []int)
- func (m *PushNotificationRequest) GetMessageId() []byte
- func (m *PushNotificationRequest) GetRequests() []*PushNotification
- func (*PushNotificationRequest) ProtoMessage()
- func (m *PushNotificationRequest) Reset()
- func (m *PushNotificationRequest) String() string
- func (m *PushNotificationRequest) XXX_DiscardUnknown()
- func (m *PushNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushNotificationRequest) XXX_Merge(src proto.Message)
- func (m *PushNotificationRequest) XXX_Size() int
- func (m *PushNotificationRequest) XXX_Unmarshal(b []byte) error
- type PushNotificationResponse
- func (*PushNotificationResponse) Descriptor() ([]byte, []int)
- func (m *PushNotificationResponse) GetMessageId() []byte
- func (m *PushNotificationResponse) GetReports() []*PushNotificationReport
- func (*PushNotificationResponse) ProtoMessage()
- func (m *PushNotificationResponse) Reset()
- func (m *PushNotificationResponse) String() string
- func (m *PushNotificationResponse) XXX_DiscardUnknown()
- func (m *PushNotificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushNotificationResponse) XXX_Merge(src proto.Message)
- func (m *PushNotificationResponse) XXX_Size() int
- func (m *PushNotificationResponse) XXX_Unmarshal(b []byte) error
- type PushNotification_PushNotificationType
- 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) GetLocalNickname() string
- 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",
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",
24: "CHAT_IDENTITY",
25: "COMMUNITY_DESCRIPTION",
26: "COMMUNITY_INVITATION",
27: "COMMUNITY_REQUEST_TO_JOIN",
28: "PIN_MESSAGE",
}
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,
"CHAT_IDENTITY": 24,
"COMMUNITY_DESCRIPTION": 25,
"COMMUNITY_INVITATION": 26,
"COMMUNITY_REQUEST_TO_JOIN": 27,
"PIN_MESSAGE": 28,
}
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",
9: "COMMUNITY",
}
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,
"COMMUNITY": 9,
}
View Source
var CommunityMember_Roles_name = map[int32]string{
0: "UNKNOWN_ROLE",
1: "ROLE_ALL",
2: "ROLE_MANAGE_USERS",
}
View Source
var CommunityMember_Roles_value = map[string]int32{
"UNKNOWN_ROLE": 0,
"ROLE_ALL": 1,
"ROLE_MANAGE_USERS": 2,
}
View Source
var CommunityPermissions_Access_name = map[int32]string{
0: "UNKNOWN_ACCESS",
1: "NO_MEMBERSHIP",
2: "INVITATION_ONLY",
3: "ON_REQUEST",
}
View Source
var CommunityPermissions_Access_value = map[string]int32{
"UNKNOWN_ACCESS": 0,
"NO_MEMBERSHIP": 1,
"INVITATION_ONLY": 2,
"ON_REQUEST": 3,
}
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 IdentityImage_SourceType_name = map[int32]string{
0: "UNKNOWN_SOURCE_TYPE",
1: "RAW_PAYLOAD",
2: "ENS_AVATAR",
}
View Source
var IdentityImage_SourceType_value = map[string]int32{
"UNKNOWN_SOURCE_TYPE": 0,
"RAW_PAYLOAD": 1,
"ENS_AVATAR": 2,
}
View Source
var ImageType_name = map[int32]string{
0: "UNKNOWN_IMAGE_TYPE",
1: "PNG",
2: "JPEG",
3: "WEBP",
4: "GIF",
}
View Source
var 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",
5: "COMMUNITY_CHAT",
}
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,
"COMMUNITY_CHAT": 5,
}
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",
3: "REQUEST_TO_JOIN_COMMUNITY",
}
View Source
var PushNotification_PushNotificationType_value = map[string]int32{
"UNKNOWN_PUSH_NOTIFICATION_TYPE": 0,
"MESSAGE": 1,
"MENTION": 2,
"REQUEST_TO_JOIN_COMMUNITY": 3,
}
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 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 ApplicationMetadataMessage_CHAT_IDENTITY ApplicationMetadataMessage_Type = 24 ApplicationMetadataMessage_COMMUNITY_DESCRIPTION ApplicationMetadataMessage_Type = 25 ApplicationMetadataMessage_COMMUNITY_INVITATION ApplicationMetadataMessage_Type = 26 ApplicationMetadataMessage_COMMUNITY_REQUEST_TO_JOIN ApplicationMetadataMessage_Type = 27 ApplicationMetadataMessage_PIN_MESSAGE ApplicationMetadataMessage_Type = 28 )
func (ApplicationMetadataMessage_Type) EnumDescriptor ¶
func (ApplicationMetadataMessage_Type) EnumDescriptor() ([]byte, []int)
func (ApplicationMetadataMessage_Type) String ¶
func (x ApplicationMetadataMessage_Type) String() 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 ChatIdentity ¶ added in v0.65.0
type ChatIdentity struct { // Lamport timestamp of the message Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` // ens_name is the valid ENS name associated with the chat key EnsName string `protobuf:"bytes,2,opt,name=ens_name,json=ensName,proto3" json:"ens_name,omitempty"` // images is a string indexed mapping of images associated with an identity Images map[string]*IdentityImage `` /* 153-byte string literal not displayed */ // display name is the user set identity, valid only for organisations DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // description is the user set description, valid only for organisations Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Color string `protobuf:"bytes,6,opt,name=color,proto3" json:"color,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ChatIdentity represents the user defined identity associated with their public chat key
func (*ChatIdentity) Descriptor ¶ added in v0.65.0
func (*ChatIdentity) Descriptor() ([]byte, []int)
func (*ChatIdentity) GetClock ¶ added in v0.65.0
func (m *ChatIdentity) GetClock() uint64
func (*ChatIdentity) GetColor ¶ added in v0.67.0
func (m *ChatIdentity) GetColor() string
func (*ChatIdentity) GetDescription ¶ added in v0.67.0
func (m *ChatIdentity) GetDescription() string
func (*ChatIdentity) GetDisplayName ¶ added in v0.67.0
func (m *ChatIdentity) GetDisplayName() string
func (*ChatIdentity) GetEnsName ¶ added in v0.65.0
func (m *ChatIdentity) GetEnsName() string
func (*ChatIdentity) GetImages ¶ added in v0.65.0
func (m *ChatIdentity) GetImages() map[string]*IdentityImage
func (*ChatIdentity) ProtoMessage ¶ added in v0.65.0
func (*ChatIdentity) ProtoMessage()
func (*ChatIdentity) Reset ¶ added in v0.65.0
func (m *ChatIdentity) Reset()
func (*ChatIdentity) String ¶ added in v0.65.0
func (m *ChatIdentity) String() string
func (*ChatIdentity) XXX_DiscardUnknown ¶ added in v0.65.0
func (m *ChatIdentity) XXX_DiscardUnknown()
func (*ChatIdentity) XXX_Marshal ¶ added in v0.65.0
func (m *ChatIdentity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChatIdentity) XXX_Merge ¶ added in v0.65.0
func (m *ChatIdentity) XXX_Merge(src proto.Message)
func (*ChatIdentity) XXX_Size ¶ added in v0.65.0
func (m *ChatIdentity) XXX_Size() int
func (*ChatIdentity) XXX_Unmarshal ¶ added in v0.65.0
func (m *ChatIdentity) XXX_Unmarshal(b []byte) error
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 // *ChatMessage_Community Payload isChatMessage_Payload `protobuf_oneof:"payload"` // Grant for community chat messages Grant []byte `protobuf:"bytes,13,opt,name=grant,proto3" json:"grant,omitempty"` 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) GetCommunity ¶ added in v0.67.0
func (m *ChatMessage) GetCommunity() []byte
func (*ChatMessage) GetContentType ¶
func (m *ChatMessage) GetContentType() ChatMessage_ContentType
func (*ChatMessage) GetEnsName ¶
func (m *ChatMessage) GetEnsName() string
func (*ChatMessage) GetGrant ¶ added in v0.67.0
func (m *ChatMessage) GetGrant() []byte
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_Community ¶ added in v0.67.0
type ChatMessage_Community struct {
Community []byte `protobuf:"bytes,12,opt,name=community,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 ChatMessage_COMMUNITY ChatMessage_ContentType = 9 )
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 CommunityChat ¶ added in v0.67.0
type CommunityChat struct { Members map[string]*CommunityMember `` /* 155-byte string literal not displayed */ Permissions *CommunityPermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"` Identity *ChatIdentity `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommunityChat) Descriptor ¶ added in v0.67.0
func (*CommunityChat) Descriptor() ([]byte, []int)
func (*CommunityChat) GetIdentity ¶ added in v0.67.0
func (m *CommunityChat) GetIdentity() *ChatIdentity
func (*CommunityChat) GetMembers ¶ added in v0.67.0
func (m *CommunityChat) GetMembers() map[string]*CommunityMember
func (*CommunityChat) GetPermissions ¶ added in v0.67.0
func (m *CommunityChat) GetPermissions() *CommunityPermissions
func (*CommunityChat) ProtoMessage ¶ added in v0.67.0
func (*CommunityChat) ProtoMessage()
func (*CommunityChat) Reset ¶ added in v0.67.0
func (m *CommunityChat) Reset()
func (*CommunityChat) String ¶ added in v0.67.0
func (m *CommunityChat) String() string
func (*CommunityChat) XXX_DiscardUnknown ¶ added in v0.67.0
func (m *CommunityChat) XXX_DiscardUnknown()
func (*CommunityChat) XXX_Marshal ¶ added in v0.67.0
func (m *CommunityChat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommunityChat) XXX_Merge ¶ added in v0.67.0
func (m *CommunityChat) XXX_Merge(src proto.Message)
func (*CommunityChat) XXX_Size ¶ added in v0.67.0
func (m *CommunityChat) XXX_Size() int
func (*CommunityChat) XXX_Unmarshal ¶ added in v0.67.0
func (m *CommunityChat) XXX_Unmarshal(b []byte) error
type CommunityDescription ¶ added in v0.67.0
type CommunityDescription struct { Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` Members map[string]*CommunityMember `` /* 155-byte string literal not displayed */ Permissions *CommunityPermissions `protobuf:"bytes,3,opt,name=permissions,proto3" json:"permissions,omitempty"` Identity *ChatIdentity `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` Chats map[string]*CommunityChat `` /* 151-byte string literal not displayed */ BanList []string `protobuf:"bytes,7,rep,name=ban_list,json=banList,proto3" json:"ban_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommunityDescription) Descriptor ¶ added in v0.67.0
func (*CommunityDescription) Descriptor() ([]byte, []int)
func (*CommunityDescription) GetBanList ¶ added in v0.73.9
func (m *CommunityDescription) GetBanList() []string
func (*CommunityDescription) GetChats ¶ added in v0.67.0
func (m *CommunityDescription) GetChats() map[string]*CommunityChat
func (*CommunityDescription) GetClock ¶ added in v0.67.0
func (m *CommunityDescription) GetClock() uint64
func (*CommunityDescription) GetIdentity ¶ added in v0.67.0
func (m *CommunityDescription) GetIdentity() *ChatIdentity
func (*CommunityDescription) GetMembers ¶ added in v0.67.0
func (m *CommunityDescription) GetMembers() map[string]*CommunityMember
func (*CommunityDescription) GetPermissions ¶ added in v0.67.0
func (m *CommunityDescription) GetPermissions() *CommunityPermissions
func (*CommunityDescription) ProtoMessage ¶ added in v0.67.0
func (*CommunityDescription) ProtoMessage()
func (*CommunityDescription) Reset ¶ added in v0.67.0
func (m *CommunityDescription) Reset()
func (*CommunityDescription) String ¶ added in v0.67.0
func (m *CommunityDescription) String() string
func (*CommunityDescription) XXX_DiscardUnknown ¶ added in v0.67.0
func (m *CommunityDescription) XXX_DiscardUnknown()
func (*CommunityDescription) XXX_Marshal ¶ added in v0.67.0
func (m *CommunityDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommunityDescription) XXX_Merge ¶ added in v0.67.0
func (m *CommunityDescription) XXX_Merge(src proto.Message)
func (*CommunityDescription) XXX_Size ¶ added in v0.67.0
func (m *CommunityDescription) XXX_Size() int
func (*CommunityDescription) XXX_Unmarshal ¶ added in v0.67.0
func (m *CommunityDescription) XXX_Unmarshal(b []byte) error
type CommunityInvitation ¶ added in v0.67.0
type CommunityInvitation struct { CommunityDescription []byte `protobuf:"bytes,1,opt,name=community_description,json=communityDescription,proto3" json:"community_description,omitempty"` Grant []byte `protobuf:"bytes,2,opt,name=grant,proto3" json:"grant,omitempty"` ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` PublicKey []byte `protobuf:"bytes,4,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommunityInvitation) Descriptor ¶ added in v0.67.0
func (*CommunityInvitation) Descriptor() ([]byte, []int)
func (*CommunityInvitation) GetChatId ¶ added in v0.67.0
func (m *CommunityInvitation) GetChatId() string
func (*CommunityInvitation) GetCommunityDescription ¶ added in v0.67.0
func (m *CommunityInvitation) GetCommunityDescription() []byte
func (*CommunityInvitation) GetGrant ¶ added in v0.67.0
func (m *CommunityInvitation) GetGrant() []byte
func (*CommunityInvitation) GetPublicKey ¶ added in v0.67.0
func (m *CommunityInvitation) GetPublicKey() []byte
func (*CommunityInvitation) ProtoMessage ¶ added in v0.67.0
func (*CommunityInvitation) ProtoMessage()
func (*CommunityInvitation) Reset ¶ added in v0.67.0
func (m *CommunityInvitation) Reset()
func (*CommunityInvitation) String ¶ added in v0.67.0
func (m *CommunityInvitation) String() string
func (*CommunityInvitation) XXX_DiscardUnknown ¶ added in v0.67.0
func (m *CommunityInvitation) XXX_DiscardUnknown()
func (*CommunityInvitation) XXX_Marshal ¶ added in v0.67.0
func (m *CommunityInvitation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommunityInvitation) XXX_Merge ¶ added in v0.67.0
func (m *CommunityInvitation) XXX_Merge(src proto.Message)
func (*CommunityInvitation) XXX_Size ¶ added in v0.67.0
func (m *CommunityInvitation) XXX_Size() int
func (*CommunityInvitation) XXX_Unmarshal ¶ added in v0.67.0
func (m *CommunityInvitation) XXX_Unmarshal(b []byte) error
type CommunityMember ¶ added in v0.67.0
type CommunityMember struct { Roles []CommunityMember_Roles `protobuf:"varint,1,rep,packed,name=roles,proto3,enum=protobuf.CommunityMember_Roles" json:"roles,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommunityMember) Descriptor ¶ added in v0.67.0
func (*CommunityMember) Descriptor() ([]byte, []int)
func (*CommunityMember) GetRoles ¶ added in v0.72.0
func (m *CommunityMember) GetRoles() []CommunityMember_Roles
func (*CommunityMember) ProtoMessage ¶ added in v0.67.0
func (*CommunityMember) ProtoMessage()
func (*CommunityMember) Reset ¶ added in v0.67.0
func (m *CommunityMember) Reset()
func (*CommunityMember) String ¶ added in v0.67.0
func (m *CommunityMember) String() string
func (*CommunityMember) XXX_DiscardUnknown ¶ added in v0.67.0
func (m *CommunityMember) XXX_DiscardUnknown()
func (*CommunityMember) XXX_Marshal ¶ added in v0.67.0
func (m *CommunityMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommunityMember) XXX_Merge ¶ added in v0.67.0
func (m *CommunityMember) XXX_Merge(src proto.Message)
func (*CommunityMember) XXX_Size ¶ added in v0.67.0
func (m *CommunityMember) XXX_Size() int
func (*CommunityMember) XXX_Unmarshal ¶ added in v0.67.0
func (m *CommunityMember) XXX_Unmarshal(b []byte) error
type CommunityMember_Roles ¶ added in v0.72.0
type CommunityMember_Roles int32
const ( CommunityMember_UNKNOWN_ROLE CommunityMember_Roles = 0 CommunityMember_ROLE_ALL CommunityMember_Roles = 1 CommunityMember_ROLE_MANAGE_USERS CommunityMember_Roles = 2 )
func (CommunityMember_Roles) EnumDescriptor ¶ added in v0.72.0
func (CommunityMember_Roles) EnumDescriptor() ([]byte, []int)
func (CommunityMember_Roles) String ¶ added in v0.72.0
func (x CommunityMember_Roles) String() string
type CommunityPermissions ¶ added in v0.67.0
type CommunityPermissions struct { EnsOnly bool `protobuf:"varint,1,opt,name=ens_only,json=ensOnly,proto3" json:"ens_only,omitempty"` // https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/megolm.md is a candidate for the algorithm to be used in case we want to have private communityal chats, lighter than pairwise encryption using the DR, less secure, but more efficient for large number of participants Private bool `protobuf:"varint,2,opt,name=private,proto3" json:"private,omitempty"` Access CommunityPermissions_Access `protobuf:"varint,3,opt,name=access,proto3,enum=protobuf.CommunityPermissions_Access" json:"access,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommunityPermissions) Descriptor ¶ added in v0.67.0
func (*CommunityPermissions) Descriptor() ([]byte, []int)
func (*CommunityPermissions) GetAccess ¶ added in v0.67.0
func (m *CommunityPermissions) GetAccess() CommunityPermissions_Access
func (*CommunityPermissions) GetEnsOnly ¶ added in v0.67.0
func (m *CommunityPermissions) GetEnsOnly() bool
func (*CommunityPermissions) GetPrivate ¶ added in v0.67.0
func (m *CommunityPermissions) GetPrivate() bool
func (*CommunityPermissions) ProtoMessage ¶ added in v0.67.0
func (*CommunityPermissions) ProtoMessage()
func (*CommunityPermissions) Reset ¶ added in v0.67.0
func (m *CommunityPermissions) Reset()
func (*CommunityPermissions) String ¶ added in v0.67.0
func (m *CommunityPermissions) String() string
func (*CommunityPermissions) XXX_DiscardUnknown ¶ added in v0.67.0
func (m *CommunityPermissions) XXX_DiscardUnknown()
func (*CommunityPermissions) XXX_Marshal ¶ added in v0.67.0
func (m *CommunityPermissions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommunityPermissions) XXX_Merge ¶ added in v0.67.0
func (m *CommunityPermissions) XXX_Merge(src proto.Message)
func (*CommunityPermissions) XXX_Size ¶ added in v0.67.0
func (m *CommunityPermissions) XXX_Size() int
func (*CommunityPermissions) XXX_Unmarshal ¶ added in v0.67.0
func (m *CommunityPermissions) XXX_Unmarshal(b []byte) error
type CommunityPermissions_Access ¶ added in v0.67.0
type CommunityPermissions_Access int32
const ( CommunityPermissions_UNKNOWN_ACCESS CommunityPermissions_Access = 0 CommunityPermissions_NO_MEMBERSHIP CommunityPermissions_Access = 1 CommunityPermissions_INVITATION_ONLY CommunityPermissions_Access = 2 CommunityPermissions_ON_REQUEST CommunityPermissions_Access = 3 )
func (CommunityPermissions_Access) EnumDescriptor ¶ added in v0.67.0
func (CommunityPermissions_Access) EnumDescriptor() ([]byte, []int)
func (CommunityPermissions_Access) String ¶ added in v0.67.0
func (x CommunityPermissions_Access) String() string
type CommunityRequestToJoin ¶ added in v0.72.0
type CommunityRequestToJoin 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"` ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` CommunityId []byte `protobuf:"bytes,4,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommunityRequestToJoin) Descriptor ¶ added in v0.72.0
func (*CommunityRequestToJoin) Descriptor() ([]byte, []int)
func (*CommunityRequestToJoin) GetChatId ¶ added in v0.72.0
func (m *CommunityRequestToJoin) GetChatId() string
func (*CommunityRequestToJoin) GetClock ¶ added in v0.72.0
func (m *CommunityRequestToJoin) GetClock() uint64
func (*CommunityRequestToJoin) GetCommunityId ¶ added in v0.72.0
func (m *CommunityRequestToJoin) GetCommunityId() []byte
func (*CommunityRequestToJoin) GetEnsName ¶ added in v0.72.0
func (m *CommunityRequestToJoin) GetEnsName() string
func (*CommunityRequestToJoin) ProtoMessage ¶ added in v0.72.0
func (*CommunityRequestToJoin) ProtoMessage()
func (*CommunityRequestToJoin) Reset ¶ added in v0.72.0
func (m *CommunityRequestToJoin) Reset()
func (*CommunityRequestToJoin) String ¶ added in v0.72.0
func (m *CommunityRequestToJoin) String() string
func (*CommunityRequestToJoin) XXX_DiscardUnknown ¶ added in v0.72.0
func (m *CommunityRequestToJoin) XXX_DiscardUnknown()
func (*CommunityRequestToJoin) XXX_Marshal ¶ added in v0.72.0
func (m *CommunityRequestToJoin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommunityRequestToJoin) XXX_Merge ¶ added in v0.72.0
func (m *CommunityRequestToJoin) XXX_Merge(src proto.Message)
func (*CommunityRequestToJoin) XXX_Size ¶ added in v0.72.0
func (m *CommunityRequestToJoin) XXX_Size() int
func (*CommunityRequestToJoin) XXX_Unmarshal ¶ added in v0.72.0
func (m *CommunityRequestToJoin) XXX_Unmarshal(b []byte) error
type CommunityRequestToJoinResponse ¶ added in v0.72.0
type CommunityRequestToJoinResponse struct { Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` Community *CommunityDescription `protobuf:"bytes,2,opt,name=community,proto3" json:"community,omitempty"` Accepted bool `protobuf:"varint,3,opt,name=accepted,proto3" json:"accepted,omitempty"` Grant []byte `protobuf:"bytes,4,opt,name=grant,proto3" json:"grant,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CommunityRequestToJoinResponse) Descriptor ¶ added in v0.72.0
func (*CommunityRequestToJoinResponse) Descriptor() ([]byte, []int)
func (*CommunityRequestToJoinResponse) GetAccepted ¶ added in v0.72.0
func (m *CommunityRequestToJoinResponse) GetAccepted() bool
func (*CommunityRequestToJoinResponse) GetClock ¶ added in v0.72.0
func (m *CommunityRequestToJoinResponse) GetClock() uint64
func (*CommunityRequestToJoinResponse) GetCommunity ¶ added in v0.72.0
func (m *CommunityRequestToJoinResponse) GetCommunity() *CommunityDescription
func (*CommunityRequestToJoinResponse) GetGrant ¶ added in v0.72.0
func (m *CommunityRequestToJoinResponse) GetGrant() []byte
func (*CommunityRequestToJoinResponse) ProtoMessage ¶ added in v0.72.0
func (*CommunityRequestToJoinResponse) ProtoMessage()
func (*CommunityRequestToJoinResponse) Reset ¶ added in v0.72.0
func (m *CommunityRequestToJoinResponse) Reset()
func (*CommunityRequestToJoinResponse) String ¶ added in v0.72.0
func (m *CommunityRequestToJoinResponse) String() string
func (*CommunityRequestToJoinResponse) XXX_DiscardUnknown ¶ added in v0.72.0
func (m *CommunityRequestToJoinResponse) XXX_DiscardUnknown()
func (*CommunityRequestToJoinResponse) XXX_Marshal ¶ added in v0.72.0
func (m *CommunityRequestToJoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommunityRequestToJoinResponse) XXX_Merge ¶ added in v0.72.0
func (m *CommunityRequestToJoinResponse) XXX_Merge(src proto.Message)
func (*CommunityRequestToJoinResponse) XXX_Size ¶ added in v0.72.0
func (m *CommunityRequestToJoinResponse) XXX_Size() int
func (*CommunityRequestToJoinResponse) XXX_Unmarshal ¶ added in v0.72.0
func (m *CommunityRequestToJoinResponse) XXX_Unmarshal(b []byte) error
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"` ChatIdentity *ChatIdentity `protobuf:"bytes,2,opt,name=chat_identity,json=chatIdentity,proto3" json:"chat_identity,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) GetChatIdentity ¶ added in v0.65.0
func (m *ContactCodeAdvertisement) GetChatIdentity() *ChatIdentity
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 (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 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"` // Grant for organisation chat messages Grant []byte `protobuf:"bytes,7,opt,name=grant,proto3" json:"grant,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) GetGrant ¶ added in v0.67.0
func (m *EmojiReaction) GetGrant() []byte
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 Grant ¶ added in v0.67.0
type Grant struct { CommunityId []byte `protobuf:"bytes,1,opt,name=community_id,json=communityId,proto3" json:"community_id,omitempty"` MemberId []byte `protobuf:"bytes,2,opt,name=member_id,json=memberId,proto3" json:"member_id,omitempty"` ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` Clock uint64 `protobuf:"varint,4,opt,name=clock,proto3" json:"clock,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Grant) Descriptor ¶ added in v0.67.0
func (*Grant) GetCommunityId ¶ added in v0.67.0
func (*Grant) GetMemberId ¶ added in v0.67.0
func (*Grant) ProtoMessage ¶ added in v0.67.0
func (*Grant) ProtoMessage()
func (*Grant) XXX_DiscardUnknown ¶ added in v0.67.0
func (m *Grant) XXX_DiscardUnknown()
func (*Grant) XXX_Marshal ¶ added in v0.67.0
func (*Grant) XXX_Unmarshal ¶ added in v0.67.0
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 (m *GroupChatInvitation) GetState() GroupChatInvitation_State
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 IdentityImage ¶ added in v0.65.0
type IdentityImage struct { // payload is a context based payload for the profile image data, // context is determined by the `source_type` Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // source_type signals the image payload source SourceType IdentityImage_SourceType `` /* 131-byte string literal not displayed */ // image_type signals the image type and method of parsing the payload ImageType ImageType `protobuf:"varint,3,opt,name=image_type,json=imageType,proto3,enum=protobuf.ImageType" json:"image_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ProfileImage represents data associated with a user's profile image
func (*IdentityImage) Descriptor ¶ added in v0.65.0
func (*IdentityImage) Descriptor() ([]byte, []int)
func (*IdentityImage) GetImageType ¶ added in v0.65.0
func (m *IdentityImage) GetImageType() ImageType
func (*IdentityImage) GetPayload ¶ added in v0.65.0
func (m *IdentityImage) GetPayload() []byte
func (*IdentityImage) GetSourceType ¶ added in v0.65.0
func (m *IdentityImage) GetSourceType() IdentityImage_SourceType
func (*IdentityImage) ProtoMessage ¶ added in v0.65.0
func (*IdentityImage) ProtoMessage()
func (*IdentityImage) Reset ¶ added in v0.65.0
func (m *IdentityImage) Reset()
func (*IdentityImage) String ¶ added in v0.65.0
func (m *IdentityImage) String() string
func (*IdentityImage) XXX_DiscardUnknown ¶ added in v0.65.0
func (m *IdentityImage) XXX_DiscardUnknown()
func (*IdentityImage) XXX_Marshal ¶ added in v0.65.0
func (m *IdentityImage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IdentityImage) XXX_Merge ¶ added in v0.65.0
func (m *IdentityImage) XXX_Merge(src proto.Message)
func (*IdentityImage) XXX_Size ¶ added in v0.65.0
func (m *IdentityImage) XXX_Size() int
func (*IdentityImage) XXX_Unmarshal ¶ added in v0.65.0
func (m *IdentityImage) XXX_Unmarshal(b []byte) error
type IdentityImage_SourceType ¶ added in v0.65.0
type IdentityImage_SourceType int32
SourceType are the predefined types of image source allowed
const ( IdentityImage_UNKNOWN_SOURCE_TYPE IdentityImage_SourceType = 0 // RAW_PAYLOAD image byte data IdentityImage_RAW_PAYLOAD IdentityImage_SourceType = 1 // ENS_AVATAR uses the ENS record's resolver get-text-data.avatar data // The `payload` field will be ignored if ENS_AVATAR is selected // The application will read and parse the ENS avatar data as image payload data, URLs will be ignored // The parent `ChatMessageIdentity` must have a valid `ens_name` set IdentityImage_ENS_AVATAR IdentityImage_SourceType = 2 )
func (IdentityImage_SourceType) EnumDescriptor ¶ added in v0.65.0
func (IdentityImage_SourceType) EnumDescriptor() ([]byte, []int)
func (IdentityImage_SourceType) String ¶ added in v0.65.0
func (x IdentityImage_SourceType) 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 ImageType `protobuf:"varint,2,opt,name=type,proto3,enum=protobuf.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() 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 ImageType ¶ added in v0.65.0
type ImageType int32
func (ImageType) EnumDescriptor ¶ added in v0.65.0
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 // // 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 MessageType_COMMUNITY_CHAT MessageType = 5 )
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 PinMessage ¶ added in v0.78.0
type PinMessage struct { Clock uint64 `protobuf:"varint,1,opt,name=clock,proto3" json:"clock,omitempty"` MessageId string `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` ChatId string `protobuf:"bytes,3,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"` Pinned bool `protobuf:"varint,4,opt,name=pinned,proto3" json:"pinned,omitempty"` // The type of message (public/one-to-one/private-group-chat) MessageType MessageType `protobuf:"varint,5,opt,name=message_type,json=messageType,proto3,enum=protobuf.MessageType" json:"message_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PinMessage) Descriptor ¶ added in v0.78.0
func (*PinMessage) Descriptor() ([]byte, []int)
func (*PinMessage) GetChatId ¶ added in v0.78.0
func (m *PinMessage) GetChatId() string
func (*PinMessage) GetClock ¶ added in v0.78.0
func (m *PinMessage) GetClock() uint64
func (*PinMessage) GetMessageId ¶ added in v0.78.0
func (m *PinMessage) GetMessageId() string
func (*PinMessage) GetMessageType ¶ added in v0.78.0
func (m *PinMessage) GetMessageType() MessageType
func (*PinMessage) GetPinned ¶ added in v0.78.0
func (m *PinMessage) GetPinned() bool
func (*PinMessage) ProtoMessage ¶ added in v0.78.0
func (*PinMessage) ProtoMessage()
func (*PinMessage) Reset ¶ added in v0.78.0
func (m *PinMessage) Reset()
func (*PinMessage) String ¶ added in v0.78.0
func (m *PinMessage) String() string
func (*PinMessage) XXX_DiscardUnknown ¶ added in v0.78.0
func (m *PinMessage) XXX_DiscardUnknown()
func (*PinMessage) XXX_Marshal ¶ added in v0.78.0
func (m *PinMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PinMessage) XXX_Merge ¶ added in v0.78.0
func (m *PinMessage) XXX_Merge(src proto.Message)
func (*PinMessage) XXX_Size ¶ added in v0.78.0
func (m *PinMessage) XXX_Size() int
func (*PinMessage) XXX_Unmarshal ¶ added in v0.78.0
func (m *PinMessage) 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"` Author []byte `protobuf:"bytes,7,opt,name=author,proto3" json:"author,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) GetAuthor ¶ added in v0.61.0
func (m *PushNotification) GetAuthor() []byte
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 (m *PushNotification) GetType() PushNotification_PushNotificationType
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 (m *PushNotificationQueryResponse) GetInfo() []*PushNotificationQueryInfo
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 (m *PushNotificationQueryResponse) String() string
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"` BlockMentions bool `protobuf:"varint,13,opt,name=block_mentions,json=blockMentions,proto3" json:"block_mentions,omitempty"` AllowedMentionsChatList [][]byte `` /* 135-byte string literal not displayed */ 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) GetAllowedMentionsChatList ¶ added in v0.61.0
func (m *PushNotificationRegistration) GetAllowedMentionsChatList() [][]byte
func (*PushNotificationRegistration) GetApnTopic ¶ added in v0.59.0
func (m *PushNotificationRegistration) GetApnTopic() string
func (*PushNotificationRegistration) GetBlockMentions ¶ added in v0.61.0
func (m *PushNotificationRegistration) GetBlockMentions() bool
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 (m *PushNotificationRegistration) GetTokenType() PushNotificationRegistration_TokenType
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 (m *PushNotificationRegistration) String() string
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 (m *PushNotificationRegistrationResponse) GetError() PushNotificationRegistrationResponse_ErrorType
func (*PushNotificationRegistrationResponse) GetRequestId ¶ added in v0.56.1
func (m *PushNotificationRegistrationResponse) GetRequestId() []byte
func (*PushNotificationRegistrationResponse) GetSuccess ¶ added in v0.56.1
func (m *PushNotificationRegistrationResponse) GetSuccess() bool
func (*PushNotificationRegistrationResponse) ProtoMessage ¶ added in v0.56.1
func (*PushNotificationRegistrationResponse) ProtoMessage()
func (*PushNotificationRegistrationResponse) Reset ¶ added in v0.56.1
func (m *PushNotificationRegistrationResponse) Reset()
func (*PushNotificationRegistrationResponse) String ¶ added in v0.56.1
func (m *PushNotificationRegistrationResponse) String() string
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 (m *PushNotificationRegistrationResponse) XXX_Merge(src proto.Message)
func (*PushNotificationRegistrationResponse) XXX_Size ¶ added in v0.56.1
func (m *PushNotificationRegistrationResponse) XXX_Size() int
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) EnumDescriptor() ([]byte, []int)
func (PushNotificationRegistrationResponse_ErrorType) String ¶ added in v0.56.1
func (x PushNotificationRegistrationResponse_ErrorType) String() string
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
func (x PushNotificationRegistration_TokenType) String() string
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 (m *PushNotificationReport) GetError() PushNotificationReport_ErrorType
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
func (x PushNotificationReport_ErrorType) String() string
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 (m *PushNotificationResponse) GetReports() []*PushNotificationReport
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 PushNotification_REQUEST_TO_JOIN_COMMUNITY PushNotification_PushNotificationType = 3 )
func (PushNotification_PushNotificationType) EnumDescriptor ¶ added in v0.59.0
func (PushNotification_PushNotificationType) EnumDescriptor() ([]byte, []int)
func (PushNotification_PushNotificationType) String ¶ added in v0.59.0
func (x PushNotification_PushNotificationType) String() string
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"` 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 (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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.