chat,message: naming

pull/606/head^2
Demian 7 months ago
parent d883371ded
commit 03dcac73d8

@ -19,7 +19,7 @@ type User struct {
IsPremium bool `json:"is_premium"`
AddedToMenu bool `json:"added_to_attachment_menu"`
Usernames []string `json:"active_usernames"`
CustomEmojiStatusID string `json:"emoji_status_custom_emoji_id"`
CustomEmojiStatus string `json:"emoji_status_custom_emoji_id"`
// Returns only in getMe
CanJoinGroups bool `json:"can_join_groups"`

@ -63,7 +63,7 @@ type Message struct {
LastEdit int64 `json:"edit_date"`
// (Optional) True, if the message is sent to a forum topic.
IsTopicMessage bool `json:"is_topic_message"`
TopicMessage bool `json:"is_topic_message"`
// (Optional) Message can't be forwarded.
Protected bool `json:"has_protected_content,omitempty"`

Loading…
Cancel
Save