Skip to content
Snippets Groups Projects
Verified Commit d593e4fa authored by Adrian Paschkowski's avatar Adrian Paschkowski :thinking:
Browse files

Add warning about unsupported telegram entities

parent 4e66ec47
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,12 @@ export class TelegramService implements OnModuleInit {
this.entries.set(ctx.from.id, entry);
const msg = await ctx.reply('📌 Message queued', {
const hasEntities = !!message.entities || !!message.caption_entities;
const entitiesWarning = hasEntities
? '. Note that message formatting is currently unsupported and will appear as plain text.'
: '';
const msg = await ctx.reply('📌 Message queued' + entitiesWarning, {
reply_markup: {
inline_keyboard: [
[
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment