waWinUIApi

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PositronDataSource_name = map[int32]string{
		1: "MESSAGES",
		2: "CHATS",
		3: "CONTACTS",
		4: "GROUP_METADATA",
		5: "GROUP_PARTICIPANTS",
	}
	PositronDataSource_value = map[string]int32{
		"MESSAGES":           1,
		"CHATS":              2,
		"CONTACTS":           3,
		"GROUP_METADATA":     4,
		"GROUP_PARTICIPANTS": 5,
	}
)

Enum value maps for PositronDataSource.

View Source
var File_waWinUIApi_WAWinUIApi_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PositronChat

type PositronChat struct {
	ID          *string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
	Name        *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Timestamp   *int64  `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"`
	UnreadCount *int64  `protobuf:"varint,4,opt,name=unreadCount" json:"unreadCount,omitempty"`
	JSON        *string `protobuf:"bytes,99,opt,name=JSON" json:"JSON,omitempty"`
	// contains filtered or unexported fields
}

func (*PositronChat) Descriptor deprecated

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

Deprecated: Use PositronChat.ProtoReflect.Descriptor instead.

func (*PositronChat) GetID

func (x *PositronChat) GetID() string

func (*PositronChat) GetJSON

func (x *PositronChat) GetJSON() string

func (*PositronChat) GetName

func (x *PositronChat) GetName() string

func (*PositronChat) GetTimestamp

func (x *PositronChat) GetTimestamp() int64

func (*PositronChat) GetUnreadCount

func (x *PositronChat) GetUnreadCount() int64

func (*PositronChat) ProtoMessage

func (*PositronChat) ProtoMessage()

func (*PositronChat) ProtoReflect

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

func (*PositronChat) Reset

func (x *PositronChat) Reset()

func (*PositronChat) String

func (x *PositronChat) String() string

type PositronContact

type PositronContact struct {
	ID                   *string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
	PhoneNumber          *string `protobuf:"bytes,2,opt,name=phoneNumber" json:"phoneNumber,omitempty"`
	Name                 *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	IsAddressBookContact *bool   `protobuf:"varint,4,opt,name=isAddressBookContact" json:"isAddressBookContact,omitempty"`
	JSON                 *string `protobuf:"bytes,99,opt,name=JSON" json:"JSON,omitempty"`
	// contains filtered or unexported fields
}

func (*PositronContact) Descriptor deprecated

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

Deprecated: Use PositronContact.ProtoReflect.Descriptor instead.

func (*PositronContact) GetID

func (x *PositronContact) GetID() string

func (*PositronContact) GetIsAddressBookContact

func (x *PositronContact) GetIsAddressBookContact() bool

func (*PositronContact) GetJSON

func (x *PositronContact) GetJSON() string

func (*PositronContact) GetName

func (x *PositronContact) GetName() string

func (*PositronContact) GetPhoneNumber

func (x *PositronContact) GetPhoneNumber() string

func (*PositronContact) ProtoMessage

func (*PositronContact) ProtoMessage()

func (*PositronContact) ProtoReflect

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

func (*PositronContact) Reset

func (x *PositronContact) Reset()

func (*PositronContact) String

func (x *PositronContact) String() string

type PositronData

type PositronData struct {
	DataSource        *PositronDataSource          `protobuf:"varint,1,opt,name=dataSource,enum=WAWinUIApi.PositronDataSource" json:"dataSource,omitempty"`
	Messages          []*PositronMessage           `protobuf:"bytes,2,rep,name=messages" json:"messages,omitempty"`
	Chats             []*PositronChat              `protobuf:"bytes,3,rep,name=chats" json:"chats,omitempty"`
	Contacts          []*PositronContact           `protobuf:"bytes,4,rep,name=contacts" json:"contacts,omitempty"`
	GroupMetadata     []*PositronGroupMetadata     `protobuf:"bytes,5,rep,name=groupMetadata" json:"groupMetadata,omitempty"`
	GroupParticipants []*PositronGroupParticipants `protobuf:"bytes,6,rep,name=groupParticipants" json:"groupParticipants,omitempty"`
	// contains filtered or unexported fields
}

func (*PositronData) Descriptor deprecated

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

Deprecated: Use PositronData.ProtoReflect.Descriptor instead.

func (*PositronData) GetChats

func (x *PositronData) GetChats() []*PositronChat

func (*PositronData) GetContacts

func (x *PositronData) GetContacts() []*PositronContact

func (*PositronData) GetDataSource

func (x *PositronData) GetDataSource() PositronDataSource

func (*PositronData) GetGroupMetadata

func (x *PositronData) GetGroupMetadata() []*PositronGroupMetadata

func (*PositronData) GetGroupParticipants

func (x *PositronData) GetGroupParticipants() []*PositronGroupParticipants

func (*PositronData) GetMessages

func (x *PositronData) GetMessages() []*PositronMessage

func (*PositronData) ProtoMessage

func (*PositronData) ProtoMessage()

func (*PositronData) ProtoReflect

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

func (*PositronData) Reset

func (x *PositronData) Reset()

func (*PositronData) String

func (x *PositronData) String() string

type PositronDataSource

type PositronDataSource int32
const (
	PositronDataSource_MESSAGES           PositronDataSource = 1
	PositronDataSource_CHATS              PositronDataSource = 2
	PositronDataSource_CONTACTS           PositronDataSource = 3
	PositronDataSource_GROUP_METADATA     PositronDataSource = 4
	PositronDataSource_GROUP_PARTICIPANTS PositronDataSource = 5
)

func (PositronDataSource) Descriptor

func (PositronDataSource) Enum

func (PositronDataSource) EnumDescriptor deprecated

func (PositronDataSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use PositronDataSource.Descriptor instead.

func (PositronDataSource) Number

func (PositronDataSource) String

func (x PositronDataSource) String() string

func (PositronDataSource) Type

func (*PositronDataSource) UnmarshalJSON deprecated

func (x *PositronDataSource) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type PositronGroupMetadata

type PositronGroupMetadata struct {
	ID      *string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
	Subject *string `protobuf:"bytes,2,opt,name=subject" json:"subject,omitempty"`
	JSON    *string `protobuf:"bytes,99,opt,name=JSON" json:"JSON,omitempty"`
	// contains filtered or unexported fields
}

func (*PositronGroupMetadata) Descriptor deprecated

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

Deprecated: Use PositronGroupMetadata.ProtoReflect.Descriptor instead.

func (*PositronGroupMetadata) GetID

func (x *PositronGroupMetadata) GetID() string

func (*PositronGroupMetadata) GetJSON

func (x *PositronGroupMetadata) GetJSON() string

func (*PositronGroupMetadata) GetSubject

func (x *PositronGroupMetadata) GetSubject() string

func (*PositronGroupMetadata) ProtoMessage

func (*PositronGroupMetadata) ProtoMessage()

func (*PositronGroupMetadata) ProtoReflect

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

func (*PositronGroupMetadata) Reset

func (x *PositronGroupMetadata) Reset()

func (*PositronGroupMetadata) String

func (x *PositronGroupMetadata) String() string

type PositronGroupParticipants

type PositronGroupParticipants struct {
	ID           *string  `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"`
	Participants []string `protobuf:"bytes,2,rep,name=participants" json:"participants,omitempty"`
	JSON         *string  `protobuf:"bytes,99,opt,name=JSON" json:"JSON,omitempty"`
	// contains filtered or unexported fields
}

func (*PositronGroupParticipants) Descriptor deprecated

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

Deprecated: Use PositronGroupParticipants.ProtoReflect.Descriptor instead.

func (*PositronGroupParticipants) GetID

func (x *PositronGroupParticipants) GetID() string

func (*PositronGroupParticipants) GetJSON

func (x *PositronGroupParticipants) GetJSON() string

func (*PositronGroupParticipants) GetParticipants

func (x *PositronGroupParticipants) GetParticipants() []string

func (*PositronGroupParticipants) ProtoMessage

func (*PositronGroupParticipants) ProtoMessage()

func (*PositronGroupParticipants) ProtoReflect

func (*PositronGroupParticipants) Reset

func (x *PositronGroupParticipants) Reset()

func (*PositronGroupParticipants) String

func (x *PositronGroupParticipants) String() string

type PositronMessage

type PositronMessage struct {
	Timestamp *int64                  `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"`
	Type      *string                 `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
	Body      *string                 `protobuf:"bytes,3,opt,name=body" json:"body,omitempty"`
	ID        *PositronMessage_MsgKey `protobuf:"bytes,4,opt,name=ID" json:"ID,omitempty"`
	JSON      *string                 `protobuf:"bytes,99,opt,name=JSON" json:"JSON,omitempty"`
	// contains filtered or unexported fields
}

func (*PositronMessage) Descriptor deprecated

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

Deprecated: Use PositronMessage.ProtoReflect.Descriptor instead.

func (*PositronMessage) GetBody

func (x *PositronMessage) GetBody() string

func (*PositronMessage) GetID

func (*PositronMessage) GetJSON

func (x *PositronMessage) GetJSON() string

func (*PositronMessage) GetTimestamp

func (x *PositronMessage) GetTimestamp() int64

func (*PositronMessage) GetType

func (x *PositronMessage) GetType() string

func (*PositronMessage) ProtoMessage

func (*PositronMessage) ProtoMessage()

func (*PositronMessage) ProtoReflect

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

func (*PositronMessage) Reset

func (x *PositronMessage) Reset()

func (*PositronMessage) String

func (x *PositronMessage) String() string

type PositronMessage_MsgKey

type PositronMessage_MsgKey struct {
	FromMe      *bool                `protobuf:"varint,1,opt,name=fromMe" json:"fromMe,omitempty"`
	Remote      *PositronMessage_WID `protobuf:"bytes,2,opt,name=remote" json:"remote,omitempty"`
	ID          *string              `protobuf:"bytes,3,opt,name=ID" json:"ID,omitempty"`
	Participant *PositronMessage_WID `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"`
	// contains filtered or unexported fields
}

func (*PositronMessage_MsgKey) Descriptor deprecated

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

Deprecated: Use PositronMessage_MsgKey.ProtoReflect.Descriptor instead.

func (*PositronMessage_MsgKey) GetFromMe

func (x *PositronMessage_MsgKey) GetFromMe() bool

func (*PositronMessage_MsgKey) GetID

func (x *PositronMessage_MsgKey) GetID() string

func (*PositronMessage_MsgKey) GetParticipant

func (x *PositronMessage_MsgKey) GetParticipant() *PositronMessage_WID

func (*PositronMessage_MsgKey) GetRemote

func (*PositronMessage_MsgKey) ProtoMessage

func (*PositronMessage_MsgKey) ProtoMessage()

func (*PositronMessage_MsgKey) ProtoReflect

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

func (*PositronMessage_MsgKey) Reset

func (x *PositronMessage_MsgKey) Reset()

func (*PositronMessage_MsgKey) String

func (x *PositronMessage_MsgKey) String() string

type PositronMessage_WID

type PositronMessage_WID struct {
	Serialized *string `protobuf:"bytes,1,opt,name=serialized" json:"serialized,omitempty"`
	// contains filtered or unexported fields
}

func (*PositronMessage_WID) Descriptor deprecated

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

Deprecated: Use PositronMessage_WID.ProtoReflect.Descriptor instead.

func (*PositronMessage_WID) GetSerialized

func (x *PositronMessage_WID) GetSerialized() string

func (*PositronMessage_WID) ProtoMessage

func (*PositronMessage_WID) ProtoMessage()

func (*PositronMessage_WID) ProtoReflect

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

func (*PositronMessage_WID) Reset

func (x *PositronMessage_WID) Reset()

func (*PositronMessage_WID) String

func (x *PositronMessage_WID) String() string

type WinMessages

type WinMessages struct {
	Messages []*PositronMessage `protobuf:"bytes,1,rep,name=messages" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*WinMessages) Descriptor deprecated

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

Deprecated: Use WinMessages.ProtoReflect.Descriptor instead.

func (*WinMessages) GetMessages

func (x *WinMessages) GetMessages() []*PositronMessage

func (*WinMessages) ProtoMessage

func (*WinMessages) ProtoMessage()

func (*WinMessages) ProtoReflect

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

func (*WinMessages) Reset

func (x *WinMessages) Reset()

func (*WinMessages) String

func (x *WinMessages) String() string

Jump to

Keyboard shortcuts

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