Documentation ¶
Index ¶
- Variables
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetCommandType() Command_CommandType
- func (x *Command) GetLength() uint32
- func (x *Command) GetOffset() uint32
- func (x *Command) GetValidationToken() string
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
- type Command_CommandType
- func (Command_CommandType) Descriptor() protoreflect.EnumDescriptor
- func (x Command_CommandType) Enum() *Command_CommandType
- func (Command_CommandType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Command_CommandType) Number() protoreflect.EnumNumber
- func (x Command_CommandType) String() string
- func (Command_CommandType) Type() protoreflect.EnumType
- type FutureProofBehavior
- func (FutureProofBehavior) Descriptor() protoreflect.EnumDescriptor
- func (x FutureProofBehavior) Enum() *FutureProofBehavior
- func (FutureProofBehavior) EnumDescriptor() ([]byte, []int)deprecated
- func (x FutureProofBehavior) Number() protoreflect.EnumNumber
- func (x FutureProofBehavior) String() string
- func (FutureProofBehavior) Type() protoreflect.EnumType
- type MessageKey
- func (*MessageKey) Descriptor() ([]byte, []int)deprecated
- func (x *MessageKey) GetFromMe() bool
- func (x *MessageKey) GetID() string
- func (x *MessageKey) GetParticipant() string
- func (x *MessageKey) GetRemoteJID() string
- func (*MessageKey) ProtoMessage()
- func (x *MessageKey) ProtoReflect() protoreflect.Message
- func (x *MessageKey) Reset()
- func (x *MessageKey) String() string
- type MessageText
- func (*MessageText) Descriptor() ([]byte, []int)deprecated
- func (x *MessageText) GetCommands() []*Command
- func (x *MessageText) GetMentionedJID() []string
- func (x *MessageText) GetText() string
- func (*MessageText) ProtoMessage()
- func (x *MessageText) ProtoReflect() protoreflect.Message
- func (x *MessageText) Reset()
- func (x *MessageText) String() string
- type SubProtocol
- func (*SubProtocol) Descriptor() ([]byte, []int)deprecated
- func (x *SubProtocol) GetPayload() []byte
- func (x *SubProtocol) GetVersion() int32
- func (*SubProtocol) ProtoMessage()
- func (x *SubProtocol) ProtoReflect() protoreflect.Message
- func (x *SubProtocol) Reset()
- func (x *SubProtocol) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FutureProofBehavior_name = map[int32]string{ 0: "PLACEHOLDER", 1: "NO_PLACEHOLDER", 2: "IGNORE", } FutureProofBehavior_value = map[string]int32{ "PLACEHOLDER": 0, "NO_PLACEHOLDER": 1, "IGNORE": 2, } )
Enum value maps for FutureProofBehavior.
View Source
var ( Command_CommandType_name = map[int32]string{ 0: "COMMANDTYPE_UNKNOWN", 1: "EVERYONE", 2: "SILENT", 3: "AI", } Command_CommandType_value = map[string]int32{ "COMMANDTYPE_UNKNOWN": 0, "EVERYONE": 1, "SILENT": 2, "AI": 3, } )
Enum value maps for Command_CommandType.
View Source
var File_waCommon_WACommon_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { CommandType Command_CommandType `protobuf:"varint,1,opt,name=commandType,proto3,enum=WACommon.Command_CommandType" json:"commandType,omitempty"` Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Length uint32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"` ValidationToken string `protobuf:"bytes,4,opt,name=validationToken,proto3" json:"validationToken,omitempty"` // contains filtered or unexported fields }
func (*Command) Descriptor
deprecated
func (*Command) GetCommandType ¶
func (x *Command) GetCommandType() Command_CommandType
func (*Command) GetValidationToken ¶
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
type Command_CommandType ¶
type Command_CommandType int32
const ( Command_COMMANDTYPE_UNKNOWN Command_CommandType = 0 Command_EVERYONE Command_CommandType = 1 Command_SILENT Command_CommandType = 2 Command_AI Command_CommandType = 3 )
func (Command_CommandType) Descriptor ¶
func (Command_CommandType) Descriptor() protoreflect.EnumDescriptor
func (Command_CommandType) Enum ¶
func (x Command_CommandType) Enum() *Command_CommandType
func (Command_CommandType) EnumDescriptor
deprecated
func (Command_CommandType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Command_CommandType.Descriptor instead.
func (Command_CommandType) Number ¶
func (x Command_CommandType) Number() protoreflect.EnumNumber
func (Command_CommandType) String ¶
func (x Command_CommandType) String() string
func (Command_CommandType) Type ¶
func (Command_CommandType) Type() protoreflect.EnumType
type FutureProofBehavior ¶
type FutureProofBehavior int32
const ( FutureProofBehavior_PLACEHOLDER FutureProofBehavior = 0 FutureProofBehavior_NO_PLACEHOLDER FutureProofBehavior = 1 FutureProofBehavior_IGNORE FutureProofBehavior = 2 )
func (FutureProofBehavior) Descriptor ¶
func (FutureProofBehavior) Descriptor() protoreflect.EnumDescriptor
func (FutureProofBehavior) Enum ¶
func (x FutureProofBehavior) Enum() *FutureProofBehavior
func (FutureProofBehavior) EnumDescriptor
deprecated
func (FutureProofBehavior) EnumDescriptor() ([]byte, []int)
Deprecated: Use FutureProofBehavior.Descriptor instead.
func (FutureProofBehavior) Number ¶
func (x FutureProofBehavior) Number() protoreflect.EnumNumber
func (FutureProofBehavior) String ¶
func (x FutureProofBehavior) String() string
func (FutureProofBehavior) Type ¶
func (FutureProofBehavior) Type() protoreflect.EnumType
type MessageKey ¶
type MessageKey struct { RemoteJID string `protobuf:"bytes,1,opt,name=remoteJID,proto3" json:"remoteJID,omitempty"` FromMe bool `protobuf:"varint,2,opt,name=fromMe,proto3" json:"fromMe,omitempty"` ID string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"` Participant string `protobuf:"bytes,4,opt,name=participant,proto3" json:"participant,omitempty"` // contains filtered or unexported fields }
func (*MessageKey) Descriptor
deprecated
func (*MessageKey) Descriptor() ([]byte, []int)
Deprecated: Use MessageKey.ProtoReflect.Descriptor instead.
func (*MessageKey) GetFromMe ¶
func (x *MessageKey) GetFromMe() bool
func (*MessageKey) GetID ¶
func (x *MessageKey) GetID() string
func (*MessageKey) GetParticipant ¶
func (x *MessageKey) GetParticipant() string
func (*MessageKey) GetRemoteJID ¶
func (x *MessageKey) GetRemoteJID() string
func (*MessageKey) ProtoMessage ¶
func (*MessageKey) ProtoMessage()
func (*MessageKey) ProtoReflect ¶
func (x *MessageKey) ProtoReflect() protoreflect.Message
func (*MessageKey) Reset ¶
func (x *MessageKey) Reset()
func (*MessageKey) String ¶
func (x *MessageKey) String() string
type MessageText ¶
type MessageText struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` MentionedJID []string `protobuf:"bytes,2,rep,name=mentionedJID,proto3" json:"mentionedJID,omitempty"` Commands []*Command `protobuf:"bytes,3,rep,name=commands,proto3" json:"commands,omitempty"` // contains filtered or unexported fields }
func (*MessageText) Descriptor
deprecated
func (*MessageText) Descriptor() ([]byte, []int)
Deprecated: Use MessageText.ProtoReflect.Descriptor instead.
func (*MessageText) GetCommands ¶
func (x *MessageText) GetCommands() []*Command
func (*MessageText) GetMentionedJID ¶
func (x *MessageText) GetMentionedJID() []string
func (*MessageText) GetText ¶
func (x *MessageText) GetText() string
func (*MessageText) ProtoMessage ¶
func (*MessageText) ProtoMessage()
func (*MessageText) ProtoReflect ¶
func (x *MessageText) ProtoReflect() protoreflect.Message
func (*MessageText) Reset ¶
func (x *MessageText) Reset()
func (*MessageText) String ¶
func (x *MessageText) String() string
type SubProtocol ¶
type SubProtocol struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*SubProtocol) Descriptor
deprecated
func (*SubProtocol) Descriptor() ([]byte, []int)
Deprecated: Use SubProtocol.ProtoReflect.Descriptor instead.
func (*SubProtocol) GetPayload ¶
func (x *SubProtocol) GetPayload() []byte
func (*SubProtocol) GetVersion ¶
func (x *SubProtocol) GetVersion() int32
func (*SubProtocol) ProtoMessage ¶
func (*SubProtocol) ProtoMessage()
func (*SubProtocol) ProtoReflect ¶
func (x *SubProtocol) ProtoReflect() protoreflect.Message
func (*SubProtocol) Reset ¶
func (x *SubProtocol) Reset()
func (*SubProtocol) String ¶
func (x *SubProtocol) String() string
Click to show internal directories.
Click to hide internal directories.