We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aa9b13 commit 5564c75Copy full SHA for 5564c75
types.go
@@ -123,15 +123,6 @@ func (m *Message) Time() time.Time {
123
return time.Unix(int64(m.Date), 0)
124
}
125
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
-
135
// IsCommand returns true if message starts with '/'.
136
func (m *Message) IsCommand() bool {
137
return m.Text != "" && m.Text[0] == '/'
0 commit comments