예제 #1
0
 internal static async Task <bool> SendFileAsync(TelegramFile file, Tuple <TLAbsInputPeer, long> peer,
                                                 Language text, TextAsCaption textAsCaption, TelegramBotAbstract telegramBotAbstract,
                                                 string username, string lang, long?replyToMessageId, bool disablePreviewLink)
 {
     return(await telegramBotAbstract.SendFileAsync(file, peer, text, textAsCaption, username, lang,
                                                    replyToMessageId, disablePreviewLink));
 }
예제 #2
0
 internal static async Task <bool> SendFileAsync(TelegramFile file, Tuple <TLAbsInputPeer, long> peer,
                                                 Language text, TextAsCaption textAsCaption, TelegramBotAbstract telegramBotAbstract,
                                                 string username, string lang)
 {
     return(await telegramBotAbstract.SendFileAsync(file, peer, text, textAsCaption, username, lang));
 }