Fix some lints.
This commit is contained in:
parent
458a89724a
commit
6b0d3ce2a6
4 changed files with 8 additions and 8 deletions
4
types.go
4
types.go
|
@ -311,8 +311,8 @@ func (e MessageEntity) IsCommand() bool {
|
|||
return e.Type == "bot_command"
|
||||
}
|
||||
|
||||
// IsUrl returns true if the type of the message entity is "url".
|
||||
func (e MessageEntity) IsUrl() bool {
|
||||
// IsURL returns true if the type of the message entity is "url".
|
||||
func (e MessageEntity) IsURL() bool {
|
||||
return e.Type == "url"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue