Comments (2)
It is a bad idea to use forwardMessage
to get message content. Why do you need to edit a message with unknown content?
Is there any method that provides full and raw text and we could easily edit a message just like telegram clients ?
Telegram clients don't use anything like "the message with raw entites". They use WYSIWIG input fields, where you can change formatting of some text from context menu.
Is there any method that provides full and raw text ...?
Bot API frameworks in different languages have this functionality, but it should be rarely needed. Since Bot API 5.0 you can pass entities to sendMessage
method in exactly the same format they are received from Bot API. You don't need to use Markdown or HTML parse modes for that.
from telegram-bot-api.
Since Bot API 5.0 you can pass entities to sendMessage method
I didnt know that thanks!
from telegram-bot-api.
Related Issues (20)
- Reactions order in MessageReactionUpdated is not preserved? HOT 3
- message_reaction treats supergroup itselfs reaction as from private chat HOT 2
- Rouse
- Error sending fileid of flac audio in inline request HOT 6
- tele
- Unpaired UTF-8 Bidi Control Character Detected During Build HOT 3
- add WebApp.navigateTo() into the telegram web app js script HOT 1
- Idle Timeout Expired HOT 3
- send file HOT 4
- https://api.telegram.org
- [Docs] Two small errors in the Games paragraph HOT 1
- Temp file HOT 3
- Support docker secrets for TELEGRAM_API_HASH and TELEGRAM_API_ID
- Memory Usage Issue HOT 1
- TelBot
- Provide tag releases
- Is it possible for Telegram to accept an edit but still return `MESSAGE_NOT_MODIFIED`? HOT 4
- CMakeLists error on building in docker HOT 3
- can't connect telegram miniapp dev link HOT 3
- It is not possible to send a delayed message HOT 5
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 telegram-bot-api.