WoW:API GetInboxHeaderInfo: Difference between revisions

Added note that GetInboxText marks an item as read
(added isGM value, fixed a minor line break issue with long snippet)
(Added note that GetInboxText marks an item as read)
Line 16: Line 16:
:;daysLeft : Number - The number of days (fractional) before the message expires
:;daysLeft : Number - The number of days (fractional) before the message expires
:;hasItem : Flag - 1 if the mail still has an item in it, nil otherwise
:;hasItem : Flag - 1 if the mail still has an item in it, nil otherwise
:;wasRead : Flag - 1 if the mail has been read, nil otherwise
:;wasRead : Flag - 1 if the mail has been read, nil otherwise.  Using [[API GetInboxText|GetInboxText]]() marks an item as read.
:;wasReturned : Flag - 1 if the mail was returned, nil otherwise
:;wasReturned : Flag - 1 if the mail was returned, nil otherwise
:;textCreated : Flag - 1 if a letter object has been created from this mail, nil otherwise
:;textCreated : Flag - 1 if a letter object has been created from this mail, nil otherwise
Anonymous user