Closed simon25608 closed 1 year ago
if message
is from userJose
and you want to reply to it, just use message.ID
as reply_to_msg_id
parameter
No, message is a message from a channel and I wanted to send it to a specific user (jose) with the quoted text.
what you describe is not possible in Telegram as a normal reply.
all you can do is send him a https://t.me/channelname/msgid URL
For further discussion, as this is not an issue with the library but a question about Telegram API usage. This kind of question should be asked on StackOverflow: https://stackoverflow.com/questions/ask?tags=wtelegramclient+telegram-api
Hello,
I'm trying to send a message with the quoted text, but it doesn't send with the quoted text.
I'm trying to send it like this:
var replyId = message.ReplyTo?.reply_to_msg_id ?? 0; await client.SendMessageAsync(userJose, "Message from debug:" + messageFormat,null, replyId);
Thanks