skype4hs-0.0.0.0: Skype Desktop API binding for Haskell

Safe HaskellNone

Network.Skype.Protocol.Chat

Synopsis

Documentation

data ChatProperty Source

Constructors

ChatName ChatID

Chat ID

ChatTimestamp Timestamp

Time when chat was created.

ChatAdder (Maybe UserID)

User who added the current user to chat.

ChatStatus ChatStatus

Chat status

ChatPosters [UserID]

Members who have posted messages.

ChatMembers [UserID]

All users who have been there.

ChatTopic ChatTopic

Chat topic

ChatTopicXml ChatTopic

set when a chat topic contains XML formatting elements (topic was changed with ALTER CHATSETTOPICXML command) This property works in parallel with TOPIC property - when TOPICXML is set, the value is stripped of XML tags and updated in TOPIC.

ChatActiveMembers [UserID]

Members who have stayed in chat.

ChatFriendyName ChatWindowTitle

Name shown in chat window title.

ChatMessages [ChatMessageID]

All messages IDs in this chat.

ChatRecentMessages [ChatMessageID]

List of missed/recent chatmessage identifiers

ChatBookmarked Bool

TRUE|FALSE

ChatMemberObjects [ChatMemberID]

Contains the list of CHATMEMBER object IDs.

ChatPasswordHint ChatPasswordHint

Contains password hint text for the chat object.

ChatGuidelines ChatGuidelines

Contains chat guidelines text.

ChatOptions ChatOption

Bitmap of chat options.

ChatDescription ChatDescription

Currently used only for hidden synchronization channels for managing shared groups.

ChatDialogPartner UserID

The handle of the dialog partner for dialog type chats (chats with two participants).

ChatActivityTimestamp Timestamp

The UNIX timestamp of last activity.

ChatType ChatType

Chat type

ChatBlob ChatBlob

For public chats, this property contains encoded list of chat join-points. Contents of this field is used in public chat URLs.

ChatMyStatus ChatMyStatus

User's current status in chat.

ChatMyRole ChatRole

User's privilege level in chat.

ChatApplicants [UserID]

This property contains list of skypenames of people who have applied to join the chat but have not yet been accepted by a public chat administrator. Users only become applicants when the chat has JOINERS_BECOME_APPLICANTS option.

ChatOpened

Chat was opened.

ChatClosed

Chat was closed.

chatOptionJoiningEnabled :: ChatOptionSource

When this bit is off, new users cannot join the chat.

chatOptionJoinersBecomeApplicants :: ChatOptionSource

When this bit is on, new users will be able to join the chat but they will be unable to post or receive messages until authorized by one of the chat administrators (CREATOR or MASTER).

chatOptionJoinersBecomeListeners :: ChatOptionSource

When this bit is on, new users will be able to receive message in chat but unable to post until promoted to USER role. Basically a read-only flag for new users.

chatOptionHistoryDisclosed :: ChatOptionSource

When this bit is off, newly joined members can see chat history prior to their joining. Maximum amount of history backlog available is either 400 messages or 2 weeks of time, depending on which limit is reached first.

chatOptionUsersAreListeners :: ChatOptionSource

Read-only flag for chat members with USER role.

chatOptionTopicAndPicLockedForUsers :: ChatOptionSource

when this bit of options is off, USER level chat members can change chat topic and the topic picture.

data ChatType Source

Constructors

ChatTypeLegacyDialog

No longer supported.

ChatTypeDialog

A chat with only two participants.

ChatTypeMultiChat

A chat with more than two participants.

ChatTypeSharedGroup

A chat used for synchronization of shared contact groups.

ChatTypeLegacyUnsubscribed

No longer supported.

data ChatMyStatus Source

Constructors

ChatMyStatusConnecting

Status set when the system is trying to connect to the chat.

ChatMyStatusWaitingRemoteAccept

Set when a new user joins a public chat. When the chat has participants need authorization to read messages option, the MYSTATUS property of a new applicant will remain in this status until he gets accepted or rejected by a chat administrator. Otherwise user's MYSTATUS will automatically change to either LISTENER or USER, depending on public chat options.

ChatMyStatusAcceptRequired

This status is used for shared contact groups functionality.

ChatMyStatusPasswordRequired

Status set when the system is waiting for user to supply the chat password.

ChatMyStatusSubscribed

Set when user joins the chat.

ChatMyStatusUnsubscribed

Set when user leaves the chat or chat ends.

ChatMyStatusDisbanded

Status set when the chat is disbanded.

ChatMyStatusQueuedBecauseChatIsFull

Currently the maximum number of people in the same chat is 100.

ChatMyStatusApplicationDenied

Set when public chat administrator has rejected user from joining.

ChatMyStatusKicked

Status set when the user has been kicked from the chat. Note that it is possible for the user to re-join the chat after being kicked.

ChatMyStatusBanned

Status set when the user has been banned from the chat.

ChatMyStatusRetryConnecting

Status set when connect to chat failed and system retries to establish connection.

data ChatRole Source

Constructors

ChatRoleCreator

Member who created the chat. There can be only one creator per chat. Only creator can promote other members to masters.

ChatRoleMaster

Also known as chat hosts. Masters cannot promote other people to masters.

ChatRoleHelper

A semi-privileged member. Helpers will not be affected by the USERS_ARE_LISTENERS option. Helpers cannot promote or demote other members.

ChatRoleUser

Regular members who can post messages into the chat.

ChatRoleListener

A demoted member who can only receive messages but not post anything into the chat.

ChatRoleApplicant

A member waiting for acceptance into the chat. Member cannot be demoted to applicants once they have been accepted.