OpenChat

public struct OpenChat : Codable, Equatable, TDFunction

Informs TDLib that the chat is opened by the user. Many useful activities depend on the chat being opened or closed (e.g., in supergroups and channels all updates are received only for opened chats)

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Chat identifier

    Declaration

    Swift

    public let chatId: Int53
  • Informs TDLib that the chat is opened by the user. Many useful activities depend on the chat being opened or closed (e.g., in supergroups and channels all updates are received only for opened chats)

    Declaration

    Swift

    public init(chatId: Int53)

    Parameters

    chatId

    Chat identifier