package waCommon
import "go.mau.fi/whatsmeow/proto/waCommon"
Index ¶
- Variables
- type Command
- func (*Command) Descriptor() ([]byte, []int)
- 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)
- func (x Command_CommandType) Number() protoreflect.EnumNumber
- func (x Command_CommandType) String() string
- func (Command_CommandType) Type() protoreflect.EnumType
- func (x *Command_CommandType) UnmarshalJSON(b []byte) error
- type FutureProofBehavior
- func (FutureProofBehavior) Descriptor() protoreflect.EnumDescriptor
- func (x FutureProofBehavior) Enum() *FutureProofBehavior
- func (FutureProofBehavior) EnumDescriptor() ([]byte, []int)
- func (x FutureProofBehavior) Number() protoreflect.EnumNumber
- func (x FutureProofBehavior) String() string
- func (FutureProofBehavior) Type() protoreflect.EnumType
- func (x *FutureProofBehavior) UnmarshalJSON(b []byte) error
- type LimitSharing
- func (*LimitSharing) Descriptor() ([]byte, []int)
- func (x *LimitSharing) GetInitiatedByMe() bool
- func (x *LimitSharing) GetLimitSharingSettingTimestamp() int64
- func (x *LimitSharing) GetSharingLimited() bool
- func (x *LimitSharing) GetTrigger() LimitSharing_Trigger
- func (*LimitSharing) ProtoMessage()
- func (x *LimitSharing) ProtoReflect() protoreflect.Message
- func (x *LimitSharing) Reset()
- func (x *LimitSharing) String() string
- type LimitSharing_Trigger
- func (LimitSharing_Trigger) Descriptor() protoreflect.EnumDescriptor
- func (x LimitSharing_Trigger) Enum() *LimitSharing_Trigger
- func (LimitSharing_Trigger) EnumDescriptor() ([]byte, []int)
- func (x LimitSharing_Trigger) Number() protoreflect.EnumNumber
- func (x LimitSharing_Trigger) String() string
- func (LimitSharing_Trigger) Type() protoreflect.EnumType
- func (x *LimitSharing_Trigger) UnmarshalJSON(b []byte) error
- type Mention
- func (*Mention) Descriptor() ([]byte, []int)
- func (x *Mention) GetLength() uint32
- func (x *Mention) GetMentionType() Mention_MentionType
- func (x *Mention) GetMentionedJID() string
- func (x *Mention) GetOffset() uint32
- func (*Mention) ProtoMessage()
- func (x *Mention) ProtoReflect() protoreflect.Message
- func (x *Mention) Reset()
- func (x *Mention) String() string
- type Mention_MentionType
- func (Mention_MentionType) Descriptor() protoreflect.EnumDescriptor
- func (x Mention_MentionType) Enum() *Mention_MentionType
- func (Mention_MentionType) EnumDescriptor() ([]byte, []int)
- func (x Mention_MentionType) Number() protoreflect.EnumNumber
- func (x Mention_MentionType) String() string
- func (Mention_MentionType) Type() protoreflect.EnumType
- func (x *Mention_MentionType) UnmarshalJSON(b []byte) error
- type MessageKey
- func (*MessageKey) Descriptor() ([]byte, []int)
- func (x *MessageKey) GetFromMe() bool
- func (x *MessageKey) GetID() string
- func (x *MessageKey) GetId() string
- func (x *MessageKey) GetParticipant() string
- func (x *MessageKey) GetRemoteJID() 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)
- func (x *MessageText) GetCommands() []*Command
- func (x *MessageText) GetMentionedJID() []string
- func (x *MessageText) GetMentions() []*Mention
- 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
Variables ¶
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.
var ( Command_CommandType_name = map[int32]string{ 1: "EVERYONE", 2: "SILENT", 3: "AI", 4: "AI_IMAGINE", } Command_CommandType_value = map[string]int32{ "EVERYONE": 1, "SILENT": 2, "AI": 3, "AI_IMAGINE": 4, } )
Enum value maps for Command_CommandType.
var ( Mention_MentionType_name = map[int32]string{ 0: "PROFILE", } Mention_MentionType_value = map[string]int32{ "PROFILE": 0, } )
Enum value maps for Mention_MentionType.
var ( LimitSharing_Trigger_name = map[int32]string{ 0: "UNKNOWN", 1: "CHAT_SETTING", 2: "BIZ_SUPPORTS_FB_HOSTING", 3: "UNKNOWN_GROUP", } LimitSharing_Trigger_value = map[string]int32{ "UNKNOWN": 0, "CHAT_SETTING": 1, "BIZ_SUPPORTS_FB_HOSTING": 2, "UNKNOWN_GROUP": 3, } )
Enum value maps for LimitSharing_Trigger.
var File_waCommon_WACommon_proto protoreflect.FileDescriptor
Types ¶
type Command ¶
type Command struct { CommandType *Command_CommandType `protobuf:"varint,1,opt,name=commandType,enum=WACommon.Command_CommandType" json:"commandType,omitempty"` Offset *uint32 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"` Length *uint32 `protobuf:"varint,3,opt,name=length" json:"length,omitempty"` ValidationToken *string `protobuf:"bytes,4,opt,name=validationToken" json:"validationToken,omitempty"` // contains filtered or unexported fields }
func (*Command) Descriptor ¶
Deprecated: Use Command.ProtoReflect.Descriptor instead.
func (*Command) GetCommandType ¶
func (x *Command) GetCommandType() Command_CommandType
func (*Command) GetLength ¶
func (*Command) GetOffset ¶
func (*Command) GetValidationToken ¶
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
func (*Command) Reset ¶
func (x *Command) Reset()
func (*Command) String ¶
type Command_CommandType ¶
type Command_CommandType int32
const ( Command_EVERYONE Command_CommandType = 1 Command_SILENT Command_CommandType = 2 Command_AI Command_CommandType = 3 Command_AI_IMAGINE Command_CommandType = 4 )
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 ¶
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
func (*Command_CommandType) UnmarshalJSON ¶
func (x *Command_CommandType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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 ¶
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
func (*FutureProofBehavior) UnmarshalJSON ¶
func (x *FutureProofBehavior) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type LimitSharing ¶
type LimitSharing struct { SharingLimited *bool `protobuf:"varint,1,opt,name=sharingLimited" json:"sharingLimited,omitempty"` Trigger *LimitSharing_Trigger `protobuf:"varint,2,opt,name=trigger,enum=WACommon.LimitSharing_Trigger" json:"trigger,omitempty"` LimitSharingSettingTimestamp *int64 `protobuf:"varint,3,opt,name=limitSharingSettingTimestamp" json:"limitSharingSettingTimestamp,omitempty"` InitiatedByMe *bool `protobuf:"varint,4,opt,name=initiatedByMe" json:"initiatedByMe,omitempty"` // contains filtered or unexported fields }
func (*LimitSharing) Descriptor ¶
func (*LimitSharing) Descriptor() ([]byte, []int)
Deprecated: Use LimitSharing.ProtoReflect.Descriptor instead.
func (*LimitSharing) GetInitiatedByMe ¶
func (x *LimitSharing) GetInitiatedByMe() bool
func (*LimitSharing) GetLimitSharingSettingTimestamp ¶
func (x *LimitSharing) GetLimitSharingSettingTimestamp() int64
func (*LimitSharing) GetSharingLimited ¶
func (x *LimitSharing) GetSharingLimited() bool
func (*LimitSharing) GetTrigger ¶
func (x *LimitSharing) GetTrigger() LimitSharing_Trigger
func (*LimitSharing) ProtoMessage ¶
func (*LimitSharing) ProtoMessage()
func (*LimitSharing) ProtoReflect ¶
func (x *LimitSharing) ProtoReflect() protoreflect.Message
func (*LimitSharing) Reset ¶
func (x *LimitSharing) Reset()
func (*LimitSharing) String ¶
func (x *LimitSharing) String() string
type LimitSharing_Trigger ¶
type LimitSharing_Trigger int32
const ( LimitSharing_UNKNOWN LimitSharing_Trigger = 0 LimitSharing_CHAT_SETTING LimitSharing_Trigger = 1 LimitSharing_BIZ_SUPPORTS_FB_HOSTING LimitSharing_Trigger = 2 LimitSharing_UNKNOWN_GROUP LimitSharing_Trigger = 3 )
func (LimitSharing_Trigger) Descriptor ¶
func (LimitSharing_Trigger) Descriptor() protoreflect.EnumDescriptor
func (LimitSharing_Trigger) Enum ¶
func (x LimitSharing_Trigger) Enum() *LimitSharing_Trigger
func (LimitSharing_Trigger) EnumDescriptor ¶
func (LimitSharing_Trigger) EnumDescriptor() ([]byte, []int)
Deprecated: Use LimitSharing_Trigger.Descriptor instead.
func (LimitSharing_Trigger) Number ¶
func (x LimitSharing_Trigger) Number() protoreflect.EnumNumber
func (LimitSharing_Trigger) String ¶
func (x LimitSharing_Trigger) String() string
func (LimitSharing_Trigger) Type ¶
func (LimitSharing_Trigger) Type() protoreflect.EnumType
func (*LimitSharing_Trigger) UnmarshalJSON ¶
func (x *LimitSharing_Trigger) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type Mention ¶
type Mention struct { MentionType *Mention_MentionType `protobuf:"varint,1,opt,name=mentionType,enum=WACommon.Mention_MentionType" json:"mentionType,omitempty"` MentionedJID *string `protobuf:"bytes,2,opt,name=mentionedJID" json:"mentionedJID,omitempty"` Offset *uint32 `protobuf:"varint,3,opt,name=offset" json:"offset,omitempty"` Length *uint32 `protobuf:"varint,4,opt,name=length" json:"length,omitempty"` // contains filtered or unexported fields }
func (*Mention) Descriptor ¶
Deprecated: Use Mention.ProtoReflect.Descriptor instead.
func (*Mention) GetLength ¶
func (*Mention) GetMentionType ¶
func (x *Mention) GetMentionType() Mention_MentionType
func (*Mention) GetMentionedJID ¶
func (*Mention) GetOffset ¶
func (*Mention) ProtoMessage ¶
func (*Mention) ProtoMessage()
func (*Mention) ProtoReflect ¶
func (x *Mention) ProtoReflect() protoreflect.Message
func (*Mention) Reset ¶
func (x *Mention) Reset()
func (*Mention) String ¶
type Mention_MentionType ¶
type Mention_MentionType int32
const ( Mention_PROFILE Mention_MentionType = 0 )
func (Mention_MentionType) Descriptor ¶
func (Mention_MentionType) Descriptor() protoreflect.EnumDescriptor
func (Mention_MentionType) Enum ¶
func (x Mention_MentionType) Enum() *Mention_MentionType
func (Mention_MentionType) EnumDescriptor ¶
func (Mention_MentionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Mention_MentionType.Descriptor instead.
func (Mention_MentionType) Number ¶
func (x Mention_MentionType) Number() protoreflect.EnumNumber
func (Mention_MentionType) String ¶
func (x Mention_MentionType) String() string
func (Mention_MentionType) Type ¶
func (Mention_MentionType) Type() protoreflect.EnumType
func (*Mention_MentionType) UnmarshalJSON ¶
func (x *Mention_MentionType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type MessageKey ¶
type MessageKey struct { RemoteJID *string `protobuf:"bytes,1,opt,name=remoteJID" json:"remoteJID,omitempty"` FromMe *bool `protobuf:"varint,2,opt,name=fromMe" json:"fromMe,omitempty"` ID *string `protobuf:"bytes,3,opt,name=ID" json:"ID,omitempty"` Participant *string `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"` // contains filtered or unexported fields }
func (*MessageKey) Descriptor ¶
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) GetId ¶
func (x *MessageKey) GetId() string
Deprecated: Use GetID
func (*MessageKey) GetParticipant ¶
func (x *MessageKey) GetParticipant() string
func (*MessageKey) GetRemoteJID ¶
func (x *MessageKey) GetRemoteJID() string
func (*MessageKey) GetRemoteJid ¶
func (x *MessageKey) GetRemoteJid() string
Deprecated: Use GetRemoteJID
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" json:"text,omitempty"` MentionedJID []string `protobuf:"bytes,2,rep,name=mentionedJID" json:"mentionedJID,omitempty"` Commands []*Command `protobuf:"bytes,3,rep,name=commands" json:"commands,omitempty"` Mentions []*Mention `protobuf:"bytes,4,rep,name=mentions" json:"mentions,omitempty"` // contains filtered or unexported fields }
func (*MessageText) Descriptor ¶
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) GetMentions ¶
func (x *MessageText) GetMentions() []*Mention
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" json:"payload,omitempty"` Version *int32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"` // contains filtered or unexported fields }
func (*SubProtocol) Descriptor ¶
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
Source Files ¶
WACommon.pb.go legacy.go
- Version
- v0.0.0-20250326122532-6680c9a6e9a7 (latest)
- Published
- Mar 26, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 5 hours ago –
Tools for package owners.