feat: Standardise the external channel user id and user name (#8802)

* feat: Standardize the external channel id and user name

* chore: add specs

* chore: add name space `social`
This commit is contained in:
Muhsin Keloth
2024-01-29 16:57:10 +05:30
committed by GitHub
parent 3ed80fa867
commit ef50edb9e2
6 changed files with 25 additions and 5 deletions

View File

@@ -78,8 +78,11 @@ class Telegram::IncomingMessageService
def additional_attributes
{
# TODO: Remove this once we show the social_telegram_user_name in the UI instead of the username
username: telegram_params_username,
language_code: telegram_params_language_code
language_code: telegram_params_language_code,
social_telegram_user_id: telegram_params_from_id,
social_telegram_user_name: telegram_params_username
}
end