Исправлен возврат messageId при отправке сообщения
This commit is contained in:
@@ -200,6 +200,6 @@ public sealed class MessageBuilder
|
|||||||
_adapterOptions = null;
|
_adapterOptions = null;
|
||||||
_chatId = null;
|
_chatId = null;
|
||||||
|
|
||||||
return messageId;
|
return outMessageId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ public sealed class FileSendPage : SingletonPage
|
|||||||
GetStreamAsync = _ => Task.FromResult<Stream>(stream)
|
GetStreamAsync = _ => Task.FromResult<Stream>(stream)
|
||||||
};
|
};
|
||||||
|
|
||||||
await new MessageBuilder(ctx)
|
var msg = await new MessageBuilder(ctx)
|
||||||
.Text("Вот пример отправки нового файла 📎", MessageFormat.Markdown)
|
.Text("Вот пример отправки нового файла 📎", MessageFormat.Markdown)
|
||||||
.File(demoFile, "Демонстрационный файл")
|
.File(demoFile, "Демонстрационный файл")
|
||||||
.SendAsync(ct);
|
.SendAsync(ct);
|
||||||
|
|||||||
Reference in New Issue
Block a user