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