프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$firstName | string | Optional. First name of the other party in a private chat | |
$id | integer | Unique identifier for this chat, not exceeding 1e13 by absolute value | |
$lastName | string | Optional. Last name of the other party in a private chat | |
$map | array | ||
$requiredParams | array | ||
$title | string | Optional. Title, for channels and group chats | |
$type | string | Type of chat, can be either “private”, “group”, “supergroup” or “channel” | |
$username | string | Optional. Username, for private chats and channels if available |
메소드 | 설명 | |
---|---|---|
getFirstName ( ) : string | ||
getId ( ) : integer | ||
getLastName ( ) : string | ||
getTitle ( ) : string | ||
getType ( ) : string | ||
getUsername ( ) : string | ||
setFirstName ( string $firstName ) | ||
setId ( integer $id ) | ||
setLastName ( string $lastName ) | ||
setTitle ( string $title ) | ||
setType ( string $type ) | ||
setUsername ( string $username ) |
protected string $firstName | ||
리턴 | string |
protected int $id | ||
리턴 | integer |
protected string $lastName | ||
리턴 | string |
protected string $type | ||
리턴 | string |
protected string $username | ||
리턴 | string |