-
Notifications
You must be signed in to change notification settings - Fork 5
Accounts
Aravind edited this page Jun 10, 2013
·
2 revisions
Accounts represent external resources like IRC channels, email addresses, or facebook pages.
They have a string id
, which is a unique representation of the address in the external system following URL conventions. (e.g. irc://chat.freenode.net/#ubuntu
or facebook:934882039485
)
They also have a gateway
property, which is the same as the protocol part of the id (irc
or facebook
) and a room
property, which is the ID of the room this account is connected to. The final field, params
is a text field containing JSON encoded data. Params contain gateway-specific things like access tokens and granted permissions, which may be needed to write or read to the external resource represented by the account.