Telegram::sendSticker PHP Method

sendSticker() public method

Use this method to send .webp stickers. On success, the sent Message is returned.
Values inside $content:
Parameters Type Required Description
chat_id Integer Yes Unique identifier for the message recipient — User or GroupChat id
sticker InputFile or String Yes Sticker to send. You can either pass a file_id as String to resend a sticker that is already on the Telegram servers, or upload a new sticker using multipart/form-data.
reply_to_message_id Integer Optional If the message is a reply, ID of the original message
reply_markup ReplyKeyboardMarkup or ReplyKeyboardHide or ForceReply Optional Additional interface options. A JSON-serialized object for a custom reply keyboard, instructions to hide keyboard or to force a reply from the user.
\param $content the request parameters as array \return the JSON Telegram's reply
public sendSticker ( array $content )
$content array
    public function sendSticker(array $content)
    {
        return $this->endpoint("sendSticker", $content);
    }