- buyResaleGift(
client: ITelegramClient,
params: {
recipient: InputPeerLike;
shouldDispatch?: true;
slug: string;
ton?: boolean;
},
): Promise<Message | null> Parameters
- client: ITelegramClient
- params: { recipient: InputPeerLike; shouldDispatch?: true; slug: string; ton?: boolean }
Optional
shouldDispatch?: true
slug: string
Optional
ton?: boolean
Returns Promise<Message | null>
ID of the user to buy the gift for