Table of Contents

TTMSFNCCloudWhatsApp.SendSticker Method

Uploads a sticker file and sends it to a recipient.

API unit family: TMSFNCCloudWhatsApp Declaring type: TTMSFNCCloudWhatsApp Inherited from: TTMSFNCCloudCustomWhatsApp

Overloads

Overload 1

Uploads a sticker file and sends it to a recipient.

procedure SendSticker(ANumber: String; AFile: TTMSFNCUtilsFile; AReplyToID: String = ''); overload;

Parameters

Name Description
ANumber Recipient phone number.
AFile File object that provides the sticker content.
AReplyToID Optional message identifier to reply to.

Overload 2

Uploads sticker content from a stream and sends it to a recipient.

procedure SendSticker(ANumber: String; AMediaStream: TStream; AFileName: string; AReplyToID: String = ''); overload;

Parameters

Name Description
ANumber Recipient phone number.
AMediaStream Stream that contains the sticker content.
AFileName File name to associate with the uploaded sticker.
AReplyToID Optional message identifier to reply to.