SetName

public struct SetName : Codable, Equatable, TDFunction

Changes the first and last name of the current user. If something changes, updateUser will be sent

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • The new value of the first name for the user; 1-64 characters

    Declaration

    Swift

    public let firstName: String
  • The new value of the optional last name for the user; 0-64 characters

    Declaration

    Swift

    public let lastName: String
  • Changes the first and last name of the current user. If something changes, updateUser will be sent

    Declaration

    Swift

    public init(firstName: String, lastName: String)

    Parameters

    firstName

    The new value of the first name for the user; 1-64 characters

    lastName

    The new value of the optional last name for the user; 0-64 characters