send videochat-url and -invitation also through header

This commit is contained in:
B. Petersen
2020-07-20 16:27:04 +02:00
parent f39abd6d51
commit b9d3e6b342
3 changed files with 17 additions and 0 deletions

View File

@@ -1636,6 +1636,7 @@ pub async fn send_videochat_invitation(context: &Context, chat_id: ChatId) -> Re
};
let mut msg = Message::new(Viewtype::VideochatInvitation);
msg.param.set(Param::VideochatUrl, &url);
msg.text = Some(
context
.stock_string_repl_str(StockMessage::VideochatInviteMsgBody, url)