Protocols/MSNP/Commands/ADG
MSNP Protocol |
Introduction • Terms • Clients |
Reference |
Error List • Commands • Relying Party Suite • Spotlife |
Services |
XMPP • HTTP Gateway • Tabs • Activities |
Documentation |
Development Tools • MSNP Grid |
Polygamy • URLs 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 |
Version 2 |
MSNC |
Introduction • P2P • Object Descriptor • Display Pictures • File 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