types

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContactAvatar

type ContactAvatar struct {
	Image       []byte
	ContentType string
	Hash        string
}

type GroupIdentifier

type GroupIdentifier string

func (GroupIdentifier) Bytes

func (gid GroupIdentifier) Bytes() (raw libsignalgo.GroupIdentifier, err error)

func (GroupIdentifier) String

func (gid GroupIdentifier) String() string

type Profile added in v0.5.1

type Profile struct {
	Name       string
	About      string
	AboutEmoji string
	AvatarPath string
	Key        libsignalgo.ProfileKey
	FetchedAt  time.Time
	Credential []byte
}

func (*Profile) Equals added in v0.5.1

func (p *Profile) Equals(other *Profile) bool

type Recipient added in v0.6.0

type Recipient struct {
	ACI           uuid.UUID
	PNI           uuid.UUID
	E164          string
	ContactName   string
	ContactAvatar ContactAvatar
	Profile       Profile

	NeedsPNISignature bool
}

The Recipient struct combines information from two sources: - A Signal "contact": contact info harvested from our user's phone's contact list - A Signal "profile": contact info entered by the target user when registering for Signal

type SerializedGroupMasterKey

type SerializedGroupMasterKey string

This is just base64 encoded group master key

type SerializedInviteLinkPassword added in v0.6.0

type SerializedInviteLinkPassword string

Jump to

Keyboard shortcuts

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