ClearSavedInfoRequest
Only users can use this method. See code examples.
---functions--- payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?true = Bool
Returns
| Bool |
This type has no instances available.
Parameters
| credentials | flag | This argument defaults to None and can be omitted. |
| info | flag | 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.payments.ClearSavedInfoRequest(
credentials=True,
info=True
))
print(result)