Public Member Functions | |
| HRESULT | Clear (void) |
| HRESULT | AddRecipient ([in] RtCSNID csnidClient) |
| HRESULT | GetNumRecipients ([out, retval] RtDWORD *pdwNum) |
| HRESULT | GetRecipientId ([in] RtDWORD dwInd,[out, retval] RtCSNID *pcsnidClient) |
Properties | |
| BSTR | Message [set] |
| BSTR * | Message [get] |
| HRESULT IRdNtModeratorTxtMsg::Clear | ( | void | ) |
Clear this chat message.
var modTxt = System.CreateDO('Network Package/Net Moderator Text Message');
modTxt.Clear();
| HRESULT IRdNtModeratorTxtMsg::AddRecipient | ( | [in] RtCSNID | csnidClient | ) |
Add recipient for this text message.
| pcsnidClient | [in] Returns client's identification number. |
modTxt.AddRecipient(Id of client);
| HRESULT IRdNtModeratorTxtMsg::GetNumRecipients | ( | [out, retval] RtDWORD * | pdwNum | ) |
Get number of recipients.
var numRecip = modTxt.GetNumRecipients();
| HRESULT IRdNtModeratorTxtMsg::GetRecipientId | ( | [in] RtDWORD | dwInd, | |
| [out, retval] RtCSNID * | pcsnidClient | |||
| ) |
Get recipient id.
| dwInd | [in] Specify index of the recipient. |
for(i=0;i<numRecip;i++)
{
var recptId = modTxt.GetRecipientId(i);
System.Alert(recptId);
}
BSTR IRdNtModeratorTxtMsg::Message [set] |
Set the text message.
| bstrMsg | [in] Specify the text message. |
modTxt.Message = "wopbopbaloola";
BSTR * IRdNtModeratorTxtMsg::Message [get] |
Get the text message.
var modMsg = modTxt.Message();
1.5.5