Show / Hide Table of Contents

Class InputContactMessageContent

Represents the content of a contact message to be sent as the result of an inline query.

Inheritance
System.Object
InputMessageContent
InputContactMessageContent
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 Source

FirstName

Contact's first name

Declaration
[JsonProperty(PropertyName = "first_name", Required = Required.Always)]
public string FirstName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

LastName

Optional. Contact's last name

Declaration
[JsonProperty(PropertyName = "last_name")]
public string LastName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PhoneNumber

Contact's phone number

Declaration
[JsonProperty(PropertyName = "phone_number", Required = Required.Always)]
public string PhoneNumber { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX