Class SetMyName
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SetMyName,Boolean>
io.github.natanimn.telebof.requests.set.SetMyName
SetMyName class. Returns True on success.
- Since:
- 3 March 2025
- Version:
- 1.3.0
- Author:
- Natanim
- See Also:
-
Field Summary
Fields inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
api, methodName, parameters -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
add, exec, getContentType, getMethodName, getParameters, getResponseType, hasMultipart, setHasMultipart
-
Constructor Details
-
SetMyName
Required- Parameters:
api- api
-
-
Method Details
-
name
Optional- Parameters:
name- New bot name; 0-64 characters. Pass an empty string to remove the dedicated name for the given language.- Returns:
SetMyName
-
languageCode
Optional- Parameters:
languageCode- A two-letter ISO 639-1 language code. If empty, the name will be shown to all users for whose language there is no dedicated name.- Returns:
SetMyName
-