Protocols/MSNP/Commands/ADG

From NINA Wiki
Revision as of 00:23, 29 May 2020 by AD (talk | contribs) (1 revision imported)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

ADG

SUMMARY

Adds a group to the principal's contacts list.

SYNTAX

 ADG trid group-name 0
  • group-name: URL-encoded name of the group. It may not exceed 61 bytes after URL encoding.

RESPONSE

 ADG trid ver-num group-name group-num 0.
  • ver-num: Was used to support revision numbers of the contacts list, but now 1 since the feature was dropped.
  • group-name: The name of the group, it should be the same as what was supplied.
  • group-num: The number assigned to the group

DESCRIPTION

The group with the specified name is added to the principal's contact list.

ERRORS

  • 223: Cannot have more than 30 groups
  • 229: Group name too long