-
Notifications
You must be signed in to change notification settings - Fork 675
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
108 changed files
with
1,788 additions
and
1,412 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<?php | ||
|
||
namespace Telegram\Bot; | ||
|
||
/** | ||
* Class EntityType. | ||
*/ | ||
final class EntityType | ||
{ | ||
/** Sets MessageEntity Type as mention. */ | ||
public const MENTION = 'mention'; | ||
|
||
/** Sets MessageEntity Type as hashtag . */ | ||
public const HASHTAG = 'hashtag'; | ||
|
||
/** Sets MessageEntity Type as cashtag. */ | ||
public const CASHTAG = 'cashtag'; | ||
|
||
/** Sets MessageEntity Type as Bot Command. */ | ||
public const BOT_COMMAND = 'bot_command'; | ||
|
||
/** Sets MessageEntity Type as url. */ | ||
public const URL = 'url'; | ||
|
||
/** Sets MessageEntity Type as email. */ | ||
public const EMAIL = 'email'; | ||
|
||
/** Sets MessageEntity Type as phone number. */ | ||
public const PHONE_NUMBER = 'phone_number'; | ||
|
||
/** Sets MessageEntity Type as bold. */ | ||
public const BOLD = 'bold'; | ||
|
||
/** Sets MessageEntity Type as italic. */ | ||
public const ITALIC = 'italic'; | ||
|
||
/** Sets MessageEntity Type as underline. */ | ||
public const UNDERLINE = 'underline'; | ||
|
||
/** Sets MessageEntity Type as strike through. */ | ||
public const STRIKETHROUGH = 'strikethrough'; | ||
|
||
/** Sets MessageEntity Type as spoiler . */ | ||
public const SPOILER = 'spoiler'; | ||
|
||
/** Sets MessageEntity Type as code. */ | ||
public const CODE = 'code'; | ||
|
||
/** Sets MessageEntity Type as pre. */ | ||
public const PRE = 'code'; | ||
|
||
/** Sets MessageEntity Type as text link. */ | ||
public const TEXT_LINK = 'text_link'; | ||
|
||
/** Sets MessageEntity Type as text mention. */ | ||
public const TEXT_MENTION = 'text_mention'; | ||
} |
Oops, something went wrong.