Portability | portable |
---|---|
Stability | provisional |
Maintainer | Michael Xavier <michael@michaelxavier.net> |
- data Room = Room {}
- newtype RoomWithRoot = RoomWithRoot {
- unRootRoom :: Room
- newtype Rooms = Rooms {}
- data RoomUpdate = RoomUpdate {}
- data Message = Message {}
- newtype Messages = Messages {
- unMessages :: [Message]
- data MessageType
- data Statement
- = TextStatement { }
- | PasteStatement { }
- | SoundStatement { }
- | TweetStatement {
- statementUrl :: Text
- data Sound
- data User = User {
- userId :: Id
- userName :: Text
- userEmailAddress :: Text
- userAdmin :: Bool
- userCreatedAt :: CampfireTime
- userType :: UserType
- newtype UserWithRoot = UserWithRoot {
- unRootUser :: User
- data UserType
- data Upload = Upload {}
- newtype Uploads = Uploads {}
- newtype UploadWithRoot = UploadWithRoot {}
- type Id = Integer
- newtype CampfireTime = CampfireTime {}
Documentation
A chat room on a Campfire site
Room | |
|
newtype RoomWithRoot Source
Utility type used for extracting a Room from the root JSON object the Campfire API returns
Utility type used for extracting a Room from the list returned by the Campfire API
data RoomUpdate Source
Modification to be made to a room.
A single line of dialog in a particular chat
Message | |
|
Utility type used for extracting a Message from the list returned by the Campfire API
Messages | |
|
data MessageType Source
Distinct types of messages which can be found in Campfire
TextMessage | |
PasteMessage | Monospaced text displayed in block form |
SoundMessage | Audio sound effect message |
AdvertisementMessage | |
AllowGuestsMessage | |
DisallowGuestsMessage | |
IdleMessage | |
KickMessage | Message indicating that a user was kicked out |
LeaveMessage | |
SystemMessage | |
TimestampMessage | |
TopicChangeMessage | |
UnidleMessage | |
UnlockMessage | |
UploadMessage | |
EnterMessage |
Statements are messages that you can send to CampFire.
TextStatement | |
PasteStatement | |
SoundStatement | Play an audio message in the room |
TweetStatement | Display a tweet from a url on Twitter |
|
Different pre-set sounds that can be played in a room.
User which can be found in any number of rooms.
User | |
|
newtype UserWithRoot Source
Utility type used for extracting a User from the root JSON object the Campfire API returns
Different classes of users that can be found in chat.
File upload in a room.
Upload | |
|
Utility type used for extracting a Upload from the list returned by the Campfire API
newtype UploadWithRoot Source
Utility type used for extracting an Upload from the root JSON object the Campfire API returns
newtype CampfireTime Source
Utility type to normalize the non-standard date format that the Campfire API returns