Photon Lua (Corona) Client API

Module chat.Channel

Represents chat channel.

Functions

instance:getName () Returns channel name (counterpart user id for private channel).
instance:isPrivate () Returns true if channel is private.
instance:getMessages () Returns messages cache.
instance:clearMessages () Clears messages cache.


Functions

instance:getName ()
Returns channel name (counterpart user id for private channel).

Returns:

    string Channel name.
instance:isPrivate ()
Returns true if channel is private.

Returns:

    boolean Channel private status.
instance:getMessages ()
Returns messages cache.

Returns:

    table Array of chat.Message.
instance:clearMessages ()
Clears messages cache.
generated by LDoc 1.3