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.1.6
  • 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

setQueueInterval(data, callback)ChatadelicApi
getQueueInterval()number
setChat(data, callback)ChatadelicApi
getChat()number
setUsername(data, callback)ChatadelicApi
getUsername()string
setPassword(data, callback)ChatadelicApi
getPassword()string

DO NOT return password

init(callback)

Init chatadelcic session

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

getOnline()Array

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

setQueueInterval(data, callback) ⇒ ChatadelicApi

Kind: global function
Returns: ChatadelicApi - Returns this to chain methods

ParamTypeDescription
datanumberQueue execution interval
callbackfunction

getQueueInterval() ⇒ number

Kind: global function
Returns: number - Queue execution interval

setChat(data, callback) ⇒ ChatadelicApi

Kind: global function
Returns: ChatadelicApi - Returns this to chain methods

ParamTypeDescription
datanumberChat id
callbackfunction

getChat() ⇒ number

Kind: global function
Returns: number - Chat id

setUsername(data, callback) ⇒ ChatadelicApi

Kind: global function
Returns: ChatadelicApi - Returns this to chain methods

ParamTypeDescription
datastringUsername
callbackfunction

getUsername() ⇒ string

Kind: global function
Returns: string - Username

setPassword(data, callback) ⇒ ChatadelicApi

Kind: global function
Returns: ChatadelicApi - Returns this to chain methods

ParamTypeDescription
datastringPassword
callbackfunction

getPassword() ⇒ string

DO NOT return password

Kind: global function
Returns: string - Empty string

init(callback)

Init chatadelcic session

Kind: global function

Param
callback

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

getOnline() ⇒ Array

Kind: global function
Returns: Array - Online list

FAQs

Package last updated on 19 May 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