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
2
2
3
3
@Suppress(" unused" )
4
4
data class DirectMessagesTopic (
5
- @get:JvmName("topicId") val topicId : Int ,
5
+ @get:JvmName("topicId") val topicId : Long ,
6
6
@get:JvmName("user") val user : User ?
7
7
) {
8
8
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ abstract class AbstractSendRequest<REQ : AbstractSendRequest<REQ>>(
16
16
17
17
var businessConnectionId: String? by optionalRequestParameter()
18
18
var messageThreadId: Int? by optionalRequestParameter()
19
- var directMessagesTopicId: Int ? by optionalRequestParameter()
19
+ var directMessagesTopicId: Long ? by optionalRequestParameter()
20
20
var disableNotification: Boolean? by optionalRequestParameter()
21
21
var protectContent: Boolean? by optionalRequestParameter()
22
22
var allowPaidBroadcast: Boolean? by optionalRequestParameter()
@@ -29,7 +29,7 @@ abstract class AbstractSendRequest<REQ : AbstractSendRequest<REQ>>(
29
29
30
30
fun messageThreadId (messageThreadId : Int ) = applySelf { this .messageThreadId = messageThreadId }
31
31
32
- fun directMessagesTopicId (directMessagesTopicId : Int ) = applySelf { this .directMessagesTopicId = directMessagesTopicId }
32
+ fun directMessagesTopicId (directMessagesTopicId : Long ) = applySelf { this .directMessagesTopicId = directMessagesTopicId }
33
33
34
34
fun disableNotification (disableNotification : Boolean ) = applySelf { this .disableNotification = disableNotification }
35
35
You can’t perform that action at this time.
0 commit comments