ReadonlydateReadonlyidReadonlyrawReadonlysenderReadonlysenderReadonlytypeNote on the inside of the gift
Get message contents without any HTML from items or meat
Cleaned message contents
Get the note on the outside of the gift. If the kmail is not a gift, this will be the entire message.
Note on the outside of the gift, or the entire message for non-gifts
Delete the kmail
Whether the kmail was deleted
Get items attached to the inside of the gift
Map of items attached to the kmail and their quantities
Get items attached to the kmail
Map of items attached to the kmail and their quantities
Get meat attached to the kmail
Meat attached to the kmail
Get items attached to the outside of the gift, which should be just the gift wrapper for giftshop items, and all items for normal kmails
Map of items attached to the kmail and their quantities
StaticdeleteStaticgiftSends a gift to a player
Sends multiple kmails if more than 3 unique item types are attached. Ignores any ungiftable items.
The player name or id to receive the gift
Message to send
The items to be attached
The quantity of meat to be attached
The note on the inside of the gift
True if the gift was successfully sent
StaticinboxReturns all of the player's kmails
Number of kmails to fetch
Parsed kmails
StaticparseParses a kmail from KoL's native format
Kmail in the format supplies by api.php
Parsed kmail
StaticsendSends a kmail to a player
Sends multiple kmails if more than 11 unique item types are attached. Ignores any ungiftable items. Sends a gift package to players in run
The player name or id to receive the kmail
The text contents of the message
The items to be attached
The quantity of meat to be attached
True if the kmail was successfully sent
Get the note on the inside of the gift