Client.createStarsInvoice¶
Create an invoice link for Telegram Stars
Client.createStarsInvoice(
title: str,
amount: int,
payload: bytes,
description: str = '',
subscription_period: int = 0,
start_parameter: str = '',
photo_url: str = '',
photo_size: int = 0,
photo_width: int = 0,
photo_height: int = 0,
recurring_payment_terms_of_service_url: str = '',
terms_of_service_url: str = ''
) → Error | HttpUrl
Source: pytdbot/methods/methods.py