Merge pull request #166 from VOID001/del-patch Add helper function NewDeleteMessage
Syfaro syfaro@huefox.com
Sat, 28 Apr 2018 13:49:37 -0500
1 files changed,
7 insertions(+),
0 deletions(-)
jump to
M
helpers.go
→
helpers.go
@@ -19,6 +19,13 @@ DisableWebPagePreview: false,
} } +func NewDeleteMessage(chatID int64, messageID int) DeleteMessageConfig { + return DeleteMessageConfig{ + ChatID: chatID, + MessageID: messageID, + } +} + // NewMessageToChannel creates a new Message that is sent to a channel // by username. //