Get message info
•
Version: 10
Some tooltip text!
• 1 minute to read
• 1 minute to read
Bool load(Integer id)
Brings up the message with the given ID. This is always the 1st step when you want to do anything with an existing message.
Message m;
m.load(1);
String getValue(String colName)
Fetches the value from a named field. Look up names in the reference section down below.
Message m;
m.load(2);
print(m.getValue("timeCharge").toString());
Integer[] getAttachments()
Fetches the ID of all attachments connected to the message.
Message m;
m.load(2);
Integer[] attachments = m.getAttachments();
while(attachments.length() > 0) {
printLine(attachments.popFront());
}