Versions in this module Expand all Collapse all v0 v0.9.1 Feb 23, 2026 v0.9.0 Feb 8, 2026 Changes in this version + type AccountSettings struct + DiscoverableByPhoneNumber *bool + UnrestrictedUnidentifiedAccess *bool + type Client struct + func NewClient(opts ...Option) *Client + func Open(number string, opts ...Option) (*Client, error) + func (c *Client) ACI() string + func (c *Client) Close() error + func (c *Client) DeviceID() int + func (c *Client) Devices(ctx context.Context) ([]DeviceInfo, error) + func (c *Client) FetchGroupDetails(ctx context.Context) (int, error) + func (c *Client) GetGroup(groupID string) (*Group, error) + func (c *Client) GetIdentityKey(theirUUID string) ([]byte, error) + func (c *Client) GetServerProfile(ctx context.Context) (*ServerProfile, error) + func (c *Client) Groups() ([]*Group, error) + func (c *Client) IdentityKey() ([]byte, error) + func (c *Client) Link(ctx context.Context, onQR func(uri string)) error + func (c *Client) Load() error + func (c *Client) LookupACI(number string) string + func (c *Client) LookupNumber(aci string) string + func (c *Client) Number() string + func (c *Client) ProfileInfo() (*ProfileInfo, error) + func (c *Client) Receive(ctx context.Context) iter.Seq2[Message, error] + func (c *Client) RefreshPreKeys(ctx context.Context) error + func (c *Client) Register(ctx context.Context, number string, transport string, ...) error + func (c *Client) Send(ctx context.Context, recipient string, text string) error + func (c *Client) SendGroup(ctx context.Context, groupID string, text string) error + func (c *Client) SendSealed(ctx context.Context, recipient string, text string) error + func (c *Client) SendWithPNI(ctx context.Context, recipient string, text string) error + func (c *Client) SetProfile(ctx context.Context, name string, numberSharing *bool) error + func (c *Client) SetProfileName(ctx context.Context, name string) error + func (c *Client) SyncContacts(ctx context.Context) error + func (c *Client) SyncGroups(ctx context.Context) (int, error) + func (c *Client) UpdateAccountSettings(ctx context.Context, settings *AccountSettings) error + func (c *Client) UpdateAttributes(ctx context.Context) error + type DeviceInfo = signalservice.DeviceInfo + type Group = store.Group + type Message = signalservice.Message + type Option func(*Client) + func WithAPIURL(url string) Option + func WithDBPath(path string) Option + func WithDebugDir(path string) Option + func WithLogger(l *log.Logger) Option + func WithProvisioningURL(url string) Option + func WithTLSConfig(tc *tls.Config) Option + type ProfileInfo struct + ACI string + DeviceID int + Number string + PNI string + ProfileKey []byte + type ServerProfile struct + About string + AboutEmoji string + Avatar string + Name string