fix(ls): dialog type field comment

This commit is contained in:
iyear 2023-12-21 22:54:39 +08:00
parent 8d4ce974d6
commit 350304245e

View File

@ -27,7 +27,7 @@ import (
type Dialog struct {
ID int64 `json:"id" comment:"ID of dialog"`
Type string `json:"type" comment:"Type of dialog. Can be 'user', 'channel' or 'group'"`
Type string `json:"type" comment:"Type of dialog. Can be 'private', 'channel' or 'group'"`
VisibleName string `json:"visible_name,omitempty" comment:"Title of channel and group, first and last name of user. If empty, output '-'"`
Username string `json:"username,omitempty" comment:"Username of dialog. If empty, output '-'"`
Topics []Topic `json:"topics,omitempty" comment:"Topics of dialog. If not set, output '-'"`