diff --git a/helpers_message.go b/helpers_message.go index f7c0492..8aec4cb 100644 --- a/helpers_message.go +++ b/helpers_message.go @@ -234,3 +234,11 @@ func (msg *Message) HasCaptionMentions() bool { func (msg *Message) HasCaption() bool { return !msg.IsText() && msg.Caption != "" } + +func (msg *Message) HasAuthorSignature() bool { + if msg == nil { + return false + } + + return msg.AuthorSignature != "" +}