Layer 220
StickersCheckShortName
Check whether the given short name is available
method
Users
stickers.checkShortName#284b3639 short_name:string = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| ShortName | string | Short name |
Returns
BoolPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | SHORT_NAME_INVALID | The specified short name is invalid. |
| 400 | SHORT_NAME_OCCUPIED | The specified short name is already in use. |
Gogram Example
// StickersCheckShortName - positional arguments result, err := client.StickersCheckShortName("...") if err != nil { // handle error } // result is *tg.Bool