new HtbPusherEvent(uid, type, target, flag, markdown, debug)
- Source:
An object containing data parsed from a HTB Pusher event. Contains structured information about the specific achievement, target and users involved, as well as the original text for debugging.
Parameters:
Name | Type | Description |
---|---|---|
uid |
number | The Htb UID of the user involved. |
type |
string | The type of message this was, e.g. a challenge own, fortress milestone, machine rating etc. |
target |
string | The string name of the target (thing that was owned), if relevant. |
flag |
string | The string name of the flag / milestone, if a pro lab or other necessitating challenge. |
markdown |
string | The bare markdown representation of the original HTML announcement string. |
debug |
string | The raw HTML string passed in the Pusher event. |