Public Member Functions | Properties

IRobotMessage Interface Reference

IRobotMessage Interface. More...

import "BotPlatformSDK.idl";

List of all members.

Public Member Functions

HRESULT RegisterEmoticon ([in] BSTR shortcut,[in] BSTR filename)
HRESULT DeregisterEmoticon ([in] BSTR shortcut)

Properties

BSTR Signature [get, set]
LONG FontStyle [get, set]
BSTR FontName [get, set]
LONG FontColor [get, set]
BSTR Text [get, set]

Detailed Description

IRobotMessage Interface.


Member Function Documentation

HRESULT IRobotMessage::DeregisterEmoticon ( [in] BSTR  shortcut  ) 

Deregister the emoticon After the invocation of this function, the shortcut appearing in the message will show as plain text.

Parameters:
[in] shortcut The shortcut of the emoticon. If shortcut appears in message, it'll show as an icon corresponding to your 'filename'.
Returns:
Returns S_OK if successful, or an error value otherwise
HRESULT IRobotMessage::RegisterEmoticon ( [in] BSTR  shortcut,
[in] BSTR  filename 
)

Register custom emoticon

Parameters:
[in] shortcut The shortcut of the emoticon. If shortcut appears in message, it'll show as an icon corresponding to your 'filename'.
[in] filename The filename of emotion. Submitted to INCE by SP, and a certified file of INCE
Returns:
Returns S_OK if successful, or an error value otherwise

Property Documentation

LONG IRobotMessage::FontColor [get, set]

Get or Set font color of the message

Parameters:
FontColor font color
BSTR IRobotMessage::FontName [get, set]

Get or Set font name of the message

Parameters:
FontName font name
LONG IRobotMessage::FontStyle [get, set]

Get or Set font style of the message, as bold, italic, strikeout, underline

Parameters:
FontStyle font style
See also:
BotPlatformSDKLib::_FONT_STYLE
BSTR IRobotMessage::Signature [get, set]

Get or Set robot message preface. eg: xxx says.

Parameters:
Signature signature
BSTR IRobotMessage::Text [get, set]

Get or Set the plain text of the message

Parameters:
Text text

The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Properties