Name to set bot’s username to
Instance Method
setUsername(to:then:)
Sets bot’s username
Declaration
func setUsername(to name: String, then completion: ((User?, RequestError?) -> Void)? = nil)
Parameters
name
-
func setUsername(to name: String, then completion: ((User?, RequestError?) -> Void)? = nil)
name
Name to set bot’s username to