SetUsername
public struct SetUsername : Codable, Equatable, TDFunction
Changes the username of the current user. If something changes, updateUser will be sent
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
The new value of the username. Use an empty string to remove the username
Declaration
Swift
public let username: String
-
Changes the username of the current user. If something changes, updateUser will be sent
Declaration
Swift
public init(username: String)
Parameters
username
The new value of the username. Use an empty string to remove the username