AddRecentlyFoundChat

public struct AddRecentlyFoundChat : Codable, Equatable, TDFunction

Adds a chat to the list of recently found chats. The chat is added to the beginning of the list. If the chat is already in the list, it will be removed from the list first

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Identifier of the chat to add

    Declaration

    Swift

    public let chatId: Int53
  • Adds a chat to the list of recently found chats. The chat is added to the beginning of the list. If the chat is already in the list, it will be removed from the list first

    Declaration

    Swift

    public init(chatId: Int53)

    Parameters

    chatId

    Identifier of the chat to add