waMsgTransport

package
v0.0.0-...-9860551 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MessageApplicationVersion = 2
)

Variables

View Source
var (
	MessageTransport_Protocol_Ancillary_BackupDirective_ActionType_name = map[int32]string{
		0: "NOOP",
		1: "UPSERT",
		2: "DELETE",
		3: "UPSERT_AND_DELETE",
	}
	MessageTransport_Protocol_Ancillary_BackupDirective_ActionType_value = map[string]int32{
		"NOOP":              0,
		"UPSERT":            1,
		"DELETE":            2,
		"UPSERT_AND_DELETE": 3,
	}
)

Enum value maps for MessageTransport_Protocol_Ancillary_BackupDirective_ActionType.

View Source
var File_waMsgTransport_WAMsgTransport_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeviceListMetadata

type DeviceListMetadata struct {
	SenderKeyHash      []byte  `protobuf:"bytes,1,opt,name=senderKeyHash" json:"senderKeyHash,omitempty"`
	SenderTimestamp    *uint64 `protobuf:"varint,2,opt,name=senderTimestamp" json:"senderTimestamp,omitempty"`
	RecipientKeyHash   []byte  `protobuf:"bytes,8,opt,name=recipientKeyHash" json:"recipientKeyHash,omitempty"`
	RecipientTimestamp *uint64 `protobuf:"varint,9,opt,name=recipientTimestamp" json:"recipientTimestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceListMetadata) Descriptor deprecated

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

Deprecated: Use DeviceListMetadata.ProtoReflect.Descriptor instead.

func (*DeviceListMetadata) GetRecipientKeyHash

func (x *DeviceListMetadata) GetRecipientKeyHash() []byte

func (*DeviceListMetadata) GetRecipientTimestamp

func (x *DeviceListMetadata) GetRecipientTimestamp() uint64

func (*DeviceListMetadata) GetSenderKeyHash

func (x *DeviceListMetadata) GetSenderKeyHash() []byte

func (*DeviceListMetadata) GetSenderTimestamp

func (x *DeviceListMetadata) GetSenderTimestamp() uint64

func (*DeviceListMetadata) ProtoMessage

func (*DeviceListMetadata) ProtoMessage()

func (*DeviceListMetadata) ProtoReflect

func (x *DeviceListMetadata) ProtoReflect() protoreflect.Message

func (*DeviceListMetadata) Reset

func (x *DeviceListMetadata) Reset()

func (*DeviceListMetadata) String

func (x *DeviceListMetadata) String() string

type MessageTransport

type MessageTransport struct {
	Payload  *MessageTransport_Payload  `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
	Protocol *MessageTransport_Protocol `protobuf:"bytes,2,opt,name=protocol" json:"protocol,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTransport) Descriptor deprecated

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

Deprecated: Use MessageTransport.ProtoReflect.Descriptor instead.

func (*MessageTransport) GetPayload

func (x *MessageTransport) GetPayload() *MessageTransport_Payload

func (*MessageTransport) GetProtocol

func (x *MessageTransport) GetProtocol() *MessageTransport_Protocol

func (*MessageTransport) ProtoMessage

func (*MessageTransport) ProtoMessage()

func (*MessageTransport) ProtoReflect

func (x *MessageTransport) ProtoReflect() protoreflect.Message

func (*MessageTransport) Reset

func (x *MessageTransport) Reset()

func (*MessageTransport) String

func (x *MessageTransport) String() string

type MessageTransport_Payload

type MessageTransport_Payload struct {
	ApplicationPayload *waCommon.SubProtocol         `protobuf:"bytes,1,opt,name=applicationPayload" json:"applicationPayload,omitempty"`
	FutureProof        *waCommon.FutureProofBehavior `protobuf:"varint,3,opt,name=futureProof,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTransport_Payload) Decode

func (*MessageTransport_Payload) Descriptor deprecated

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

Deprecated: Use MessageTransport_Payload.ProtoReflect.Descriptor instead.

func (*MessageTransport_Payload) GetApplicationPayload

func (x *MessageTransport_Payload) GetApplicationPayload() *waCommon.SubProtocol

func (*MessageTransport_Payload) GetFutureProof

func (*MessageTransport_Payload) ProtoMessage

func (*MessageTransport_Payload) ProtoMessage()

func (*MessageTransport_Payload) ProtoReflect

func (x *MessageTransport_Payload) ProtoReflect() protoreflect.Message

func (*MessageTransport_Payload) Reset

func (x *MessageTransport_Payload) Reset()

func (*MessageTransport_Payload) Set

func (*MessageTransport_Payload) String

func (x *MessageTransport_Payload) String() string

type MessageTransport_Protocol

type MessageTransport_Protocol struct {
	Integral  *MessageTransport_Protocol_Integral  `protobuf:"bytes,1,opt,name=integral" json:"integral,omitempty"`
	Ancillary *MessageTransport_Protocol_Ancillary `protobuf:"bytes,2,opt,name=ancillary" json:"ancillary,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTransport_Protocol) Descriptor deprecated

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

Deprecated: Use MessageTransport_Protocol.ProtoReflect.Descriptor instead.

func (*MessageTransport_Protocol) GetAncillary

func (*MessageTransport_Protocol) GetIntegral

func (*MessageTransport_Protocol) ProtoMessage

func (*MessageTransport_Protocol) ProtoMessage()

func (*MessageTransport_Protocol) ProtoReflect

func (*MessageTransport_Protocol) Reset

func (x *MessageTransport_Protocol) Reset()

func (*MessageTransport_Protocol) String

func (x *MessageTransport_Protocol) String() string

type MessageTransport_Protocol_Ancillary

type MessageTransport_Protocol_Ancillary struct {
	Skdm               *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage `protobuf:"bytes,2,opt,name=skdm" json:"skdm,omitempty"`
	DeviceListMetadata *DeviceListMetadata                                               `protobuf:"bytes,3,opt,name=deviceListMetadata" json:"deviceListMetadata,omitempty"`
	Icdc               *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices       `protobuf:"bytes,4,opt,name=icdc" json:"icdc,omitempty"`
	BackupDirective    *MessageTransport_Protocol_Ancillary_BackupDirective              `protobuf:"bytes,5,opt,name=backupDirective" json:"backupDirective,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTransport_Protocol_Ancillary) Descriptor deprecated

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

Deprecated: Use MessageTransport_Protocol_Ancillary.ProtoReflect.Descriptor instead.

func (*MessageTransport_Protocol_Ancillary) GetBackupDirective

func (*MessageTransport_Protocol_Ancillary) GetDeviceListMetadata

func (x *MessageTransport_Protocol_Ancillary) GetDeviceListMetadata() *DeviceListMetadata

func (*MessageTransport_Protocol_Ancillary) GetIcdc

func (*MessageTransport_Protocol_Ancillary) ProtoMessage

func (*MessageTransport_Protocol_Ancillary) ProtoMessage()

func (*MessageTransport_Protocol_Ancillary) ProtoReflect

func (*MessageTransport_Protocol_Ancillary) Reset

func (*MessageTransport_Protocol_Ancillary) String

type MessageTransport_Protocol_Ancillary_BackupDirective

type MessageTransport_Protocol_Ancillary_BackupDirective struct {
	MessageID       *string                                                         `protobuf:"bytes,1,opt,name=messageID" json:"messageID,omitempty"`
	ActionType      *MessageTransport_Protocol_Ancillary_BackupDirective_ActionType `` /* 150-byte string literal not displayed */
	SupplementalKey *string                                                         `protobuf:"bytes,3,opt,name=supplementalKey" json:"supplementalKey,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTransport_Protocol_Ancillary_BackupDirective) Descriptor deprecated

Deprecated: Use MessageTransport_Protocol_Ancillary_BackupDirective.ProtoReflect.Descriptor instead.

func (*MessageTransport_Protocol_Ancillary_BackupDirective) GetActionType

func (*MessageTransport_Protocol_Ancillary_BackupDirective) GetMessageID

func (*MessageTransport_Protocol_Ancillary_BackupDirective) GetSupplementalKey

func (*MessageTransport_Protocol_Ancillary_BackupDirective) ProtoMessage

func (*MessageTransport_Protocol_Ancillary_BackupDirective) ProtoReflect

func (*MessageTransport_Protocol_Ancillary_BackupDirective) Reset

func (*MessageTransport_Protocol_Ancillary_BackupDirective) String

type MessageTransport_Protocol_Ancillary_BackupDirective_ActionType

type MessageTransport_Protocol_Ancillary_BackupDirective_ActionType int32
const (
	MessageTransport_Protocol_Ancillary_BackupDirective_NOOP              MessageTransport_Protocol_Ancillary_BackupDirective_ActionType = 0
	MessageTransport_Protocol_Ancillary_BackupDirective_UPSERT            MessageTransport_Protocol_Ancillary_BackupDirective_ActionType = 1
	MessageTransport_Protocol_Ancillary_BackupDirective_DELETE            MessageTransport_Protocol_Ancillary_BackupDirective_ActionType = 2
	MessageTransport_Protocol_Ancillary_BackupDirective_UPSERT_AND_DELETE MessageTransport_Protocol_Ancillary_BackupDirective_ActionType = 3
)

func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Descriptor

func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Enum

func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) EnumDescriptor deprecated

Deprecated: Use MessageTransport_Protocol_Ancillary_BackupDirective_ActionType.Descriptor instead.

func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Number

func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) String

func (MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) Type

func (*MessageTransport_Protocol_Ancillary_BackupDirective_ActionType) UnmarshalJSON deprecated

Deprecated: Do not use.

type MessageTransport_Protocol_Ancillary_ICDCParticipantDevices

type MessageTransport_Protocol_Ancillary_ICDCParticipantDevices struct {
	SenderIdentity      *MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription   `protobuf:"bytes,1,opt,name=senderIdentity" json:"senderIdentity,omitempty"`
	RecipientIdentities []*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription `protobuf:"bytes,2,rep,name=recipientIdentities" json:"recipientIdentities,omitempty"`
	RecipientUserJIDs   []string                                                                                  `protobuf:"bytes,3,rep,name=recipientUserJIDs" json:"recipientUserJIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) Descriptor deprecated

Deprecated: Use MessageTransport_Protocol_Ancillary_ICDCParticipantDevices.ProtoReflect.Descriptor instead.

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) GetRecipientUserJIDs

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) ProtoMessage

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) ProtoReflect

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) Reset

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices) String

type MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription

type MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription struct {
	Seq              *int32   `protobuf:"varint,1,opt,name=seq" json:"seq,omitempty"`
	SigningDevice    []byte   `protobuf:"bytes,2,opt,name=signingDevice" json:"signingDevice,omitempty"`
	UnknownDevices   [][]byte `protobuf:"bytes,3,rep,name=unknownDevices" json:"unknownDevices,omitempty"`
	UnknownDeviceIDs []int32  `protobuf:"varint,4,rep,name=unknownDeviceIDs" json:"unknownDeviceIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) Descriptor deprecated

Deprecated: Use MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription.ProtoReflect.Descriptor instead.

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetSeq

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetSigningDevice

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetUnknownDeviceIDs

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) GetUnknownDevices

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) ProtoMessage

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) ProtoReflect

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) Reset

func (*MessageTransport_Protocol_Ancillary_ICDCParticipantDevices_ICDCIdentityListDescription) String

type MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage

type MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage struct {
	GroupID                             *string `protobuf:"bytes,1,opt,name=groupID" json:"groupID,omitempty"`
	AxolotlSenderKeyDistributionMessage []byte  `protobuf:"bytes,2,opt,name=axolotlSenderKeyDistributionMessage" json:"axolotlSenderKeyDistributionMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) Descriptor deprecated

Deprecated: Use MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage.ProtoReflect.Descriptor instead.

func (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) GetAxolotlSenderKeyDistributionMessage

func (x *MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) GetAxolotlSenderKeyDistributionMessage() []byte

func (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) GetGroupID

func (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) ProtoMessage

func (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) ProtoReflect

func (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) Reset

func (*MessageTransport_Protocol_Ancillary_SenderKeyDistributionMessage) String

type MessageTransport_Protocol_Integral

type MessageTransport_Protocol_Integral struct {
	Padding []byte                                                `protobuf:"bytes,1,opt,name=padding" json:"padding,omitempty"`
	DSM     *MessageTransport_Protocol_Integral_DeviceSentMessage `protobuf:"bytes,2,opt,name=DSM" json:"DSM,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTransport_Protocol_Integral) Descriptor deprecated

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

Deprecated: Use MessageTransport_Protocol_Integral.ProtoReflect.Descriptor instead.

func (*MessageTransport_Protocol_Integral) GetDSM

func (*MessageTransport_Protocol_Integral) GetPadding

func (x *MessageTransport_Protocol_Integral) GetPadding() []byte

func (*MessageTransport_Protocol_Integral) ProtoMessage

func (*MessageTransport_Protocol_Integral) ProtoMessage()

func (*MessageTransport_Protocol_Integral) ProtoReflect

func (*MessageTransport_Protocol_Integral) Reset

func (*MessageTransport_Protocol_Integral) String

type MessageTransport_Protocol_Integral_DeviceSentMessage

type MessageTransport_Protocol_Integral_DeviceSentMessage struct {
	DestinationJID *string `protobuf:"bytes,1,opt,name=destinationJID" json:"destinationJID,omitempty"`
	Phash          *string `protobuf:"bytes,2,opt,name=phash" json:"phash,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageTransport_Protocol_Integral_DeviceSentMessage) Descriptor deprecated

Deprecated: Use MessageTransport_Protocol_Integral_DeviceSentMessage.ProtoReflect.Descriptor instead.

func (*MessageTransport_Protocol_Integral_DeviceSentMessage) GetDestinationJID

func (*MessageTransport_Protocol_Integral_DeviceSentMessage) GetPhash

func (*MessageTransport_Protocol_Integral_DeviceSentMessage) ProtoMessage

func (*MessageTransport_Protocol_Integral_DeviceSentMessage) ProtoReflect

func (*MessageTransport_Protocol_Integral_DeviceSentMessage) Reset

func (*MessageTransport_Protocol_Integral_DeviceSentMessage) String

Jump to

Keyboard shortcuts

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