skype4hs-0.0.0.0: Skype Desktop API binding for Haskell

Safe HaskellNone

Network.Skype.Protocol.ChatMessage

Documentation

data ChatMessageProperty Source

Constructors

ChatMessageTimestamp Timestamp

Time when the message was sent (UNIX timestamp).

ChatMessageFromHandle UserID

Skypename of the originator of the chatmessage.

ChatMessageFromDisplayName UserDisplayName

Displayed name of the originator of the chatmessage.

ChatMessageType ChatMessageType

Message type

ChatMessageStatus ChatMessageStatus

Message status

ChatMessageLeaveReason (Maybe ChatMessageLeaveReason)

Used with LEFT type message

ChatMessageChatName ChatID

Chat that includes the message

ChatMessageUsers [UserID]

People added to chat

ChatMessageIsEditable Bool

TRUE|FALSE

ChatMessageEditedBy UserID

Identity of the last user who edited the message.

ChatMessageEditedTimestamp Timestamp

UNIX timestamp of the last edit.

ChatMessageOptions ChatOption

Numeric field that contains chat options bitmap in system messages that get sent out when a change is made to chat options (messages where TYPE is SETOPTIONS). In normal messages the value of this field is 0.

ChatMessageRole ChatRole

Used in system messages that get sent when a public chat administrator has promoted or demoted a chat member. The TYPE property of such messages is set to SETROLE. In these messages the value of this field is set to the new assigned role of the promoted or demoted chat member. In normal messages the value of this property is set to UNKNOWN.

ChatMessageBody ChatMessageBody

Message body

ChatMessageSeen

The message is seen and will be removed from missed messages list. The UI sets this automatically if auto-popup is enabled for the user.

data ChatMessageType Source

Constructors

ChatMessageTypeSetTopic

Change of chattopic

ChatMessageTypeSaid

IM

ChatMessageTypeAddedMembers

Invited someone to chat.

ChatMessageTypeSawMembers

Chat participant has seen other members.

ChatMessageTypeCreatedChatWith

Chat to multiple people is created.

ChatMessageTypeLeft

Someone left chat. Can also be a notification if somebody cannot be added to chat.

ChatMessageTypePostedContacts

System message that is sent or received when one user sends contacts to another. Added in protocol 7.

ChatMessageTypeGapInChat

messages of this type are generated locally, during synchronization, when a user enters a chat and it becomes apparent that it is impossible to update user's chat history completely. Chat history is kept only up to maximum of 400 messages or 2 weeks. When a user has been offline past that limit, GAP_IN_CHAT notification is generated. Added in protocol 7.

ChatMessageTypeSetRole

System messages that are sent when a chat member gets promoted or demoted.

ChatMessageTypeKicked

System messages that are sent when a chat member gets kicked

ChatMessageTypeKickBanned

System messages that are sent when a chat member gets banned.

ChatMessageTypeSetOptions

System messages that are sent when chat options are changed.

ChatMessageTypeSetPicture

System messages that are sent when a chat member has changed the public chat topic picture. Added in protocol 7.

ChatMessageTypeSetGuideLines

System messages that are sent when chat guidelines are changed.

ChatMessageTypeJoinedAsApplicant

notification message that gets sent in a public chat with JOINERS_BECOME_APPLICANTS options, when a new user joins the chat.

ChatMessageTypeEmoted 
ChatMessageTypeUnkown

Unknown message type, possibly due to connecting to Skype with older protocol.

data ChatMessageStatus Source

Constructors

ChatMessageStatusSending

Message is being sent

ChatMessageStatusSent

Message was sent

ChatMessageStatusReceive

Message has been received

ChatMessageStatusRead

Message has been read

data ChatMessageLeaveReason Source

Constructors

ChatMessageLeaveReasonUserNotFound

User was not found

ChatMessageLeaveReasonUserIncapable

User has an older Skype version and cannot join multichat

ChatMessageLeaveReasonAdderMustBeFriend

Recipient accepts messages from contacts only and sender is not in his/her contact list

ChatMessageLeaveReasonAdderMustBeAuthorized

Recipient accepts messages from authorized users only and sender is not authorized

ChatMessageLeaveReasonUnsubscribe

Participant left chat