export types
This commit is contained in:
parent
a7d64a9d7d
commit
349cf3561d
@ -145,17 +145,17 @@ type WebhookData struct {
|
|||||||
Content string `json:"content"`
|
Content string `json:"content"`
|
||||||
QuoteExternalID string `json:"quote_external_id,omitempty"`
|
QuoteExternalID string `json:"quote_external_id,omitempty"`
|
||||||
QuoteContent string `json:"quote_content,omitempty"`
|
QuoteContent string `json:"quote_content,omitempty"`
|
||||||
User *newMessageDataUser `json:"user,omitempty"`
|
User *MessageDataUser `json:"user,omitempty"`
|
||||||
Bot *newMessageDataBot `json:"bot,omitempty"`
|
Bot *MessageDataBot `json:"bot,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type newMessageDataUser struct {
|
type MessageDataUser struct {
|
||||||
FirstName string `json:"first_name"`
|
FirstName string `json:"first_name"`
|
||||||
LastName string `json:"last_name"`
|
LastName string `json:"last_name"`
|
||||||
Avatar string `json:"avatar"`
|
Avatar string `json:"avatar"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type newMessageDataBot struct {
|
type MessageDataBot struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Avatar string `json:"avatar"`
|
Avatar string `json:"avatar"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user