UpdateBusinessGreetingMessageRequest
Both users and bots may be able to use this request. See code examples.
---functions--- account.updateBusinessGreetingMessage#66cdafc4 flags:# message:flags.0?InputBusinessGreetingMessage = Bool
Returns
Bool |
This type has no instances available.
Parameters
message | InputBusinessGreetingMessage | This argument defaults to None and can be omitted. |
Known RPC errors
This request can't cause any RPC error as far as we know.
Example
from telethon.sync import TelegramClient from telethon import functions, types with TelegramClient(name, api_id, api_hash) as client: result = client(functions.account.UpdateBusinessGreetingMessageRequest( message=types.InputBusinessGreetingMessage( shortcut_id=42, recipients=types.InputBusinessRecipients( existing_chats=True, new_chats=True, contacts=True, non_contacts=True, exclude_selected=True, users=['username'] ), no_activity_days=42 ) )) print(result)