signal

package
v0.0.0-...-fd38a95 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(config config.Config) jsonrpc.RPCClient

Types

type GroupClient

type GroupClient struct {
	// contains filtered or unexported fields
}

func NewGroupClient

func NewGroupClient(cfg config.Config) *GroupClient

func (*GroupClient) AddAdminMember

func (gc *GroupClient) AddAdminMember(groupId string, number string) error

func (*GroupClient) CreateOrUpdateGroup

func (gc *GroupClient) CreateOrUpdateGroup(t *storage.Ticker) error

func (*GroupClient) QuitGroup

func (gc *GroupClient) QuitGroup(groupID string) error

func (*GroupClient) RemoveAllMembers

func (gc *GroupClient) RemoveAllMembers(groupId string) error

type GroupMember

type GroupMember struct {
	Number string `json:"number"`
	Uuid   string `json:"uuid"`
}

type ListGroupsResponseGroup

type ListGroupsResponseGroup struct {
	GroupID         string        `json:"id"`
	Name            string        `json:"name"`
	Description     string        `json:"description"`
	Members         []GroupMember `json:"members"`
	GroupInviteLink string        `json:"groupInviteLink"`
}

Jump to

Keyboard shortcuts

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