account.addNoPaidMessagesException

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;

Parameters

This constructor does not require any parameters.

Result

 

Possible errors

Code Type Description
400 USER_ID_INVALID The provided user ID is invalid.

Related pages

Paid messages

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.