From 2be41ab217b9147fe8d6f4fdbb7857fe0991bb5a Mon Sep 17 00:00:00 2001 From: Sam Hofius Date: Fri, 15 Jan 2021 13:51:59 -0500 Subject: [PATCH] Add option to send nonblocking chat messages --- types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/types.go b/types.go index bf01418..41f591e 100644 --- a/types.go +++ b/types.go @@ -114,6 +114,7 @@ type SendMessageOptions struct { ReplyTo *chat1.MessageID `json:"reply_to,omitempty"` ExplodingLifetime *ExplodingLifetime `json:"exploding_lifetime,omitempty"` UnreadOnly bool `json:"unread_only,omitempty"` + NonBlock bool `json:"nonblock,omitempty"` } type sendMessageParams struct {