Allow a user to send us messages without paying if paid messages » are enabled.
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
account.addNoPaidMessagesException#6f688aa7 flags:# refund_charged:flags.0?true user_id:InputUser = Bool;
This constructor does not require any parameters.
Code | Type | Description |
---|---|---|
400 | USER_ID_INVALID | The provided user ID is invalid. |
Telegram Stars can be used to pay for sending messages to users, supergroups and channels that have configured paid messages, requiring a payment for every message sent to them.