SendCallRating

public struct SendCallRating : Codable, Equatable, TDFunction

Sends a call rating

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Call identifier

    Declaration

    Swift

    public let callId: Int32
  • Call rating; 1-5

    Declaration

    Swift

    public let rating: Int32
  • An optional user comment if the rating is less than 5

    Declaration

    Swift

    public let comment: String
  • List of the exact types of problems with the call, specified by the user

    Declaration

    Swift

    public let problems: [CallProblem]
  • Sends a call rating

    Declaration

    Swift

    public init(callId: Int32, rating: Int32, comment: String, problems: [CallProblem])

    Parameters

    callId

    Call identifier

    rating

    Call rating; 1-5

    comment

    An optional user comment if the rating is less than 5

    problems

    List of the exact types of problems with the call, specified by the user