Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop Connection.Interface.ChatRead (WIP) #23

Open
Kaffeine opened this issue Feb 3, 2020 · 0 comments
Open

Develop Connection.Interface.ChatRead (WIP) #23

Kaffeine opened this issue Feb 3, 2020 · 0 comments

Comments

@Kaffeine
Copy link
Member

Kaffeine commented Feb 3, 2020

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

@Kaffeine Kaffeine changed the title Develop Connection.Interface.ReadHistory (WIP) Develop Connection.Interface.MessageRead (WIP) Feb 4, 2020
@Kaffeine Kaffeine changed the title Develop Connection.Interface.MessageRead (WIP) Develop Connection.Interface.ChatRead (WIP) Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant