Protocols/OSCAR/SNAC/ICQ DB QUERY/REQ INFORMATION

From NINA Wiki
Revision as of 06:11, 14 February 2021 by AD (talk | contribs) (Created page with " {{Protocols/OSCAR}} {{Protocols/OSCAR/SNAC/Stats |origin={{Protocols/OSCAR/SNAC/ICQ__DB_QUERY/Origin}} |name=ICQ__DB_QUERY |id=0x0015, 0x0002 |foodgroup=ICQ |service={{Protoc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
OSCAR Protocol
IntroductionTermsClients
Basic
DatatypesFLAPSNACTLV
UUIDsErrorsTool IDs
Host Interaction
Rate LimitsMigrationMessages
Other Services
ADMINADVERTALERT
BARTBOSBUCPCHAT
CHAT_NAV
Tutorials
Sign OnBARTRendezvous
ICBMLocateBuddies
Foodgroups
OSERVICE (0x0001)
LOCATE (0x0002)
BUDDY (0x0003)
ICBM (0x0004)
ADVERT (0x0005)
INVITE (0x0006)
ADMIN (0x0007)
POPUP (0x0008)
PD (0x0009)
USER_LOOKUP (0x000A)
STATS (0x000B)
TRANSLATE (0x000C)
CHAT_NAV (0x000D)
CHAT (0x000E)
ODIR (0x000F)
BART (0x0010)
FEEDBAG (0x0013)
ICQ (0x0015)
BUCP (0x0017)
ALERT (0x0018)
PLUGIN (0x0022)
UNNAMED_FG_24 (0x0024)
MDIR (0x0025)
ARS (0x044A)
ID Origin Name Foodgroup Service Status Version
0x0015, 0x0002 Client ICQ__DB_QUERY ICQ BOS Active 1.2


From Aleksandr Shutko: SNAC(15,02)/07D0 CLI_META_INFO_REQ


This snac used by client to request/update various information (request user info, update user info, people search, send sms, request parameters, unregistration). ICQ server should reply using SNAC(15,03)/07DA.

 00 15   word   SNAC family
 00 02   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(1) - encapsulated META_DATA
 xx xx   word   TLV.Length
 xx xx   word (LE)   data chunk size (TLV.Length-2)
 xx xx xx xx   dword (LE)   request owner uin
 D0 07   word (LE)   request type: META_DATA_REQ
 xx xx   word (LE)   request sequence number (incrementing)
 2E 04   word (LE)   request subtype (see table bellow)
 ......   ......   request data (depended on subtype)


Request subtypes list:

 SNAC(15,02)/07D0/03EA    Set user basic info request
 SNAC(15,02)/07D0/03F3    Set user work info request
 SNAC(15,02)/07D0/03FD    Set user more info request
 SNAC(15,02)/07D0/0406    Set user notes info request
 SNAC(15,02)/07D0/040B    Set user extended email info request
 SNAC(15,02)/07D0/0410    Set user interests info request
 SNAC(15,02)/07D0/041A    Set user affilations info request
 SNAC(15,02)/07D0/0424    Set user permissions info request
 SNAC(15,02)/07D0/042E    Change user password request
 SNAC(15,02)/07D0/0442    Set user homepage category info request
 SNAC(15,02)/07D0/04B2    Request full user info
 SNAC(15,02)/07D0/04BA    Request short user info
 SNAC(15,02)/07D0/04C4    Unregister user request
 SNAC(15,02)/07D0/04D0    Request full user info #2
 SNAC(15,02)/07D0/0515    Search by details request (plain)
 SNAC(15,02)/07D0/051F    Search by uin request (plain)
 SNAC(15,02)/07D0/0529    Search by email request (plain)
 SNAC(15,02)/07D0/0533    White pages search request (plain, simple)
 SNAC(15,02)/07D0/053D    Search by details request (plain, wildcard)
 SNAC(15,02)/07D0/0547    Search by email request (plain, wildcard)
 SNAC(15,02)/07D0/0551    White pages search request (plain, wildcard)
 SNAC(15,02)/07D0/0569    Search by uin request (tlv)
 SNAC(15,02)/07D0/055F    Whitepages search request (tlv)
 SNAC(15,02)/07D0/0573    Search by email request (tlv)
 SNAC(15,02)/07D0/074E    Random chat user search request
 SNAC(15,02)/07D0/0898    Request server variable via xml
 SNAC(15,02)/07D0/0AA5    Send registration stats report
 SNAC(15,02)/07D0/0AAF    Send shortcut bar stats report
 SNAC(15,02)/07D0/0C3A    Save info tlv-based request
 SNAC(15,02)/07D0/1482    Client send SMS request
 SNAC(15,02)/07D0/2008    Client spam report request