mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
Added the field user_chat_id
to the class ChatJoinRequest
.
This commit is contained in:
parent
f29996aac8
commit
5667ae8095
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## 5.1.0
|
## 5.1.0
|
||||||
|
|
||||||
|
* `Core`:
|
||||||
|
* [Bot API 6.5](https://core.telegram.org/bots/api#february-3-2023) support
|
||||||
|
* Added the field `user_chat_id` to the class `ChatJoinRequest`.
|
||||||
|
|
||||||
## 5.0.1
|
## 5.0.1
|
||||||
|
|
||||||
* `Versions`:
|
* `Versions`:
|
||||||
|
@ -375,6 +375,7 @@ const val latitudeField = "latitude"
|
|||||||
const val longitudeField = "longitude"
|
const val longitudeField = "longitude"
|
||||||
const val headingField = "heading"
|
const val headingField = "heading"
|
||||||
const val fromField = "from"
|
const val fromField = "from"
|
||||||
|
const val userChatIdField = "user_chat_id"
|
||||||
const val userField = "user"
|
const val userField = "user"
|
||||||
const val dateField = "date"
|
const val dateField = "date"
|
||||||
const val chatField = "chat"
|
const val chatField = "chat"
|
||||||
|
@ -15,6 +15,8 @@ data class ChatJoinRequest(
|
|||||||
val chat: PublicChat,
|
val chat: PublicChat,
|
||||||
@SerialName(fromField)
|
@SerialName(fromField)
|
||||||
override val from: User,
|
override val from: User,
|
||||||
|
@SerialName(userChatIdField)
|
||||||
|
val userChatId: Identifier,
|
||||||
@SerialName(dateField)
|
@SerialName(dateField)
|
||||||
val date: TelegramDate,
|
val date: TelegramDate,
|
||||||
@SerialName(inviteLinkField)
|
@SerialName(inviteLinkField)
|
||||||
|
Loading…
Reference in New Issue
Block a user