Protocols/MSNP/Commands/ADG

From NINA Wiki
Jump to navigation Jump to search
MSNP Protocol
IntroductionTermsClients
Reference
Error ListCommandsRelaying Party SuiteSpotlife
Services
XMPPHTTP GatewayTabsActivities
Documentation
Development ToolsMSNP Grid
PolygamyURLs used by MSN
Documents
Protocol Versions
Version 21
Version 18
Version 16
Version 15
Version 14
Version 13
Version 12
Version 11
Version 9
Version 8
MSNC
IntroductionP2PObject DescriptorDisplay PicturesFile Transfer
Scenarios
Microsoft Messenger for Mac
MSNP on WebTV (MSNTV)

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