PHP 클래스 TelegramBot\Api\Types\User

상속: extends TelegramBot\Api\BaseType, implements TelegramBot\Api\TypeInterface
파일 보기 프로젝트 열기: TelegramBot/Api 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$firstName string User‘s or bot’s first name
$id integer Unique identifier for this user or bot
$lastName string Optional. User‘s or bot’s last name
$map array
$requiredParams array
$username string Optional. User‘s or bot’s username

공개 메소드들

메소드 설명
getFirstName ( ) : string
getId ( ) : integer
getLastName ( ) : string
getUsername ( ) : string
setFirstName ( string $firstName )
setId ( integer $id )
setLastName ( string $lastName )
setUsername ( string $username )

메소드 상세

getFirstName() 공개 메소드

public getFirstName ( ) : string
리턴 string

getId() 공개 메소드

public getId ( ) : integer
리턴 integer

getLastName() 공개 메소드

public getLastName ( ) : string
리턴 string

getUsername() 공개 메소드

public getUsername ( ) : string
리턴 string

setFirstName() 공개 메소드

public setFirstName ( string $firstName )
$firstName string

setId() 공개 메소드

public setId ( integer $id )
$id integer

setLastName() 공개 메소드

public setLastName ( string $lastName )
$lastName string

setUsername() 공개 메소드

public setUsername ( string $username )
$username string

프로퍼티 상세

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

User‘s or bot’s first name
protected string $firstName
리턴 string

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

Unique identifier for this user or bot
protected int $id
리턴 integer

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

Optional. User‘s or bot’s last name
protected string $lastName
리턴 string

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

protected static array $map
리턴 array

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

protected static array $requiredParams
리턴 array

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

Optional. User‘s or bot’s username
protected string $username
리턴 string