SearchCallMessages

public struct SearchCallMessages : Codable, Equatable, TDFunction

Searches for call messages. Returns the results in reverse chronological order (i. e., in order of decreasing message_id). For optimal performance the number of returned messages is chosen by the library

  • Undocumented

    Declaration

    Swift

    public typealias Result = Messages
  • Identifier of the message from which to search; use 0 to get results from the last message

    Declaration

    Swift

    public let fromMessageId: Int53
  • The maximum number of messages to be returned; up to 100. Fewer messages may be returned than specified by the limit, even if the end of the message history has not been reached

    Declaration

    Swift

    public let limit: Int32
  • If true, returns only messages with missed calls

    Declaration

    Swift

    public let onlyMissed: Bool
  • Searches for call messages. Returns the results in reverse chronological order (i. e., in order of decreasing message_id). For optimal performance the number of returned messages is chosen by the library

    Declaration

    Swift

    public init(fromMessageId: Int53, limit: Int32, onlyMissed: Bool)

    Parameters

    fromMessageId

    Identifier of the message from which to search; use 0 to get results from the last message

    limit

    The maximum number of messages to be returned; up to 100. Fewer messages may be returned than specified by the limit, even if the end of the message history has not been reached

    onlyMissed

    If true, returns only messages with missed calls