SharePhoneNumber
public struct SharePhoneNumber : Codable, Equatable, TDFunction
Shares the phone number of the current user with a mutual contact. Supposed to be called when the user clicks on chatActionBarSharePhoneNumber
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
Identifier of the user with whom to share the phone number. The user must be a mutual contact
Declaration
Swift
public let userId: Int32
-
Shares the phone number of the current user with a mutual contact. Supposed to be called when the user clicks on chatActionBarSharePhoneNumber
Declaration
Swift
public init(userId: Int32)
Parameters
userId
Identifier of the user with whom to share the phone number. The user must be a mutual contact