libtd-ktx / kotlinx.telegram.coroutines / sharePhoneNumber
sharePhoneNumber
suspend fun
TelegramFlow
.sharePhoneNumber(userId:
Int
):
Unit
Suspend function, which shares the phone number of the current user with a mutual contact. Supposed to be called when the user clicks on chatActionBarSharePhoneNumber.
Parameters
userId
- Identifier of the user with whom to share the phone number. The user must be a
mutual contact.