CheckShortNameRequest

Only users can use this method. See code examples.

---functions---
stickers.checkShortName#284b3639 short_name:string = Bool

Returns

Bool

This type has no instances available.

Parameters

short_namestring

Known RPC errors

This request can cause 2 known errors:

ShortNameInvalidError.
ShortNameOccupiedError.

You can import these from telethon.errors.

Example

from telethon.sync import TelegramClient
from telethon import functions, types

with TelegramClient(name, api_id, api_hash) as client:
    result = client(functions.stickers.CheckShortNameRequest(
        short_name='some string here'
    ))
    print(result)