Documentation ¶
Index ¶
- Constants
- Variables
- type MessageApplication
- func (*MessageApplication) Descriptor() ([]byte, []int)deprecated
- func (x *MessageApplication) GetMetadata() *MessageApplication_Metadata
- func (x *MessageApplication) GetPayload() *MessageApplication_Payload
- func (*MessageApplication) ProtoMessage()
- func (x *MessageApplication) ProtoReflect() protoreflect.Message
- func (x *MessageApplication) Reset()
- func (x *MessageApplication) String() string
- type MessageApplication_ApplicationData
- func (*MessageApplication_ApplicationData) Descriptor() ([]byte, []int)deprecated
- func (*MessageApplication_ApplicationData) ProtoMessage()
- func (x *MessageApplication_ApplicationData) ProtoReflect() protoreflect.Message
- func (x *MessageApplication_ApplicationData) Reset()
- func (x *MessageApplication_ApplicationData) String() string
- type MessageApplication_Content
- type MessageApplication_EphemeralSetting
- func (*MessageApplication_EphemeralSetting) Descriptor() ([]byte, []int)deprecated
- func (x *MessageApplication_EphemeralSetting) GetEphemeralExpiration() uint32
- func (x *MessageApplication_EphemeralSetting) GetEphemeralSettingTimestamp() int64
- func (x *MessageApplication_EphemeralSetting) GetIsEphemeralSettingReset() bool
- func (*MessageApplication_EphemeralSetting) ProtoMessage()
- func (x *MessageApplication_EphemeralSetting) ProtoReflect() protoreflect.Message
- func (x *MessageApplication_EphemeralSetting) Reset()
- func (x *MessageApplication_EphemeralSetting) String() string
- type MessageApplication_Metadata
- func (*MessageApplication_Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *MessageApplication_Metadata) GetBotResponseID() string
- func (x *MessageApplication_Metadata) GetBusinessMetadata() *waCommon.SubProtocol
- func (x *MessageApplication_Metadata) GetChatEphemeralSetting() *MessageApplication_EphemeralSetting
- func (x *MessageApplication_Metadata) GetCollapsibleID() string
- func (m *MessageApplication_Metadata) GetEphemeral() isMessageApplication_Metadata_Ephemeral
- func (x *MessageApplication_Metadata) GetEphemeralSettingList() *MessageApplication_Metadata_EphemeralSettingMap
- func (x *MessageApplication_Metadata) GetEphemeralSharedSecret() []byte
- func (x *MessageApplication_Metadata) GetForwardingScore() uint32
- func (x *MessageApplication_Metadata) GetFrankingKey() []byte
- func (x *MessageApplication_Metadata) GetFrankingVersion() int32
- func (x *MessageApplication_Metadata) GetGroupID() string
- func (x *MessageApplication_Metadata) GetGroupIndex() uint32
- func (x *MessageApplication_Metadata) GetGroupSize() uint32
- func (x *MessageApplication_Metadata) GetIsForwarded() bool
- func (x *MessageApplication_Metadata) GetQuotedMessage() *MessageApplication_Metadata_QuotedMessage
- func (x *MessageApplication_Metadata) GetReadonlyMetadataDataclass() string
- func (x *MessageApplication_Metadata) GetSecondaryOtid() string
- func (x *MessageApplication_Metadata) GetThreadType() MessageApplication_Metadata_ThreadType
- func (*MessageApplication_Metadata) ProtoMessage()
- func (x *MessageApplication_Metadata) ProtoReflect() protoreflect.Message
- func (x *MessageApplication_Metadata) Reset()
- func (x *MessageApplication_Metadata) String() string
- type MessageApplication_Metadata_ChatEphemeralSetting
- type MessageApplication_Metadata_EphemeralSettingList
- type MessageApplication_Metadata_EphemeralSettingMap
- func (*MessageApplication_Metadata_EphemeralSettingMap) Descriptor() ([]byte, []int)deprecated
- func (x *MessageApplication_Metadata_EphemeralSettingMap) GetChatJID() string
- func (x *MessageApplication_Metadata_EphemeralSettingMap) GetEphemeralSetting() *MessageApplication_EphemeralSetting
- func (*MessageApplication_Metadata_EphemeralSettingMap) ProtoMessage()
- func (x *MessageApplication_Metadata_EphemeralSettingMap) ProtoReflect() protoreflect.Message
- func (x *MessageApplication_Metadata_EphemeralSettingMap) Reset()
- func (x *MessageApplication_Metadata_EphemeralSettingMap) String() string
- type MessageApplication_Metadata_EphemeralSharedSecret
- type MessageApplication_Metadata_QuotedMessage
- func (*MessageApplication_Metadata_QuotedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *MessageApplication_Metadata_QuotedMessage) GetParticipant() string
- func (x *MessageApplication_Metadata_QuotedMessage) GetPayload() *MessageApplication_Payload
- func (x *MessageApplication_Metadata_QuotedMessage) GetRemoteJID() string
- func (x *MessageApplication_Metadata_QuotedMessage) GetStanzaID() string
- func (*MessageApplication_Metadata_QuotedMessage) ProtoMessage()
- func (x *MessageApplication_Metadata_QuotedMessage) ProtoReflect() protoreflect.Message
- func (x *MessageApplication_Metadata_QuotedMessage) Reset()
- func (x *MessageApplication_Metadata_QuotedMessage) String() string
- type MessageApplication_Metadata_ThreadType
- func (MessageApplication_Metadata_ThreadType) Descriptor() protoreflect.EnumDescriptor
- func (x MessageApplication_Metadata_ThreadType) Enum() *MessageApplication_Metadata_ThreadType
- func (MessageApplication_Metadata_ThreadType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageApplication_Metadata_ThreadType) Number() protoreflect.EnumNumber
- func (x MessageApplication_Metadata_ThreadType) String() string
- func (MessageApplication_Metadata_ThreadType) Type() protoreflect.EnumType
- func (x *MessageApplication_Metadata_ThreadType) UnmarshalJSON(b []byte) errordeprecated
- type MessageApplication_Payload
- func (*MessageApplication_Payload) Descriptor() ([]byte, []int)deprecated
- func (x *MessageApplication_Payload) GetApplicationData() *MessageApplication_ApplicationData
- func (m *MessageApplication_Payload) GetContent() isMessageApplication_Payload_Content
- func (x *MessageApplication_Payload) GetCoreContent() *MessageApplication_Content
- func (x *MessageApplication_Payload) GetSignal() *MessageApplication_Signal
- func (x *MessageApplication_Payload) GetSubProtocol() *MessageApplication_SubProtocolPayload
- func (*MessageApplication_Payload) ProtoMessage()
- func (x *MessageApplication_Payload) ProtoReflect() protoreflect.Message
- func (x *MessageApplication_Payload) Reset()
- func (x *MessageApplication_Payload) String() string
- type MessageApplication_Payload_ApplicationData
- type MessageApplication_Payload_CoreContent
- type MessageApplication_Payload_Signal
- type MessageApplication_Payload_SubProtocol
- type MessageApplication_Signal
- type MessageApplication_SubProtocolPayload
- func (*MessageApplication_SubProtocolPayload) Descriptor() ([]byte, []int)deprecated
- func (x *MessageApplication_SubProtocolPayload) GetArmadillo() *waCommon.SubProtocol
- func (x *MessageApplication_SubProtocolPayload) GetBusinessMessage() *waCommon.SubProtocol
- func (x *MessageApplication_SubProtocolPayload) GetConsumerMessage() *waCommon.SubProtocol
- func (x *MessageApplication_SubProtocolPayload) GetFutureProof() waCommon.FutureProofBehavior
- func (x *MessageApplication_SubProtocolPayload) GetMultiDevice() *waCommon.SubProtocol
- func (x *MessageApplication_SubProtocolPayload) GetPaymentMessage() *waCommon.SubProtocol
- func (m *MessageApplication_SubProtocolPayload) GetSubProtocol() isMessageApplication_SubProtocolPayload_SubProtocol
- func (x *MessageApplication_SubProtocolPayload) GetVoip() *waCommon.SubProtocol
- func (*MessageApplication_SubProtocolPayload) ProtoMessage()
- func (x *MessageApplication_SubProtocolPayload) ProtoReflect() protoreflect.Message
- func (x *MessageApplication_SubProtocolPayload) Reset()
- func (x *MessageApplication_SubProtocolPayload) String() string
- type MessageApplication_SubProtocolPayload_Armadillo
- type MessageApplication_SubProtocolPayload_BusinessMessage
- type MessageApplication_SubProtocolPayload_ConsumerMessage
- type MessageApplication_SubProtocolPayload_MultiDevice
- type MessageApplication_SubProtocolPayload_PaymentMessage
- type MessageApplication_SubProtocolPayload_Voip
Constants ¶
const ( ConsumerApplicationVersion = 1 ArmadilloApplicationVersion = 1 MultiDeviceApplicationVersion = 1 // TODO: check )
Variables ¶
var ( MessageApplication_Metadata_ThreadType_name = map[int32]string{ 0: "DEFAULT", 1: "VANISH_MODE", 2: "DISAPPEARING_MESSAGES", } MessageApplication_Metadata_ThreadType_value = map[string]int32{ "DEFAULT": 0, "VANISH_MODE": 1, "DISAPPEARING_MESSAGES": 2, } )
Enum value maps for MessageApplication_Metadata_ThreadType.
var File_waMsgApplication_WAMsgApplication_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MessageApplication ¶
type MessageApplication struct { Payload *MessageApplication_Payload `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"` Metadata *MessageApplication_Metadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*MessageApplication) Descriptor
deprecated
func (*MessageApplication) Descriptor() ([]byte, []int)
Deprecated: Use MessageApplication.ProtoReflect.Descriptor instead.
func (*MessageApplication) GetMetadata ¶
func (x *MessageApplication) GetMetadata() *MessageApplication_Metadata
func (*MessageApplication) GetPayload ¶
func (x *MessageApplication) GetPayload() *MessageApplication_Payload
func (*MessageApplication) ProtoMessage ¶
func (*MessageApplication) ProtoMessage()
func (*MessageApplication) ProtoReflect ¶
func (x *MessageApplication) ProtoReflect() protoreflect.Message
func (*MessageApplication) Reset ¶
func (x *MessageApplication) Reset()
func (*MessageApplication) String ¶
func (x *MessageApplication) String() string
type MessageApplication_ApplicationData ¶
type MessageApplication_ApplicationData struct {
// contains filtered or unexported fields
}
func (*MessageApplication_ApplicationData) Descriptor
deprecated
func (*MessageApplication_ApplicationData) Descriptor() ([]byte, []int)
Deprecated: Use MessageApplication_ApplicationData.ProtoReflect.Descriptor instead.
func (*MessageApplication_ApplicationData) ProtoMessage ¶
func (*MessageApplication_ApplicationData) ProtoMessage()
func (*MessageApplication_ApplicationData) ProtoReflect ¶
func (x *MessageApplication_ApplicationData) ProtoReflect() protoreflect.Message
func (*MessageApplication_ApplicationData) Reset ¶
func (x *MessageApplication_ApplicationData) Reset()
func (*MessageApplication_ApplicationData) String ¶
func (x *MessageApplication_ApplicationData) String() string
type MessageApplication_Content ¶
type MessageApplication_Content struct {
// contains filtered or unexported fields
}
func (*MessageApplication_Content) Descriptor
deprecated
func (*MessageApplication_Content) Descriptor() ([]byte, []int)
Deprecated: Use MessageApplication_Content.ProtoReflect.Descriptor instead.
func (*MessageApplication_Content) ProtoMessage ¶
func (*MessageApplication_Content) ProtoMessage()
func (*MessageApplication_Content) ProtoReflect ¶
func (x *MessageApplication_Content) ProtoReflect() protoreflect.Message
func (*MessageApplication_Content) Reset ¶
func (x *MessageApplication_Content) Reset()
func (*MessageApplication_Content) String ¶
func (x *MessageApplication_Content) String() string
type MessageApplication_EphemeralSetting ¶
type MessageApplication_EphemeralSetting struct { EphemeralExpiration *uint32 `protobuf:"varint,2,opt,name=ephemeralExpiration" json:"ephemeralExpiration,omitempty"` EphemeralSettingTimestamp *int64 `protobuf:"varint,3,opt,name=ephemeralSettingTimestamp" json:"ephemeralSettingTimestamp,omitempty"` IsEphemeralSettingReset *bool `protobuf:"varint,4,opt,name=isEphemeralSettingReset" json:"isEphemeralSettingReset,omitempty"` // contains filtered or unexported fields }
func (*MessageApplication_EphemeralSetting) Descriptor
deprecated
func (*MessageApplication_EphemeralSetting) Descriptor() ([]byte, []int)
Deprecated: Use MessageApplication_EphemeralSetting.ProtoReflect.Descriptor instead.
func (*MessageApplication_EphemeralSetting) GetEphemeralExpiration ¶
func (x *MessageApplication_EphemeralSetting) GetEphemeralExpiration() uint32
func (*MessageApplication_EphemeralSetting) GetEphemeralSettingTimestamp ¶
func (x *MessageApplication_EphemeralSetting) GetEphemeralSettingTimestamp() int64
func (*MessageApplication_EphemeralSetting) GetIsEphemeralSettingReset ¶
func (x *MessageApplication_EphemeralSetting) GetIsEphemeralSettingReset() bool
func (*MessageApplication_EphemeralSetting) ProtoMessage ¶
func (*MessageApplication_EphemeralSetting) ProtoMessage()
func (*MessageApplication_EphemeralSetting) ProtoReflect ¶
func (x *MessageApplication_EphemeralSetting) ProtoReflect() protoreflect.Message
func (*MessageApplication_EphemeralSetting) Reset ¶
func (x *MessageApplication_EphemeralSetting) Reset()
func (*MessageApplication_EphemeralSetting) String ¶
func (x *MessageApplication_EphemeralSetting) String() string
type MessageApplication_Metadata ¶
type MessageApplication_Metadata struct { // Types that are assignable to Ephemeral: // // *MessageApplication_Metadata_ChatEphemeralSetting // *MessageApplication_Metadata_EphemeralSettingList // *MessageApplication_Metadata_EphemeralSharedSecret Ephemeral isMessageApplication_Metadata_Ephemeral `protobuf_oneof:"ephemeral"` ForwardingScore *uint32 `protobuf:"varint,5,opt,name=forwardingScore" json:"forwardingScore,omitempty"` IsForwarded *bool `protobuf:"varint,6,opt,name=isForwarded" json:"isForwarded,omitempty"` BusinessMetadata *waCommon.SubProtocol `protobuf:"bytes,7,opt,name=businessMetadata" json:"businessMetadata,omitempty"` FrankingKey []byte `protobuf:"bytes,8,opt,name=frankingKey" json:"frankingKey,omitempty"` FrankingVersion *int32 `protobuf:"varint,9,opt,name=frankingVersion" json:"frankingVersion,omitempty"` QuotedMessage *MessageApplication_Metadata_QuotedMessage `protobuf:"bytes,10,opt,name=quotedMessage" json:"quotedMessage,omitempty"` ThreadType *MessageApplication_Metadata_ThreadType `` /* 129-byte string literal not displayed */ ReadonlyMetadataDataclass *string `protobuf:"bytes,12,opt,name=readonlyMetadataDataclass" json:"readonlyMetadataDataclass,omitempty"` GroupID *string `protobuf:"bytes,13,opt,name=groupID" json:"groupID,omitempty"` GroupSize *uint32 `protobuf:"varint,14,opt,name=groupSize" json:"groupSize,omitempty"` GroupIndex *uint32 `protobuf:"varint,15,opt,name=groupIndex" json:"groupIndex,omitempty"` BotResponseID *string `protobuf:"bytes,16,opt,name=botResponseID" json:"botResponseID,omitempty"` CollapsibleID *string `protobuf:"bytes,17,opt,name=collapsibleID" json:"collapsibleID,omitempty"` SecondaryOtid *string `protobuf:"bytes,18,opt,name=secondaryOtid" json:"secondaryOtid,omitempty"` // contains filtered or unexported fields }
func (*MessageApplication_Metadata) Descriptor
deprecated
func (*MessageApplication_Metadata) Descriptor() ([]byte, []int)
Deprecated: Use MessageApplication_Metadata.ProtoReflect.Descriptor instead.
func (*MessageApplication_Metadata) GetBotResponseID ¶
func (x *MessageApplication_Metadata) GetBotResponseID() string
func (*MessageApplication_Metadata) GetBusinessMetadata ¶
func (x *MessageApplication_Metadata) GetBusinessMetadata() *waCommon.SubProtocol
func (*MessageApplication_Metadata) GetChatEphemeralSetting ¶
func (x *MessageApplication_Metadata) GetChatEphemeralSetting() *MessageApplication_EphemeralSetting
func (*MessageApplication_Metadata) GetCollapsibleID ¶
func (x *MessageApplication_Metadata) GetCollapsibleID() string
func (*MessageApplication_Metadata) GetEphemeral ¶
func (m *MessageApplication_Metadata) GetEphemeral() isMessageApplication_Metadata_Ephemeral
func (*MessageApplication_Metadata) GetEphemeralSettingList ¶
func (x *MessageApplication_Metadata) GetEphemeralSettingList() *MessageApplication_Metadata_EphemeralSettingMap
func (*MessageApplication_Metadata) GetEphemeralSharedSecret ¶
func (x *MessageApplication_Metadata) GetEphemeralSharedSecret() []byte
func (*MessageApplication_Metadata) GetForwardingScore ¶
func (x *MessageApplication_Metadata) GetForwardingScore() uint32
func (*MessageApplication_Metadata) GetFrankingKey ¶
func (x *MessageApplication_Metadata) GetFrankingKey() []byte
func (*MessageApplication_Metadata) GetFrankingVersion ¶
func (x *MessageApplication_Metadata) GetFrankingVersion() int32
func (*MessageApplication_Metadata) GetGroupID ¶
func (x *MessageApplication_Metadata) GetGroupID() string
func (*MessageApplication_Metadata) GetGroupIndex ¶
func (x *MessageApplication_Metadata) GetGroupIndex() uint32
func (*MessageApplication_Metadata) GetGroupSize ¶
func (x *MessageApplication_Metadata) GetGroupSize() uint32
func (*MessageApplication_Metadata) GetIsForwarded ¶
func (x *MessageApplication_Metadata) GetIsForwarded() bool
func (*MessageApplication_Metadata) GetQuotedMessage ¶
func (x *MessageApplication_Metadata) GetQuotedMessage() *MessageApplication_Metadata_QuotedMessage
func (*MessageApplication_Metadata) GetReadonlyMetadataDataclass ¶
func (x *MessageApplication_Metadata) GetReadonlyMetadataDataclass() string
func (*MessageApplication_Metadata) GetSecondaryOtid ¶ added in v1.0.18
func (x *MessageApplication_Metadata) GetSecondaryOtid() string
func (*MessageApplication_Metadata) GetThreadType ¶
func (x *MessageApplication_Metadata) GetThreadType() MessageApplication_Metadata_ThreadType
func (*MessageApplication_Metadata) ProtoMessage ¶
func (*MessageApplication_Metadata) ProtoMessage()
func (*MessageApplication_Metadata) ProtoReflect ¶
func (x *MessageApplication_Metadata) ProtoReflect() protoreflect.Message
func (*MessageApplication_Metadata) Reset ¶
func (x *MessageApplication_Metadata) Reset()
func (*MessageApplication_Metadata) String ¶
func (x *MessageApplication_Metadata) String() string
type MessageApplication_Metadata_ChatEphemeralSetting ¶
type MessageApplication_Metadata_ChatEphemeralSetting struct {
ChatEphemeralSetting *MessageApplication_EphemeralSetting `protobuf:"bytes,1,opt,name=chatEphemeralSetting,oneof"`
}
type MessageApplication_Metadata_EphemeralSettingList ¶
type MessageApplication_Metadata_EphemeralSettingList struct {
EphemeralSettingList *MessageApplication_Metadata_EphemeralSettingMap `protobuf:"bytes,2,opt,name=ephemeralSettingList,oneof"`
}
type MessageApplication_Metadata_EphemeralSettingMap ¶
type MessageApplication_Metadata_EphemeralSettingMap struct { ChatJID *string `protobuf:"bytes,1,opt,name=chatJID" json:"chatJID,omitempty"` EphemeralSetting *MessageApplication_EphemeralSetting `protobuf:"bytes,2,opt,name=ephemeralSetting" json:"ephemeralSetting,omitempty"` // contains filtered or unexported fields }
func (*MessageApplication_Metadata_EphemeralSettingMap) Descriptor
deprecated
func (*MessageApplication_Metadata_EphemeralSettingMap) Descriptor() ([]byte, []int)
Deprecated: Use MessageApplication_Metadata_EphemeralSettingMap.ProtoReflect.Descriptor instead.
func (*MessageApplication_Metadata_EphemeralSettingMap) GetChatJID ¶
func (x *MessageApplication_Metadata_EphemeralSettingMap) GetChatJID() string
func (*MessageApplication_Metadata_EphemeralSettingMap) GetEphemeralSetting ¶
func (x *MessageApplication_Metadata_EphemeralSettingMap) GetEphemeralSetting() *MessageApplication_EphemeralSetting
func (*MessageApplication_Metadata_EphemeralSettingMap) ProtoMessage ¶
func (*MessageApplication_Metadata_EphemeralSettingMap) ProtoMessage()
func (*MessageApplication_Metadata_EphemeralSettingMap) ProtoReflect ¶
func (x *MessageApplication_Metadata_EphemeralSettingMap) ProtoReflect() protoreflect.Message
func (*MessageApplication_Metadata_EphemeralSettingMap) Reset ¶
func (x *MessageApplication_Metadata_EphemeralSettingMap) Reset()
func (*MessageApplication_Metadata_EphemeralSettingMap) String ¶
func (x *MessageApplication_Metadata_EphemeralSettingMap) String() string
type MessageApplication_Metadata_EphemeralSharedSecret ¶
type MessageApplication_Metadata_EphemeralSharedSecret struct {
}type MessageApplication_Metadata_QuotedMessage ¶
type MessageApplication_Metadata_QuotedMessage struct { StanzaID *string `protobuf:"bytes,1,opt,name=stanzaID" json:"stanzaID,omitempty"` RemoteJID *string `protobuf:"bytes,2,opt,name=remoteJID" json:"remoteJID,omitempty"` Participant *string `protobuf:"bytes,3,opt,name=participant" json:"participant,omitempty"` Payload *MessageApplication_Payload `protobuf:"bytes,4,opt,name=payload" json:"payload,omitempty"` // contains filtered or unexported fields }
func (*MessageApplication_Metadata_QuotedMessage) Descriptor
deprecated
func (*MessageApplication_Metadata_QuotedMessage) Descriptor() ([]byte, []int)
Deprecated: Use MessageApplication_Metadata_QuotedMessage.ProtoReflect.Descriptor instead.
func (*MessageApplication_Metadata_QuotedMessage) GetParticipant ¶
func (x *MessageApplication_Metadata_QuotedMessage) GetParticipant() string
func (*MessageApplication_Metadata_QuotedMessage) GetPayload ¶
func (x *MessageApplication_Metadata_QuotedMessage) GetPayload() *MessageApplication_Payload
func (*MessageApplication_Metadata_QuotedMessage) GetRemoteJID ¶
func (x *MessageApplication_Metadata_QuotedMessage) GetRemoteJID() string
func (*MessageApplication_Metadata_QuotedMessage) GetStanzaID ¶
func (x *MessageApplication_Metadata_QuotedMessage) GetStanzaID() string
func (*MessageApplication_Metadata_QuotedMessage) ProtoMessage ¶
func (*MessageApplication_Metadata_QuotedMessage) ProtoMessage()
func (*MessageApplication_Metadata_QuotedMessage) ProtoReflect ¶
func (x *MessageApplication_Metadata_QuotedMessage) ProtoReflect() protoreflect.Message
func (*MessageApplication_Metadata_QuotedMessage) Reset ¶
func (x *MessageApplication_Metadata_QuotedMessage) Reset()
func (*MessageApplication_Metadata_QuotedMessage) String ¶
func (x *MessageApplication_Metadata_QuotedMessage) String() string
type MessageApplication_Metadata_ThreadType ¶
type MessageApplication_Metadata_ThreadType int32
const ( MessageApplication_Metadata_DEFAULT MessageApplication_Metadata_ThreadType = 0 MessageApplication_Metadata_VANISH_MODE MessageApplication_Metadata_ThreadType = 1 MessageApplication_Metadata_DISAPPEARING_MESSAGES MessageApplication_Metadata_ThreadType = 2 )
func (MessageApplication_Metadata_ThreadType) Descriptor ¶
func (MessageApplication_Metadata_ThreadType) Descriptor() protoreflect.EnumDescriptor
func (MessageApplication_Metadata_ThreadType) EnumDescriptor
deprecated
func (MessageApplication_Metadata_ThreadType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageApplication_Metadata_ThreadType.Descriptor instead.
func (MessageApplication_Metadata_ThreadType) Number ¶
func (x MessageApplication_Metadata_ThreadType) Number() protoreflect.EnumNumber
func (MessageApplication_Metadata_ThreadType) String ¶
func (x MessageApplication_Metadata_ThreadType) String() string
func (MessageApplication_Metadata_ThreadType) Type ¶
func (MessageApplication_Metadata_ThreadType) Type() protoreflect.EnumType
func (*MessageApplication_Metadata_ThreadType) UnmarshalJSON
deprecated
func (x *MessageApplication_Metadata_ThreadType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type MessageApplication_Payload ¶
type MessageApplication_Payload struct { // Types that are assignable to Content: // // *MessageApplication_Payload_CoreContent // *MessageApplication_Payload_Signal // *MessageApplication_Payload_ApplicationData // *MessageApplication_Payload_SubProtocol Content isMessageApplication_Payload_Content `protobuf_oneof:"content"` // contains filtered or unexported fields }
func (*MessageApplication_Payload) Descriptor
deprecated
func (*MessageApplication_Payload) Descriptor() ([]byte, []int)
Deprecated: Use MessageApplication_Payload.ProtoReflect.Descriptor instead.
func (*MessageApplication_Payload) GetApplicationData ¶
func (x *MessageApplication_Payload) GetApplicationData() *MessageApplication_ApplicationData
func (*MessageApplication_Payload) GetContent ¶
func (m *MessageApplication_Payload) GetContent() isMessageApplication_Payload_Content
func (*MessageApplication_Payload) GetCoreContent ¶
func (x *MessageApplication_Payload) GetCoreContent() *MessageApplication_Content
func (*MessageApplication_Payload) GetSignal ¶
func (x *MessageApplication_Payload) GetSignal() *MessageApplication_Signal
func (*MessageApplication_Payload) GetSubProtocol ¶
func (x *MessageApplication_Payload) GetSubProtocol() *MessageApplication_SubProtocolPayload
func (*MessageApplication_Payload) ProtoMessage ¶
func (*MessageApplication_Payload) ProtoMessage()
func (*MessageApplication_Payload) ProtoReflect ¶
func (x *MessageApplication_Payload) ProtoReflect() protoreflect.Message
func (*MessageApplication_Payload) Reset ¶
func (x *MessageApplication_Payload) Reset()
func (*MessageApplication_Payload) String ¶
func (x *MessageApplication_Payload) String() string
type MessageApplication_Payload_ApplicationData ¶
type MessageApplication_Payload_ApplicationData struct {
ApplicationData *MessageApplication_ApplicationData `protobuf:"bytes,3,opt,name=applicationData,oneof"`
}
type MessageApplication_Payload_CoreContent ¶
type MessageApplication_Payload_CoreContent struct {
CoreContent *MessageApplication_Content `protobuf:"bytes,1,opt,name=coreContent,oneof"`
}
type MessageApplication_Payload_Signal ¶
type MessageApplication_Payload_Signal struct {
Signal *MessageApplication_Signal `protobuf:"bytes,2,opt,name=signal,oneof"`
}
type MessageApplication_Payload_SubProtocol ¶
type MessageApplication_Payload_SubProtocol struct {
SubProtocol *MessageApplication_SubProtocolPayload `protobuf:"bytes,4,opt,name=subProtocol,oneof"`
}
type MessageApplication_Signal ¶
type MessageApplication_Signal struct {
// contains filtered or unexported fields
}
func (*MessageApplication_Signal) Descriptor
deprecated
func (*MessageApplication_Signal) Descriptor() ([]byte, []int)
Deprecated: Use MessageApplication_Signal.ProtoReflect.Descriptor instead.
func (*MessageApplication_Signal) ProtoMessage ¶
func (*MessageApplication_Signal) ProtoMessage()
func (*MessageApplication_Signal) ProtoReflect ¶
func (x *MessageApplication_Signal) ProtoReflect() protoreflect.Message
func (*MessageApplication_Signal) Reset ¶
func (x *MessageApplication_Signal) Reset()
func (*MessageApplication_Signal) String ¶
func (x *MessageApplication_Signal) String() string
type MessageApplication_SubProtocolPayload ¶
type MessageApplication_SubProtocolPayload struct { // Types that are assignable to SubProtocol: // // *MessageApplication_SubProtocolPayload_ConsumerMessage // *MessageApplication_SubProtocolPayload_BusinessMessage // *MessageApplication_SubProtocolPayload_PaymentMessage // *MessageApplication_SubProtocolPayload_MultiDevice // *MessageApplication_SubProtocolPayload_Voip // *MessageApplication_SubProtocolPayload_Armadillo SubProtocol isMessageApplication_SubProtocolPayload_SubProtocol `protobuf_oneof:"subProtocol"` FutureProof *waCommon.FutureProofBehavior `protobuf:"varint,1,opt,name=futureProof,enum=WACommon.FutureProofBehavior" json:"futureProof,omitempty"` // contains filtered or unexported fields }
func (*MessageApplication_SubProtocolPayload) Descriptor
deprecated
func (*MessageApplication_SubProtocolPayload) Descriptor() ([]byte, []int)
Deprecated: Use MessageApplication_SubProtocolPayload.ProtoReflect.Descriptor instead.
func (*MessageApplication_SubProtocolPayload) GetArmadillo ¶
func (x *MessageApplication_SubProtocolPayload) GetArmadillo() *waCommon.SubProtocol
func (*MessageApplication_SubProtocolPayload) GetBusinessMessage ¶
func (x *MessageApplication_SubProtocolPayload) GetBusinessMessage() *waCommon.SubProtocol
func (*MessageApplication_SubProtocolPayload) GetConsumerMessage ¶
func (x *MessageApplication_SubProtocolPayload) GetConsumerMessage() *waCommon.SubProtocol
func (*MessageApplication_SubProtocolPayload) GetFutureProof ¶
func (x *MessageApplication_SubProtocolPayload) GetFutureProof() waCommon.FutureProofBehavior
func (*MessageApplication_SubProtocolPayload) GetMultiDevice ¶
func (x *MessageApplication_SubProtocolPayload) GetMultiDevice() *waCommon.SubProtocol
func (*MessageApplication_SubProtocolPayload) GetPaymentMessage ¶
func (x *MessageApplication_SubProtocolPayload) GetPaymentMessage() *waCommon.SubProtocol
func (*MessageApplication_SubProtocolPayload) GetSubProtocol ¶
func (m *MessageApplication_SubProtocolPayload) GetSubProtocol() isMessageApplication_SubProtocolPayload_SubProtocol
func (*MessageApplication_SubProtocolPayload) GetVoip ¶
func (x *MessageApplication_SubProtocolPayload) GetVoip() *waCommon.SubProtocol
func (*MessageApplication_SubProtocolPayload) ProtoMessage ¶
func (*MessageApplication_SubProtocolPayload) ProtoMessage()
func (*MessageApplication_SubProtocolPayload) ProtoReflect ¶
func (x *MessageApplication_SubProtocolPayload) ProtoReflect() protoreflect.Message
func (*MessageApplication_SubProtocolPayload) Reset ¶
func (x *MessageApplication_SubProtocolPayload) Reset()
func (*MessageApplication_SubProtocolPayload) String ¶
func (x *MessageApplication_SubProtocolPayload) String() string
type MessageApplication_SubProtocolPayload_Armadillo ¶
type MessageApplication_SubProtocolPayload_Armadillo struct {
Armadillo *waCommon.SubProtocol `protobuf:"bytes,7,opt,name=armadillo,oneof"`
}
func (*MessageApplication_SubProtocolPayload_Armadillo) Decode ¶
func (msg *MessageApplication_SubProtocolPayload_Armadillo) Decode() (*waArmadilloApplication.Armadillo, error)
func (*MessageApplication_SubProtocolPayload_Armadillo) Set ¶
func (msg *MessageApplication_SubProtocolPayload_Armadillo) Set(payload *waArmadilloApplication.Armadillo) (err error)
type MessageApplication_SubProtocolPayload_BusinessMessage ¶
type MessageApplication_SubProtocolPayload_BusinessMessage struct {
BusinessMessage *waCommon.SubProtocol `protobuf:"bytes,3,opt,name=businessMessage,oneof"`
}
type MessageApplication_SubProtocolPayload_ConsumerMessage ¶
type MessageApplication_SubProtocolPayload_ConsumerMessage struct {
ConsumerMessage *waCommon.SubProtocol `protobuf:"bytes,2,opt,name=consumerMessage,oneof"`
}
func (*MessageApplication_SubProtocolPayload_ConsumerMessage) Decode ¶
func (msg *MessageApplication_SubProtocolPayload_ConsumerMessage) Decode() (*waConsumerApplication.ConsumerApplication, error)
func (*MessageApplication_SubProtocolPayload_ConsumerMessage) Set ¶
func (msg *MessageApplication_SubProtocolPayload_ConsumerMessage) Set(payload *waConsumerApplication.ConsumerApplication) (err error)
type MessageApplication_SubProtocolPayload_MultiDevice ¶
type MessageApplication_SubProtocolPayload_MultiDevice struct {
MultiDevice *waCommon.SubProtocol `protobuf:"bytes,5,opt,name=multiDevice,oneof"`
}
func (*MessageApplication_SubProtocolPayload_MultiDevice) Decode ¶
func (msg *MessageApplication_SubProtocolPayload_MultiDevice) Decode() (*waMultiDevice.MultiDevice, error)
func (*MessageApplication_SubProtocolPayload_MultiDevice) Set ¶
func (msg *MessageApplication_SubProtocolPayload_MultiDevice) Set(payload *waMultiDevice.MultiDevice) (err error)
type MessageApplication_SubProtocolPayload_PaymentMessage ¶
type MessageApplication_SubProtocolPayload_PaymentMessage struct {
PaymentMessage *waCommon.SubProtocol `protobuf:"bytes,4,opt,name=paymentMessage,oneof"`
}
type MessageApplication_SubProtocolPayload_Voip ¶
type MessageApplication_SubProtocolPayload_Voip struct {
Voip *waCommon.SubProtocol `protobuf:"bytes,6,opt,name=voip,oneof"`
}