Bot API method
sendGift
7 parameters. Required ones are marked.
Parameters
ParameterTypeRequired
user_idIntegerno
chat_idInteger or Stringno
gift_idStringyes
pay_for_upgradeBooleanno
textStringno
text_parse_modeStringno
text_entitiesArray of MessageEntityno
Related methods
Computed from shared parameters — the source has no such view.
The method description lives with Telegram: source · full reference