Skip to content

Develop Connection.Interface.ChatRead (WIP) #23

@Kaffeine

Description

@Kaffeine

Objects implementing this interface must also implement: org.freedesktop.Telepathy.Connection.

Methods

MarkRead (a{sv}: ChannelRequest, s: Message_Token) -> void

Parameters:

  • ChannelRequest — a{sv} (Qualified_Property_Value_Map)
    A dictionary containing desirable properties, with the same semantics as the corresponding parameter to Connection.Interface.Requests CreateChannel
  • Message_Token — s (Protocol_Message_Token)
    An identifier of the last read message. All messages up to this one should be marked as read. MUST NOT be an empty string.

Mark the referenced Channel history as read.

Possible Errors:

  • Invalid Argument

MarkUnread (a{sv}: ChannelRequest) -> void

Parameters:

  • ChannelRequest — a{sv} (Qualified_Property_Value_Map)
    A dictionary containing desirable properties, with the same semantics as the corresponding parameter to Connection.Interface.Requests CreateChannel

Manually mark a Channel as unread.

Signals

MarkedRead (a{sv}: ChannelRequest, s: Message_Token)

Properties

ReadReportingSupport — u (Read_Reporting_Support_Flags)

Types

Read_Reporting_Support_Flags — u

  • Mark_Unread (1)

See also

https://core.telegram.org/method/messages.getUnreadMentions
https://core.telegram.org/method/messages.readHistory
https://core.telegram.org/method/messages.readMentions
https://core.telegram.org/method/messages.readMessageContents
https://core.telegram.org/method/messages.markDialogUnread

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions