skype4hs-0.0.0.0: Skype Desktop API binding for Haskell

Safe HaskellNone

Network.Skype.Command.Chat

Synopsis

Documentation

setTopic :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> ChatTopic -> SkypeT m ()Source

Changes a chat topic.

addMembers :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> [UserID] -> SkypeT m ()Source

Adds new members to a chat.

joinChat :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m ()Source

Joins to a chat.

leaveChat :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m ()Source

Leaves to a chat.

sendMessage :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> ChatMessageBody -> SkypeT m ChatMessageIDSource

Sends a message to this chat.

getTimestamp :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m TimestampSource

Returns the timestamp of this chat.

getAdder :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m (Maybe UserID)Source

Returns the user who added the current user to chat.

getStatus :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m ChatStatusSource

Returns the chat status.

getAllPosters :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m [UserID]Source

Returns the name shown in chat window title.

getAllMembers :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m [UserID]Source

Returns all users who have been there.

getTopic :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m ChatTopicSource

Returns the chat topic.

getActiveMembers :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m [UserID]Source

Returns the members who have stayed in chat.

getWindowTitle :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m ChatWindowTitleSource

Returns the chat window title.

getAllMessages :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m [ChatMessageID]Source

Returns all messages in this chat.

getRecentMessages :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m [ChatMessageID]Source

Returns recent messages in this chat.

isBookmarked :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m BoolSource

Indicates if this chat has been bookmarked.

openChat :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => ChatID -> SkypeT m ()Source

Open a chat window.

searchAllChats :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => SkypeT m [ChatID]Source

Returns a list of chat IDs.

searchActiveChats :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => SkypeT m [ChatID]Source

Returns a list of chat IDs that are open in the window.

searchMissedChats :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => SkypeT m [ChatID]Source

Returns a list of chat IDs that include unread messages.

searchRecentChats :: (MonadBaseControl IO m, MonadIO m, MonadSkype m) => SkypeT m [ChatID]Source

Returns a list of recent chat IDs.