Comments (6)
Semi equal for Videos.
// reply
await bot.telegram.sendMessage(chatId, "telegraf гівна поїв", {
disable_notification: true,
reply_parameters: {
chat_id: chatId,
message_id: infoMessage.message_id,
allow_sending_without_reply: false
}
})
// no reply
await bot.telegram.sendVideo(chatId, Input.fromLocalFile(lessonPath, lesson.state.output), {
caption: lesson.state.output,
disable_notification: true,
reply_parameters: {
chat_id: chatId,
message_id: infoMessage.message_id,
allow_sending_without_reply: false
}
})
If you use Telegram REST API manualy and send request with all the same data, all will works fine
from telegraf.
Same issue
from telegraf.
Look at attachFormValue
of client.ts, it did't process the situation of typeof value === 'object'
but value have no media
or type
props (is not a attachment media)
But with reply_parameters
, the value is something like { message_id: 114514 }
from telegraf.
Related Issues (20)
- First Scene execute two times Scenes.WizardScene HOT 3
- Composer.reaction method not working on new release 4.16.0 HOT 2
- BUG] type error when sending message using Web page preview option HOT 2
- Getting ETIMEDOUT while running Telegraf bot in docker container with network mode host HOT 16
- Type 'FilteredContext<Ctx, Filter>' does not satisfy the constraint 'Context<Update>' HOT 2
- `ctx.wizard.step` could unwrap before return
- Slow code suggestions in Telegraf 4.16.X after update HOT 9
- Missing date in forward_origin HOT 2
- First reaction to channel post triggers `edited_channel_post` update HOT 3
- Bot API 7.2 support HOT 2
- Support for scheduling messages HOT 1
- [FR] Allow change fetch timeout
- Error When launch HOT 6
- Telegraf v5 can't be installed
- Property data is does't exist on type CallbackQuery HOT 4
- Can't edit thumbnail as InputFile on editMessageMedia
- Unsupported algorithm sha3-256
- `await bot.launch()` hangs forever during long polling in latest version HOT 1
- isBotRunning or isBotStopped property
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegraf.