Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chatadelic-api

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chatadelic-api

chatadelic.net api

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Functions

onopen(e)

Event on websocket open

onmessage(e)

Event on chat message

onlogin(e)

Event on user login

onlogout(e)

Event on user logout

queueInterval([data], [callback])string

Set queue execution interval If data and callback === undefined returns queue interval

chat([data], [callback])string

Set chat id If data and callback === undefined returns chat id

username([data], [callback])string

Set username If data and callback === undefined returns username

password(data, [callback])

Set password

login([callback])

Login

logout([callback])

Logout

message(data, [callback])

Send message

privateMessage(user, message, callback)

Send private message to user

queueAdd(type, [data], [callback])

Add chatadelic act to queue

onopen(e)

Event on websocket open

Kind: global function

ParamTypeDescription
eObjectevent

onmessage(e)

Event on chat message

Kind: global function

ParamTypeDescription
eObjectevent

onlogin(e)

Event on user login

Kind: global function

ParamTypeDescription
eObjectevent

onlogout(e)

Event on user logout

Kind: global function

ParamTypeDescription
eObjectevent

queueInterval([data], [callback]) ⇒ string

Set queue execution interval If data and callback === undefined returns queue interval

Kind: global function
Returns: string - username

ParamType
[data]string
[callback]function

chat([data], [callback]) ⇒ string

Set chat id If data and callback === undefined returns chat id

Kind: global function
Returns: string - username

ParamType
[data]string
[callback]function

username([data], [callback]) ⇒ string

Set username If data and callback === undefined returns username

Kind: global function
Returns: string - username

ParamType
[data]string
[callback]function

password(data, [callback])

Set password

Kind: global function

ParamType
datastring
[callback]function

login([callback])

Login

Kind: global function

ParamType
[callback]function

logout([callback])

Logout

Kind: global function

ParamType
[callback]function

message(data, [callback])

Send message

Kind: global function

ParamType
datastring
[callback]function

privateMessage(user, message, callback)

Send private message to user

Kind: global function

Param
user
message
callback

queueAdd(type, [data], [callback])

Add chatadelic act to queue

Kind: global function
Access: public

ParamType
typestring
[data]string
[callback]function

FAQs

Package last updated on 13 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc