Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to reset group link, update group link state and group permissions #597

Open
EnriqCG opened this issue Oct 3, 2024 · 0 comments

Comments

@EnriqCG
Copy link

EnriqCG commented Oct 3, 2024

Feature Request

The endpoint that updates the state of a Signal group (/v1/groups/:number/:groupId) only accepts three properties as input data:

{
  "base64_avatar": "string",
  "description": "string",
  "name": "string"
}

The client function only accepts these parameters, so they can't be passed to the endpoint:

func (s *SignalClient) UpdateGroup(number string, groupId string, base64Avatar *string, groupDescription *string, groupName *string) error {

I suggest adding support for updating the group_link and permissions, like the create group endpoint supports:

"group_link": "string",
"permissions": {
    "add_members": "string",
    "edit_group": "string"
}

Additionally, it would be great to have the ability to reset a group link. signal-cli already supports the --reset-link option on the updateGroup command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant