File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
library/src/main/java/com/pengrad/telegrambot Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package com.pengrad.telegrambot.model
22
33@Suppress(" unused" )
44data class DirectMessagesTopic (
5- @get:JvmName("topicId") val topicId : Int ,
5+ @get:JvmName("topicId") val topicId : Long ,
66 @get:JvmName("user") val user : User ?
77) {
88}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ abstract class AbstractSendRequest<REQ : AbstractSendRequest<REQ>>(
1616
1717 var businessConnectionId: String? by optionalRequestParameter()
1818 var messageThreadId: Int? by optionalRequestParameter()
19- var directMessagesTopicId: Int ? by optionalRequestParameter()
19+ var directMessagesTopicId: Long ? by optionalRequestParameter()
2020 var disableNotification: Boolean? by optionalRequestParameter()
2121 var protectContent: Boolean? by optionalRequestParameter()
2222 var allowPaidBroadcast: Boolean? by optionalRequestParameter()
@@ -29,7 +29,7 @@ abstract class AbstractSendRequest<REQ : AbstractSendRequest<REQ>>(
2929
3030 fun messageThreadId (messageThreadId : Int ) = applySelf { this .messageThreadId = messageThreadId }
3131
32- fun directMessagesTopicId (directMessagesTopicId : Int ) = applySelf { this .directMessagesTopicId = directMessagesTopicId }
32+ fun directMessagesTopicId (directMessagesTopicId : Long ) = applySelf { this .directMessagesTopicId = directMessagesTopicId }
3333
3434 fun disableNotification (disableNotification : Boolean ) = applySelf { this .disableNotification = disableNotification }
3535
You can’t perform that action at this time.
0 commit comments