Exemple #1
0
 public SendPhoto(string channelName, FileToSend photo)
     : base(channelName, "sendPhoto", "photo")
 {
     this.File = photo;
 }
Exemple #2
0
 public SendPhoto(long chatId, FileToSend photo)
     : base(chatId, "sendPhoto", "photo")
 {
     this.File = photo;
 }
Exemple #3
0
 public SendVideo(string channelName, FileToSend video)
     : base(channelName, "sendVideo", "video")
 {
     this.File = video;
 }
Exemple #4
0
 public SendVideo(long chatId, FileToSend video)
     : base(chatId, "sendVideo", "video")
 {
     this.File = video;
 }
Exemple #5
0
 public SendSticker(string channelName, FileToSend sticker)
     : base(channelName, "sendSticker", "sticker")
 {
     this.File = sticker;
 }
Exemple #6
0
 public SendSticker(long chatId, FileToSend sticker)
     : base(chatId, "sendSticker", "sticker")
 {
     this.File = sticker;
 }