Skip to content

Commit 5564c75

Browse files
author
Syfaro
committed
Remove other deprecated method.
1 parent 8aa9b13 commit 5564c75

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

types.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,6 @@ func (m *Message) Time() time.Time {
123123
return time.Unix(int64(m.Date), 0)
124124
}
125125

126-
// IsGroup returns if the message was sent to a group.
127-
//
128-
// Deprecated in favor of Chat.IsGroup.
129-
func (m *Message) IsGroup() bool {
130-
log.Println("Message.IsGroup is deprecated.")
131-
log.Println("Please use Chat.IsGroup instead.")
132-
return m.Chat.IsGroup()
133-
}
134-
135126
// IsCommand returns true if message starts with '/'.
136127
func (m *Message) IsCommand() bool {
137128
return m.Text != "" && m.Text[0] == '/'

0 commit comments

Comments
 (0)