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
usernameThe new value of the username. Use an empty string to remove the username
View on GitHub
Install in Dash
SetUsername Structure Reference