Add option to send nonblocking chat messages
This commit is contained in:
1
types.go
1
types.go
@ -114,6 +114,7 @@ type SendMessageOptions struct {
|
|||||||
ReplyTo *chat1.MessageID `json:"reply_to,omitempty"`
|
ReplyTo *chat1.MessageID `json:"reply_to,omitempty"`
|
||||||
ExplodingLifetime *ExplodingLifetime `json:"exploding_lifetime,omitempty"`
|
ExplodingLifetime *ExplodingLifetime `json:"exploding_lifetime,omitempty"`
|
||||||
UnreadOnly bool `json:"unread_only,omitempty"`
|
UnreadOnly bool `json:"unread_only,omitempty"`
|
||||||
|
NonBlock bool `json:"nonblock,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type sendMessageParams struct {
|
type sendMessageParams struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user