Protocols/MSNP/Commands/ADG

From NINA Wiki
Revision as of 07:08, 27 July 2009 by AD (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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