Class InputContactMessageContent
Represents the content of a contact message to be sent as the result of an inline query.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TelegramBotApi.Types.Inline
Assembly: TelegramBotApi.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn, ItemNullValueHandling = NullValueHandling.Ignore)]
public class InputContactMessageContent : InputMessageContent
Properties
| Improve this Doc View SourceFirstName
Contact's first name
Declaration
[JsonProperty(PropertyName = "first_name", Required = Required.Always)]
public string FirstName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LastName
Optional. Contact's last name
Declaration
[JsonProperty(PropertyName = "last_name")]
public string LastName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PhoneNumber
Contact's phone number
Declaration
[JsonProperty(PropertyName = "phone_number", Required = Required.Always)]
public string PhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String |
VCard
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes
Declaration
[JsonProperty(PropertyName = "vcard")]
public string VCard { get; set; }
Property Value
Type | Description |
---|---|
System.String |