Advertisements

Description

Server gives client list of advertisements

Notes

Type Code

122

Version

29

Payload Structure

struct
{
    Advertisement ads[];
};

struct Advertisement
{
    KeyValuePair pairs[];
    char         c8 = '\xC8';
};

struct KeyValuePair
{
    string key;
    char   eq = '=';
    string value;
    char   newline = '\n';
};

Payload Fields Description

categories

Array of chat group category specifications

Category::pairs

Key-value pairs describing a chat group category
Note that last pair doesn't have any ┬źnewline┬╗ field
These keys are observed:

c
Numeric id of advertisement
sc
(?) Seems to be numeric

Example value: -1

key
Comma-separated list of keys

Example value: Cheap Travel,Airfare Discount,Car Rental,DVD Rentals,DVDs,VOIP,Health,Car Insurance,Netflix,Cell Phones

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License