@@ -7,7 +7,7 @@ package telegramium.bots
7
7
* may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a signed 64-bit
8
8
* integer or double-precision float type are safe for storing this identifier.
9
9
* @param type
10
- * Type of chat, can be either “private”, “group”, “supergroup” or “channel”
10
+ * Type of the chat, can be either “private”, “group”, “supergroup” or “channel”
11
11
* @param title
12
12
* Optional. Title, for supergroups, channels and group chats
13
13
* @param username
@@ -18,97 +18,6 @@ package telegramium.bots
18
18
* Optional. Last name of the other party in a private chat
19
19
* @param isForum
20
20
* Optional. True, if the supergroup chat is a forum (has topics enabled)
21
- * @param photo
22
- * Optional. Chat photo. Returned only in getChat.
23
- * @param activeUsernames
24
- * Optional. If non-empty, the list of all active chat usernames; for private chats, supergroups and channels.
25
- * Returned only in getChat.
26
- * @param birthdate
27
- * Optional. For private chats, the date of birth of the user. Returned only in getChat.
28
- * @param businessIntro
29
- * Optional. For private chats with business accounts, the intro of the business. Returned only in getChat.
30
- * @param businessLocation
31
- * Optional. For private chats with business accounts, the location of the business. Returned only in getChat.
32
- * @param businessOpeningHours
33
- * Optional. For private chats with business accounts, the opening hours of the business. Returned only in getChat.
34
- * @param personalChat
35
- * Optional. For private chats, the personal channel of the user. Returned only in getChat.
36
- * @param availableReactions
37
- * Optional. List of available reactions allowed in the chat. If omitted, then all emoji reactions are allowed.
38
- * Returned only in getChat.
39
- * @param accentColorId
40
- * Optional. Identifier of the accent color for the chat name and backgrounds of the chat photo, reply header, and
41
- * link preview. See accent colors for more details. Returned only in getChat. Always returned in getChat.
42
- * @param backgroundCustomEmojiId
43
- * Optional. Custom emoji identifier of emoji chosen by the chat for the reply header and link preview background.
44
- * Returned only in getChat.
45
- * @param profileAccentColorId
46
- * Optional. Identifier of the accent color for the chat's profile background. See profile accent colors for more
47
- * details. Returned only in getChat.
48
- * @param profileBackgroundCustomEmojiId
49
- * Optional. Custom emoji identifier of the emoji chosen by the chat for its profile background. Returned only in
50
- * getChat.
51
- * @param emojiStatusCustomEmojiId
52
- * Optional. Custom emoji identifier of the emoji status of the chat or the other party in a private chat. Returned
53
- * only in getChat.
54
- * @param emojiStatusExpirationDate
55
- * Optional. Expiration date of the emoji status of the chat or the other party in a private chat, in Unix time, if
56
- * any. Returned only in getChat.
57
- * @param bio
58
- * Optional. Bio of the other party in a private chat. Returned only in getChat.
59
- * @param hasPrivateForwards
60
- * Optional. True, if privacy settings of the other party in the private chat allows to use tg://user?id=<user_id>
61
- * links only in chats with the user. Returned only in getChat.
62
- * @param hasRestrictedVoiceAndVideoMessages
63
- * Optional. True, if the privacy settings of the other party restrict sending voice and video note messages in the
64
- * private chat. Returned only in getChat.
65
- * @param joinToSendMessages
66
- * Optional. True, if users need to join the supergroup before they can send messages. Returned only in getChat.
67
- * @param joinByRequest
68
- * Optional. True, if all users directly joining the supergroup need to be approved by supergroup administrators.
69
- * Returned only in getChat.
70
- * @param description
71
- * Optional. Description, for groups, supergroups and channel chats. Returned only in getChat.
72
- * @param inviteLink
73
- * Optional. Primary invite link, for groups, supergroups and channel chats. Returned only in getChat.
74
- * @param pinnedMessage
75
- * Optional. The most recent pinned message (by sending date). Returned only in getChat.
76
- * @param permissions
77
- * Optional. Default chat member permissions, for groups and supergroups. Returned only in getChat.
78
- * @param slowModeDelay
79
- * Optional. For supergroups, the minimum allowed delay between consecutive messages sent by each unprivileged user;
80
- * in seconds. Returned only in getChat.
81
- * @param unrestrictBoostCount
82
- * Optional. For supergroups, the minimum number of boosts that a non-administrator user needs to add in order to
83
- * ignore slow mode and chat permissions. Returned only in getChat.
84
- * @param messageAutoDeleteTime
85
- * Optional. The time after which all messages sent to the chat will be automatically deleted; in seconds. Returned
86
- * only in getChat.
87
- * @param hasAggressiveAntiSpamEnabled
88
- * Optional. True, if aggressive anti-spam checks are enabled in the supergroup. The field is only available to chat
89
- * administrators. Returned only in getChat.
90
- * @param hasHiddenMembers
91
- * Optional. True, if non-administrators can only get the list of bots and administrators in the chat. Returned only
92
- * in getChat.
93
- * @param hasProtectedContent
94
- * Optional. True, if messages from the chat can't be forwarded to other chats. Returned only in getChat.
95
- * @param hasVisibleHistory
96
- * Optional. True, if new chat members will have access to old messages; available only to chat administrators.
97
- * Returned only in getChat.
98
- * @param stickerSetName
99
- * Optional. For supergroups, name of group sticker set. Returned only in getChat.
100
- * @param canSetStickerSet
101
- * Optional. True, if the bot can change the group sticker set. Returned only in getChat.
102
- * @param customEmojiStickerSetName
103
- * Optional. For supergroups, the name of the group's custom emoji sticker set. Custom emoji from this set can be
104
- * used by all users and bots in the group. Returned only in getChat.
105
- * @param linkedChatId
106
- * Optional. Unique identifier for the linked chat, i.e. the discussion group identifier for a channel and vice
107
- * versa; for supergroups and channel chats. This identifier may be greater than 32 bits and some programming
108
- * languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64
109
- * bit integer or double-precision float type are safe for storing this identifier. Returned only in getChat.
110
- * @param location
111
- * Optional. For supergroups, the location to which the supergroup is connected. Returned only in getChat.
112
21
*/
113
22
final case class Chat (
114
23
id : Long ,
@@ -117,40 +26,5 @@ final case class Chat(
117
26
username : Option [String ] = Option .empty,
118
27
firstName : Option [String ] = Option .empty,
119
28
lastName : Option [String ] = Option .empty,
120
- isForum : Option [Boolean ] = Option .empty,
121
- photo : Option [ChatPhoto ] = Option .empty,
122
- activeUsernames : List [String ] = List .empty,
123
- birthdate : Option [Birthdate ] = Option .empty,
124
- businessIntro : Option [BusinessIntro ] = Option .empty,
125
- businessLocation : Option [BusinessLocation ] = Option .empty,
126
- businessOpeningHours : Option [BusinessOpeningHours ] = Option .empty,
127
- personalChat : Option [Chat ] = Option .empty,
128
- availableReactions : List [ReactionType ] = List .empty,
129
- accentColorId : Option [Int ] = Option .empty,
130
- backgroundCustomEmojiId : Option [String ] = Option .empty,
131
- profileAccentColorId : Option [Int ] = Option .empty,
132
- profileBackgroundCustomEmojiId : Option [String ] = Option .empty,
133
- emojiStatusCustomEmojiId : Option [String ] = Option .empty,
134
- emojiStatusExpirationDate : Option [Int ] = Option .empty,
135
- bio : Option [String ] = Option .empty,
136
- hasPrivateForwards : Option [Boolean ] = Option .empty,
137
- hasRestrictedVoiceAndVideoMessages : Option [Boolean ] = Option .empty,
138
- joinToSendMessages : Option [Boolean ] = Option .empty,
139
- joinByRequest : Option [Boolean ] = Option .empty,
140
- description : Option [String ] = Option .empty,
141
- inviteLink : Option [String ] = Option .empty,
142
- pinnedMessage : Option [Message ] = Option .empty,
143
- permissions : Option [ChatPermissions ] = Option .empty,
144
- slowModeDelay : Option [Int ] = Option .empty,
145
- unrestrictBoostCount : Option [Int ] = Option .empty,
146
- messageAutoDeleteTime : Option [Int ] = Option .empty,
147
- hasAggressiveAntiSpamEnabled : Option [Boolean ] = Option .empty,
148
- hasHiddenMembers : Option [Boolean ] = Option .empty,
149
- hasProtectedContent : Option [Boolean ] = Option .empty,
150
- hasVisibleHistory : Option [Boolean ] = Option .empty,
151
- stickerSetName : Option [String ] = Option .empty,
152
- canSetStickerSet : Option [Boolean ] = Option .empty,
153
- customEmojiStickerSetName : Option [String ] = Option .empty,
154
- linkedChatId : Option [Long ] = Option .empty,
155
- location : Option [ChatLocation ] = Option .empty
29
+ isForum : Option [Boolean ] = Option .empty
156
30
)
0 commit comments