PHP 클래스 TelegramBot\Api\Types\Inline\InputMessageContent\Contact

또한 보기: https://core.telegram.org/bots/api#inputcontactmessagecontent Represents the content of a contact message to be sent as the result of an inline query.
상속: extends TelegramBot\Api\Types\Inline\InputMessageContent, implements TelegramBot\Api\TypeInterface
파일 보기 프로젝트 열기: TelegramBot/Api

보호된 프로퍼티들

프로퍼티 타입 설명
$firstName string Contact's first name
$lastName string Optional. Contact's last name
$map array
$phoneNumber string Contact's phone number
$requiredParams array

공개 메소드들

메소드 설명
__construct ( string $phoneNumber, string $firstName, string | null $lastName = null ) Contact constructor.
getFirstName ( ) : mixed
getLastName ( ) : string
getPhoneNumber ( ) : string
setFirstName ( mixed $firstName )
setLastName ( string $lastName )
setPhoneNumber ( string $phoneNumber )

메소드 상세

__construct() 공개 메소드

Contact constructor.
public __construct ( string $phoneNumber, string $firstName, string | null $lastName = null )
$phoneNumber string
$firstName string
$lastName string | null

getFirstName() 공개 메소드

public getFirstName ( ) : mixed
리턴 mixed

getLastName() 공개 메소드

public getLastName ( ) : string
리턴 string

getPhoneNumber() 공개 메소드

public getPhoneNumber ( ) : string
리턴 string

setFirstName() 공개 메소드

public setFirstName ( mixed $firstName )
$firstName mixed

setLastName() 공개 메소드

public setLastName ( string $lastName )
$lastName string

setPhoneNumber() 공개 메소드

public setPhoneNumber ( string $phoneNumber )
$phoneNumber string

프로퍼티 상세

$firstName 보호되어 있는 프로퍼티

Contact's first name
protected string $firstName
리턴 string

$lastName 보호되어 있는 프로퍼티

Optional. Contact's last name
protected string $lastName
리턴 string

$map 보호되어 있는 정적으로 프로퍼티

protected static array $map
리턴 array

$phoneNumber 보호되어 있는 프로퍼티

Contact's phone number
protected string $phoneNumber
리턴 string

$requiredParams 보호되어 있는 정적으로 프로퍼티

protected static array $requiredParams
리턴 array