Exemplo n.º 1
0
 public ImagemapMessage(string baseUrl, string altText, ImagemapSize baseSize, IList <IImagemapAction> actions)
 {
     BaseUrl  = baseUrl;
     AltText  = altText.Substring(0, Math.Min(altText.Length, 400));;
     BaseSize = baseSize;
     Actions  = actions;
 }
Exemplo n.º 2
0
 public ImagemapMessage(string baseUrl, string altText, ImagemapSize baseSize, IList <IImagemapAction> actions)
 {
     BaseUrl  = baseUrl;
     AltText  = altText;
     BaseSize = baseSize;
     Actions  = actions;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="baseUrl">
 /// Base URL of image (Max: 1000 characters)
 /// HTTPS
 /// </param>
 /// <param name="altText">
 /// Alternative text
 /// Max: 400 characters
 /// </param>
 /// <param name="baseSize">
 /// Width of base image (set to 1040px)
 /// Height of base image(set to the height that corresponds to a width of 1040px)
 /// </param>
 /// <param name="actions">
 /// Action when tapped.
 /// Max: 50
 /// </param>
 /// <param name="quickReply">
 /// QuickReply
 /// </param>
 /// <param name="video">
 /// Video to play on imagemap
 /// </param>
 public ImagemapMessage(string baseUrl, string altText, ImagemapSize baseSize, IList <IImagemapAction> actions, QuickReply quickReply = null, Video video = null)
 {
     BaseUrl    = baseUrl;
     AltText    = altText.Substring(0, Math.Min(altText.Length, 400));;
     BaseSize   = baseSize;
     Actions    = actions;
     QuickReply = quickReply;
     Video      = video;
 }