Skip to content

Commit

Permalink
fix(ls): dialog type field comment
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Dec 21, 2023
1 parent 8d4ce97 commit 3503042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/chat/ls.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 '-'"`
Expand Down

0 comments on commit 3503042

Please sign in to comment.