Whitebeam Template Reference Documentation

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Template Reference Documentation

Chat Template

post()

Post new message to the conversation

See Also

rb.chat.create, modify()   

Syntax

number = rb.chat.post(roomID, contactID, key, message)

Parameters

The 'post' method takes 4 parameters:

Name Type/Value Range/Length Description
roomIDnumber  Required. ID of the room to which this message is to be posted
contactIDnumber  Required. ID of the contact posting the message
keystring  Required. Key for this member (returned by 'join'). Must match in order to post a new message.
messagestring  Required. Text of message to be posted

Results

The 'post' method returns number:

Type/Value Range/Length Description
number   Post new message to the conversation

Remarks

Post single message

Whitebeam release 1.3.36
(loadtime : 191ms)