matterhorn-90000.0.0: Terminal client for the Mattermost chat system
Safe HaskellSafe-Inferred
LanguageHaskell2010

Matterhorn.State.MessageSelect

Synopsis

Message selection mode

flagSelectedMessage :: Lens' ChatState (MessageInterface n i) -> MH () Source #

Tell the server that the message we currently have selected should have its flagged state toggled.

pinSelectedMessage :: Lens' ChatState (MessageInterface n i) -> MH () Source #

Tell the server that the message we currently have selected should have its pinned state toggled.

flagMessage :: PostId -> Bool -> MH () Source #

Tell the server that we have flagged or unflagged a message.