GetChatMessageByDate

public struct GetChatMessageByDate : Codable, Equatable, TDFunction

Returns the last message sent in a chat no later than the specified date

  • Undocumented

    Declaration

    Swift

    public typealias Result = Message
  • Chat identifier

    Declaration

    Swift

    public let chatId: Int53
  • Point in time (Unix timestamp) relative to which to search for messages

    Declaration

    Swift

    public let date: Int32
  • Returns the last message sent in a chat no later than the specified date

    Declaration

    Swift

    public init(chatId: Int53, date: Int32)

    Parameters

    chatId

    Chat identifier

    date

    Point in time (Unix timestamp) relative to which to search for messages