Protocols/OSCAR/SNAC/POPUP DISPLAY

From NINA Wiki
Revision as of 05:03, 13 February 2021 by AD (talk | contribs)
(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
0x0008, 0x0002 Host POPUP__DISPLAY Unspecified BOS Active 1.1

Display popup message on client. Older ICQ clients may receive an IM instead.

SNAC Header

Foodgroup uint16 (word) 00 08
Subgroup uint16 (word) 00 02
Flags uint16 (word) 00 00
Request ID uint32 (dword) 00 00 00 00

SNAC Data

Unconfirmed: This SNAC contains no data

From Aleksandr Shutko: SNAC(08,02) server popup message SNAC(08,02) POPUP__DISPLAY


Currently this is AIM only service. ICQ2K+ doesn't request this service from server. Server use this snac to popup message window on the client side.

 00 08   word   SNAC family
 00 02   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 03   word   TLV.Type(0x03) - msg window width
 xx xx   word   TLV.Length
 xx xx   word   Message window width (pixels)


 00 04   word   TLV.Type(0x04) - msg window height
 xx xx   word   TLV.Length
 xx xx   word   Message window height (pixels)
 00 05   word   TLV.Type(0x05) - message autohide delay
 xx xx   word   TLV.Length
 xx xx   word   Message window autohide delay (seconds)


 00 02   word   TLV.Type(0x02) - url for message
 xx xx   word   TLV.Length
 xx ..   string   URL string
 00 01   word   TLV.Type(0x01) - message text
 xx xx   word   TLV.Length
 xx ..   string   Message text (html)



Example SNAC dump with flap header:


  2A 02 85 66 00 36 00 08  00 02 00 00 8E CD F4 87 *..f.:..........
  00 03 00 02 00 D9 00 04  00 02 00 96 00 05 00 02 ................
  00 16 00 02 00 0E 68 74  74 70 3A 2F 2F 75 72 6C ......http://url
  2E 63 6F 6D 00 01 00 04  74 65 73 74             .com....test



POPUP SNACs

SNAC List
Subgroup Origin Name
0x0001 Any POPUP__ERR
This is the error SNAC for the POPUP foodgroup.
0x0002 Host POPUP__DISPLAY
Display popup message on client. Older ICQ clients may receive an IM instead.