User:Dzonatas Sol/SNOW-375 Resources/ChatterBox

From Second Life Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Resource Method Description
/ChatterBox/Message POST -> { message: string, session: uuid, to: uuid, dialog: integer } <- &status
/ChatterBox/AddMessage POST -> &chat <- &status
/ChatterBox/StartGroupSession POST -> { session: uuid } <- &status
/ChatterBox/UpdateSessionID POST -> { session: uuid, temporary: uuid } <- &status

Note: Description syntax is only based on LLIDL.


/ChatterBox/Message

Deliver a message to a group/IM channel


/ChatterBox/AddMessage

Deliver a message to session. [ Resource should be renamed to reverse /ChatterBox/Message ]


/ChatterBox/StartGroupSession

Initiate a group chat session


/ChatterBox/UpdateSessionID

Update temporary session to real session.


status

{ status: string }

Value is "ok", consistently


chat

{

session : uuid
label : string
from : string
message : string
dialog : integer
estate : integer
region : uuid
link : boolean
position : { X: real, Y: real, Z: real }

}