프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$length | integer | Length of the entity in UTF-16 code units | |
$map | array | ||
$offset | integer | Offset in UTF-16 code units to the start of the entity | |
$requiredParams | array | ||
$type | string | One of mention (@username), hashtag, bot_command, url, email, bold (bold text), italic (italic text), code (monowidth string),pre (monowidth block), text_link (for clickable text URLs) | |
$url | string | Optional. For “text_link” only, url that will be opened after user taps on the text |
메소드 | 설명 | |
---|---|---|
getLength ( ) : integer | ||
getOffset ( ) : integer | ||
getType ( ) : string | ||
getUrl ( ) : string | ||
setLength ( integer $length ) | ||
setOffset ( integer $offset ) | ||
setType ( string $type ) | ||
setUrl ( string $url ) |
protected int $offset | ||
리턴 | integer |
protected string $type | ||
리턴 | string |
protected string $url | ||
리턴 | string |