ViewMessages
public struct ViewMessages : Codable, Equatable, TDFunction
Informs TDLib that messages are being viewed by the user. Many useful activities depend on whether the messages are currently being viewed or not (e.g., marking messages as read, incrementing a view counter, updating a view counter, removing deleted messages in supergroups and channels)
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
Chat identifier
Declaration
Swift
public let chatId: Int53
-
The identifiers of the messages being viewed
Declaration
Swift
public let messageIds: [Int53]
-
True, if messages in closed chats should be marked as read
Declaration
Swift
public let forceRead: Bool
-
Informs TDLib that messages are being viewed by the user. Many useful activities depend on whether the messages are currently being viewed or not (e.g., marking messages as read, incrementing a view counter, updating a view counter, removing deleted messages in supergroups and channels)
Parameters
chatId
Chat identifier
messageIds
The identifiers of the messages being viewed
forceRead
True, if messages in closed chats should be marked as read