1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2026-03-03 09:22:22 +00:00

add support of users tags

This commit is contained in:
2026-03-02 16:51:10 +06:00
parent 4f97327d29
commit b533bab95f
26 changed files with 368 additions and 79 deletions

View File

@@ -718,14 +718,14 @@ public final class dev/inmo/tgbotapi/extensions/api/chat/members/PromoteChatAdmi
} }
public final class dev/inmo/tgbotapi/extensions/api/chat/members/PromoteChatMemberKt { public final class dev/inmo/tgbotapi/extensions/api/chat/members/PromoteChatMemberKt {
public static final fun promoteChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun promoteChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun promoteChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun promoteChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun promoteChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun promoteChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun promoteChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun promoteChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun promoteChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun promoteChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static synthetic fun promoteChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun promoteChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static synthetic fun promoteChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun promoteChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static synthetic fun promoteChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object; public static synthetic fun promoteChatMember$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
} }
public final class dev/inmo/tgbotapi/extensions/api/chat/members/PromoteSupergroupAdministratorKt { public final class dev/inmo/tgbotapi/extensions/api/chat/members/PromoteSupergroupAdministratorKt {
@@ -757,6 +757,17 @@ public final class dev/inmo/tgbotapi/extensions/api/chat/members/SetChatAdminist
public static final fun setChatAdministratorCustomTitle (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun setChatAdministratorCustomTitle (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
} }
public final class dev/inmo/tgbotapi/extensions/api/chat/members/SetChatMemberTagKt {
public static final fun setChatMemberTag-IPSxYbI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun setChatMemberTag-IPSxYbI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun setChatMemberTag-IPSxYbI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun setChatMemberTag-IPSxYbI (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun setChatMemberTag-IPSxYbI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static synthetic fun setChatMemberTag-IPSxYbI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static synthetic fun setChatMemberTag-IPSxYbI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static synthetic fun setChatMemberTag-IPSxYbI$default (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/chat/PublicChat;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class dev/inmo/tgbotapi/extensions/api/chat/members/UnbanChatMemberKt { public final class dev/inmo/tgbotapi/extensions/api/chat/members/UnbanChatMemberKt {
public static final fun unbanChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun unbanChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun unbanChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object; public static final fun unbanChatMember (Ldev/inmo/tgbotapi/bot/RequestsExecutor;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/chat/User;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;

View File

@@ -27,7 +27,8 @@ public suspend fun TelegramBot.promoteChatMember(
canPostStories: Boolean? = null, canPostStories: Boolean? = null,
canEditStories: Boolean? = null, canEditStories: Boolean? = null,
canDeleteStories: Boolean? = null, canDeleteStories: Boolean? = null,
canManageDirectMessages: Boolean? = null canManageDirectMessages: Boolean? = null,
canManageTags: Boolean? = null
): Boolean = execute( ): Boolean = execute(
PromoteChatMember( PromoteChatMember(
chatId = chatId, chatId = chatId,
@@ -49,6 +50,7 @@ public suspend fun TelegramBot.promoteChatMember(
canEditStories = canEditStories, canEditStories = canEditStories,
canDeleteStories = canDeleteStories, canDeleteStories = canDeleteStories,
canManageDirectMessages = canManageDirectMessages, canManageDirectMessages = canManageDirectMessages,
canManageTags = canManageTags,
) )
) )
@@ -72,7 +74,8 @@ public suspend fun TelegramBot.promoteChatMember(
canPostStories: Boolean? = null, canPostStories: Boolean? = null,
canEditStories: Boolean? = null, canEditStories: Boolean? = null,
canDeleteStories: Boolean? = null, canDeleteStories: Boolean? = null,
canManageDirectMessages: Boolean? = null canManageDirectMessages: Boolean? = null,
canManageTags: Boolean? = null
): Boolean = promoteChatMember( ): Boolean = promoteChatMember(
chat.id, chat.id,
userId, userId,
@@ -93,6 +96,7 @@ public suspend fun TelegramBot.promoteChatMember(
canEditStories = canEditStories, canEditStories = canEditStories,
canDeleteStories = canDeleteStories, canDeleteStories = canDeleteStories,
canManageDirectMessages = canManageDirectMessages, canManageDirectMessages = canManageDirectMessages,
canManageTags = canManageTags,
) )
@Warning("This method is too common. Use it with caution") @Warning("This method is too common. Use it with caution")
@@ -115,7 +119,8 @@ public suspend fun TelegramBot.promoteChatMember(
canPostStories: Boolean? = null, canPostStories: Boolean? = null,
canEditStories: Boolean? = null, canEditStories: Boolean? = null,
canDeleteStories: Boolean? = null, canDeleteStories: Boolean? = null,
canManageDirectMessages: Boolean? = null canManageDirectMessages: Boolean? = null,
canManageTags: Boolean? = null
): Boolean = promoteChatMember( ): Boolean = promoteChatMember(
chatId, chatId,
user.id, user.id,
@@ -136,6 +141,7 @@ public suspend fun TelegramBot.promoteChatMember(
canEditStories = canEditStories, canEditStories = canEditStories,
canDeleteStories = canDeleteStories, canDeleteStories = canDeleteStories,
canManageDirectMessages = canManageDirectMessages, canManageDirectMessages = canManageDirectMessages,
canManageTags = canManageTags,
) )
@Warning("This method is too common. Use it with caution") @Warning("This method is too common. Use it with caution")
@@ -158,7 +164,8 @@ public suspend fun TelegramBot.promoteChatMember(
canPostStories: Boolean? = null, canPostStories: Boolean? = null,
canEditStories: Boolean? = null, canEditStories: Boolean? = null,
canDeleteStories: Boolean? = null, canDeleteStories: Boolean? = null,
canManageDirectMessages: Boolean? = null canManageDirectMessages: Boolean? = null,
canManageTags: Boolean? = null
): Boolean = promoteChatMember( ): Boolean = promoteChatMember(
chat.id, chat.id,
user.id, user.id,
@@ -179,4 +186,5 @@ public suspend fun TelegramBot.promoteChatMember(
canEditStories = canEditStories, canEditStories = canEditStories,
canDeleteStories = canDeleteStories, canDeleteStories = canDeleteStories,
canManageDirectMessages = canManageDirectMessages, canManageDirectMessages = canManageDirectMessages,
canManageTags = canManageTags,
) )

View File

@@ -0,0 +1,31 @@
package dev.inmo.tgbotapi.extensions.api.chat.members
import dev.inmo.tgbotapi.bot.TelegramBot
import dev.inmo.tgbotapi.requests.chat.members.SetChatMemberTag
import dev.inmo.tgbotapi.types.*
import dev.inmo.tgbotapi.types.chat.PublicChat
import dev.inmo.tgbotapi.types.chat.User
public suspend fun TelegramBot.setChatMemberTag(
chatId: ChatIdentifier,
userId: UserId,
tag: UserTag? = null
): Unit = execute(SetChatMemberTag(chatId, userId, tag))
public suspend fun TelegramBot.setChatMemberTag(
chat: PublicChat,
userId: UserId,
tag: UserTag? = null
): Unit = setChatMemberTag(chat.id, userId, tag)
public suspend fun TelegramBot.setChatMemberTag(
chatId: ChatIdentifier,
user: User,
tag: UserTag? = null
): Unit = setChatMemberTag(chatId, user.id, tag)
public suspend fun TelegramBot.setChatMemberTag(
chat: PublicChat,
user: User,
tag: UserTag? = null
): Unit = setChatMemberTag(chat.id, user.id, tag)

View File

@@ -92,6 +92,10 @@ public final class dev/inmo/tgbotapi/abstracts/OptionallyFromUser$DefaultImpls {
public static fun getUser (Ldev/inmo/tgbotapi/abstracts/OptionallyFromUser;)Ldev/inmo/tgbotapi/types/chat/User; public static fun getUser (Ldev/inmo/tgbotapi/abstracts/OptionallyFromUser;)Ldev/inmo/tgbotapi/types/chat/User;
} }
public abstract interface class dev/inmo/tgbotapi/abstracts/OptionallyTagged {
public abstract fun getTag-AVO4CDE ()Ljava/lang/String;
}
public abstract interface class dev/inmo/tgbotapi/abstracts/OptionallyWithUser { public abstract interface class dev/inmo/tgbotapi/abstracts/OptionallyWithUser {
public abstract fun getUser ()Ldev/inmo/tgbotapi/types/chat/User; public abstract fun getUser ()Ldev/inmo/tgbotapi/types/chat/User;
} }
@@ -3784,13 +3788,13 @@ public final class dev/inmo/tgbotapi/requests/chat/members/GetChatMember$Compani
public final class dev/inmo/tgbotapi/requests/chat/members/PromoteChatMember : dev/inmo/tgbotapi/abstracts/types/UntilDate, dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest { public final class dev/inmo/tgbotapi/requests/chat/members/PromoteChatMember : dev/inmo/tgbotapi/abstracts/types/UntilDate, dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest {
public static final field Companion Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember$Companion; public static final field Companion Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember$Companion;
public fun <init> (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V public fun <init> (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier;
public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier; public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier;
public final fun component3 ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun component3 ()Ldev/inmo/tgbotapi/types/TelegramDate;
public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; public final fun copy (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; public static synthetic fun copy$default (Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier; public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier;
public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy; public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy;
@@ -3820,10 +3824,10 @@ public final class dev/inmo/tgbotapi/requests/chat/members/PromoteChatMember$Com
public final class dev/inmo/tgbotapi/requests/chat/members/PromoteChatMemberKt { public final class dev/inmo/tgbotapi/requests/chat/members/PromoteChatMemberKt {
public static final fun PromoteChannelAdministrator (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; public static final fun PromoteChannelAdministrator (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember;
public static synthetic fun PromoteChannelAdministrator$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; public static synthetic fun PromoteChannelAdministrator$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember;
public static final fun PromoteChatMember (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; public static final fun PromoteChatMember (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember;
public static synthetic fun PromoteChatMember$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; public static synthetic fun PromoteChatMember$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember;
public static final fun PromoteSupergroupAdministrator (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; public static final fun PromoteSupergroupAdministrator (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember;
public static synthetic fun PromoteSupergroupAdministrator$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember; public static synthetic fun PromoteSupergroupAdministrator$default (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/PromoteChatMember;
} }
public final class dev/inmo/tgbotapi/requests/chat/members/RestrictChatMember : dev/inmo/tgbotapi/abstracts/types/UntilDate, dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest { public final class dev/inmo/tgbotapi/requests/chat/members/RestrictChatMember : dev/inmo/tgbotapi/abstracts/types/UntilDate, dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest {
@@ -3899,6 +3903,41 @@ public final class dev/inmo/tgbotapi/requests/chat/members/SetChatAdministratorC
public final fun serializer ()Lkotlinx/serialization/KSerializer; public final fun serializer ()Lkotlinx/serialization/KSerializer;
} }
public final class dev/inmo/tgbotapi/requests/chat/members/SetChatMemberTag : dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest {
public static final field Companion Ldev/inmo/tgbotapi/requests/chat/members/SetChatMemberTag$Companion;
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ldev/inmo/tgbotapi/types/ChatIdentifier;
public final fun component2 ()Ldev/inmo/tgbotapi/types/IdChatIdentifier;
public final fun component3-AVO4CDE ()Ljava/lang/String;
public final fun copy-XLDAstM (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;)Ldev/inmo/tgbotapi/requests/chat/members/SetChatMemberTag;
public static synthetic fun copy-XLDAstM$default (Ldev/inmo/tgbotapi/requests/chat/members/SetChatMemberTag;Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/requests/chat/members/SetChatMemberTag;
public fun equals (Ljava/lang/Object;)Z
public fun getChatId ()Ldev/inmo/tgbotapi/types/ChatIdentifier;
public fun getRequestSerializer ()Lkotlinx/serialization/SerializationStrategy;
public fun getResultDeserializer ()Lkotlinx/serialization/DeserializationStrategy;
public final fun getTag-AVO4CDE ()Ljava/lang/String;
public fun getUserId ()Ldev/inmo/tgbotapi/types/IdChatIdentifier;
public fun hashCode ()I
public fun method ()Ljava/lang/String;
public fun toString ()Ljava/lang/String;
}
public final synthetic class dev/inmo/tgbotapi/requests/chat/members/SetChatMemberTag$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/inmo/tgbotapi/requests/chat/members/SetChatMemberTag$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public final fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ldev/inmo/tgbotapi/requests/chat/members/SetChatMemberTag;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public final fun serialize (Lkotlinx/serialization/encoding/Encoder;Ldev/inmo/tgbotapi/requests/chat/members/SetChatMemberTag;)V
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
public final class dev/inmo/tgbotapi/requests/chat/members/SetChatMemberTag$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
public final class dev/inmo/tgbotapi/requests/chat/members/UnbanChatMember : dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest { public final class dev/inmo/tgbotapi/requests/chat/members/UnbanChatMember : dev/inmo/tgbotapi/requests/chat/abstracts/ChatMemberRequest {
public static final field Companion Ldev/inmo/tgbotapi/requests/chat/members/UnbanChatMember$Companion; public static final field Companion Ldev/inmo/tgbotapi/requests/chat/members/UnbanChatMember$Companion;
public fun <init> (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Boolean;)V public fun <init> (Ldev/inmo/tgbotapi/types/ChatIdentifier;Ldev/inmo/tgbotapi/types/IdChatIdentifier;Ljava/lang/Boolean;)V
@@ -10395,12 +10434,14 @@ public final class dev/inmo/tgbotapi/types/CommonKt {
public static final field canEditNameField Ljava/lang/String; public static final field canEditNameField Ljava/lang/String;
public static final field canEditProfilePhotoField Ljava/lang/String; public static final field canEditProfilePhotoField Ljava/lang/String;
public static final field canEditStoriesField Ljava/lang/String; public static final field canEditStoriesField Ljava/lang/String;
public static final field canEditTagField Ljava/lang/String;
public static final field canEditUsernameField Ljava/lang/String; public static final field canEditUsernameField Ljava/lang/String;
public static final field canInviteUsersField Ljava/lang/String; public static final field canInviteUsersField Ljava/lang/String;
public static final field canJoinGroupsField Ljava/lang/String; public static final field canJoinGroupsField Ljava/lang/String;
public static final field canManageChatField Ljava/lang/String; public static final field canManageChatField Ljava/lang/String;
public static final field canManageDirectMessagesField Ljava/lang/String; public static final field canManageDirectMessagesField Ljava/lang/String;
public static final field canManageStoriesField Ljava/lang/String; public static final field canManageStoriesField Ljava/lang/String;
public static final field canManageTagsField Ljava/lang/String;
public static final field canManageTopicsField Ljava/lang/String; public static final field canManageTopicsField Ljava/lang/String;
public static final field canManageVideoChatsField Ljava/lang/String; public static final field canManageVideoChatsField Ljava/lang/String;
public static final field canManageVoiceChatsField Ljava/lang/String; public static final field canManageVoiceChatsField Ljava/lang/String;
@@ -10830,6 +10871,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt {
public static final field sendDateField Ljava/lang/String; public static final field sendDateField Ljava/lang/String;
public static final field senderChatField Ljava/lang/String; public static final field senderChatField Ljava/lang/String;
public static final field senderChatIdField Ljava/lang/String; public static final field senderChatIdField Ljava/lang/String;
public static final field senderTagField Ljava/lang/String;
public static final field senderUserField Ljava/lang/String; public static final field senderUserField Ljava/lang/String;
public static final field senderUserNameField Ljava/lang/String; public static final field senderUserNameField Ljava/lang/String;
public static final field shippingAddressField Ljava/lang/String; public static final field shippingAddressField Ljava/lang/String;
@@ -10883,6 +10925,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt {
public static final field symbolColorField Ljava/lang/String; public static final field symbolColorField Ljava/lang/String;
public static final field symbolCustomEmojiIdField Ljava/lang/String; public static final field symbolCustomEmojiIdField Ljava/lang/String;
public static final field symbolField Ljava/lang/String; public static final field symbolField Ljava/lang/String;
public static final field tagField Ljava/lang/String;
public static final field tasksField Ljava/lang/String; public static final field tasksField Ljava/lang/String;
public static final field telegramPaymentChargeIdField Ljava/lang/String; public static final field telegramPaymentChargeIdField Ljava/lang/String;
public static final field temperatureField Ljava/lang/String; public static final field temperatureField Ljava/lang/String;
@@ -11006,6 +11049,7 @@ public final class dev/inmo/tgbotapi/types/CommonKt {
public static final fun getKeywordsInStickerLimit ()Lkotlin/ranges/IntRange; public static final fun getKeywordsInStickerLimit ()Lkotlin/ranges/IntRange;
public static final fun getLivePeriodLimit ()Lkotlin/ranges/IntRange; public static final fun getLivePeriodLimit ()Lkotlin/ranges/IntRange;
public static final fun getMediaCountInMediaGroup ()Lkotlin/ranges/IntRange; public static final fun getMediaCountInMediaGroup ()Lkotlin/ranges/IntRange;
public static final fun getMemberTagLength ()Lkotlin/ranges/IntRange;
public static final fun getMembersLimit ()Lkotlin/ranges/IntRange; public static final fun getMembersLimit ()Lkotlin/ranges/IntRange;
public static final fun getOpenPeriodPollSecondsLimit ()Lkotlin/ranges/IntRange; public static final fun getOpenPeriodPollSecondsLimit ()Lkotlin/ranges/IntRange;
public static final fun getPollOptionTextLength ()Lkotlin/ranges/IntRange; public static final fun getPollOptionTextLength ()Lkotlin/ranges/IntRange;
@@ -14594,6 +14638,36 @@ public final class dev/inmo/tgbotapi/types/UserProfilePhotosPhotosSerializer : k
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/util/List;)V public fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/util/List;)V
} }
public final class dev/inmo/tgbotapi/types/UserTag {
public static final field Companion Ldev/inmo/tgbotapi/types/UserTag$Companion;
public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/UserTag;
public static fun constructor-impl (Ljava/lang/String;)Ljava/lang/String;
public fun equals (Ljava/lang/Object;)Z
public static fun equals-impl (Ljava/lang/String;Ljava/lang/Object;)Z
public static final fun equals-impl0 (Ljava/lang/String;Ljava/lang/String;)Z
public final fun getString ()Ljava/lang/String;
public fun hashCode ()I
public static fun hashCode-impl (Ljava/lang/String;)I
public fun toString ()Ljava/lang/String;
public static fun toString-impl (Ljava/lang/String;)Ljava/lang/String;
public final synthetic fun unbox-impl ()Ljava/lang/String;
}
public final synthetic class dev/inmo/tgbotapi/types/UserTag$$serializer : kotlinx/serialization/internal/GeneratedSerializer {
public static final field INSTANCE Ldev/inmo/tgbotapi/types/UserTag$$serializer;
public final fun childSerializers ()[Lkotlinx/serialization/KSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public final fun deserialize-Al2hbCY (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/String;
public final fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public final fun serialize-Ko55Urg (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/String;)V
public fun typeParametersSerializers ()[Lkotlinx/serialization/KSerializer;
}
public final class dev/inmo/tgbotapi/types/UserTag$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}
public final class dev/inmo/tgbotapi/types/Username : dev/inmo/tgbotapi/types/ChatIdentifier { public final class dev/inmo/tgbotapi/types/Username : dev/inmo/tgbotapi/types/ChatIdentifier {
public static final field Companion Ldev/inmo/tgbotapi/types/Username$Companion; public static final field Companion Ldev/inmo/tgbotapi/types/Username$Companion;
public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/Username; public static final synthetic fun box-impl (Ljava/lang/String;)Ldev/inmo/tgbotapi/types/Username;
@@ -17199,6 +17273,7 @@ public abstract interface class dev/inmo/tgbotapi/types/chat/ChatPermissions {
public static synthetic fun copyGranular$default (Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public static synthetic fun copyGranular$default (Ldev/inmo/tgbotapi/types/chat/ChatPermissions;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions;
public abstract fun getCanAddWebPagePreviews ()Ljava/lang/Boolean; public abstract fun getCanAddWebPagePreviews ()Ljava/lang/Boolean;
public abstract fun getCanChangeInfo ()Ljava/lang/Boolean; public abstract fun getCanChangeInfo ()Ljava/lang/Boolean;
public abstract fun getCanEditTag ()Ljava/lang/Boolean;
public abstract fun getCanInviteUsers ()Ljava/lang/Boolean; public abstract fun getCanInviteUsers ()Ljava/lang/Boolean;
public abstract fun getCanPinMessages ()Ljava/lang/Boolean; public abstract fun getCanPinMessages ()Ljava/lang/Boolean;
public abstract fun getCanSendAudios ()Ljava/lang/Boolean; public abstract fun getCanSendAudios ()Ljava/lang/Boolean;
@@ -17218,21 +17293,23 @@ public abstract interface class dev/inmo/tgbotapi/types/chat/ChatPermissions {
public final class dev/inmo/tgbotapi/types/chat/ChatPermissions$Common : dev/inmo/tgbotapi/types/chat/ChatPermissions { public final class dev/inmo/tgbotapi/types/chat/ChatPermissions$Common : dev/inmo/tgbotapi/types/chat/ChatPermissions {
public static final field Companion Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Common$Companion; public static final field Companion Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Common$Companion;
public fun <init> ()V public fun <init> ()V
public fun <init> (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V public fun <init> (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Z)V
public synthetic fun <init> (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/Boolean; public final fun component1 ()Ljava/lang/Boolean;
public final fun component2 ()Ljava/lang/Boolean; public final fun component2 ()Ljava/lang/Boolean;
public final fun component3 ()Ljava/lang/Boolean; public final fun component3 ()Ljava/lang/Boolean;
public final fun component4 ()Ljava/lang/Boolean; public final fun component4 ()Ljava/lang/Boolean;
public final fun component5 ()Ljava/lang/Boolean; public final fun component5 ()Ljava/lang/Boolean;
public final fun component6 ()Ljava/lang/Boolean; public final fun component6 ()Ljava/lang/Boolean;
public final fun copy (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Common; public final fun component7 ()Z
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Common;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Common; public final fun copy (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Z)Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Common;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Common;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Common;
public fun copyCommon (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public fun copyCommon (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions;
public fun copyGranular (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public fun copyGranular (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getCanAddWebPagePreviews ()Ljava/lang/Boolean; public fun getCanAddWebPagePreviews ()Ljava/lang/Boolean;
public fun getCanChangeInfo ()Ljava/lang/Boolean; public fun getCanChangeInfo ()Ljava/lang/Boolean;
public fun getCanEditTag ()Ljava/lang/Boolean;
public fun getCanInviteUsers ()Ljava/lang/Boolean; public fun getCanInviteUsers ()Ljava/lang/Boolean;
public fun getCanPinMessages ()Ljava/lang/Boolean; public fun getCanPinMessages ()Ljava/lang/Boolean;
public fun getCanSendAudios ()Ljava/lang/Boolean; public fun getCanSendAudios ()Ljava/lang/Boolean;
@@ -17290,13 +17367,14 @@ public final class dev/inmo/tgbotapi/types/chat/ChatPermissions$DefaultImpls {
public final class dev/inmo/tgbotapi/types/chat/ChatPermissions$Granular : dev/inmo/tgbotapi/types/chat/ChatPermissions { public final class dev/inmo/tgbotapi/types/chat/ChatPermissions$Granular : dev/inmo/tgbotapi/types/chat/ChatPermissions {
public static final field Companion Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Granular$Companion; public static final field Companion Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Granular$Companion;
public fun <init> ()V public fun <init> ()V
public fun <init> (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V public fun <init> (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Z)V
public synthetic fun <init> (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/Boolean; public final fun component1 ()Ljava/lang/Boolean;
public final fun component10 ()Ljava/lang/Boolean; public final fun component10 ()Ljava/lang/Boolean;
public final fun component11 ()Ljava/lang/Boolean; public final fun component11 ()Ljava/lang/Boolean;
public final fun component12 ()Ljava/lang/Boolean; public final fun component12 ()Ljava/lang/Boolean;
public final fun component13 ()Ljava/lang/Boolean; public final fun component13 ()Ljava/lang/Boolean;
public final fun component14 ()Z
public final fun component2 ()Ljava/lang/Boolean; public final fun component2 ()Ljava/lang/Boolean;
public final fun component3 ()Ljava/lang/Boolean; public final fun component3 ()Ljava/lang/Boolean;
public final fun component4 ()Ljava/lang/Boolean; public final fun component4 ()Ljava/lang/Boolean;
@@ -17305,13 +17383,14 @@ public final class dev/inmo/tgbotapi/types/chat/ChatPermissions$Granular : dev/i
public final fun component7 ()Ljava/lang/Boolean; public final fun component7 ()Ljava/lang/Boolean;
public final fun component8 ()Ljava/lang/Boolean; public final fun component8 ()Ljava/lang/Boolean;
public final fun component9 ()Ljava/lang/Boolean; public final fun component9 ()Ljava/lang/Boolean;
public final fun copy (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Granular; public final fun copy (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Z)Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Granular;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Granular;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Granular; public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Granular;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions$Granular;
public fun copyCommon (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public fun copyCommon (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions;
public fun copyGranular (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public fun copyGranular (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getCanAddWebPagePreviews ()Ljava/lang/Boolean; public fun getCanAddWebPagePreviews ()Ljava/lang/Boolean;
public fun getCanChangeInfo ()Ljava/lang/Boolean; public fun getCanChangeInfo ()Ljava/lang/Boolean;
public fun getCanEditTag ()Ljava/lang/Boolean;
public fun getCanInviteUsers ()Ljava/lang/Boolean; public fun getCanInviteUsers ()Ljava/lang/Boolean;
public fun getCanPinMessages ()Ljava/lang/Boolean; public fun getCanPinMessages ()Ljava/lang/Boolean;
public fun getCanSendAudios ()Ljava/lang/Boolean; public fun getCanSendAudios ()Ljava/lang/Boolean;
@@ -19047,8 +19126,8 @@ public final class dev/inmo/tgbotapi/types/chat/member/AdministratorChatMember$D
public final class dev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberImpl : dev/inmo/tgbotapi/types/chat/member/AdministratorChatMember { public final class dev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberImpl : dev/inmo/tgbotapi/types/chat/member/AdministratorChatMember {
public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberImpl$Companion; public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberImpl$Companion;
public fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZZZZZZZZZZZLjava/lang/String;ZZZZZ)V public fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZZZZZZZZZZZLjava/lang/String;ZZZZZZ)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZZZZZZZZZZZLjava/lang/String;ZZZZZILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZZZZZZZZZZZLjava/lang/String;ZZZZZZILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser;
public final fun component10 ()Z public final fun component10 ()Z
public final fun component11 ()Z public final fun component11 ()Z
@@ -19061,6 +19140,7 @@ public final class dev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberIm
public final fun component18 ()Z public final fun component18 ()Z
public final fun component19 ()Z public final fun component19 ()Z
public final fun component2 ()Z public final fun component2 ()Z
public final fun component20 ()Z
public final fun component3 ()Z public final fun component3 ()Z
public final fun component4 ()Z public final fun component4 ()Z
public final fun component5 ()Z public final fun component5 ()Z
@@ -19068,8 +19148,8 @@ public final class dev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberIm
public final fun component7 ()Z public final fun component7 ()Z
public final fun component8 ()Z public final fun component8 ()Z
public final fun component9 ()Z public final fun component9 ()Z
public final fun copy (Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZZZZZZZZZZZLjava/lang/String;ZZZZZ)Ldev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberImpl; public final fun copy (Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZZZZZZZZZZZLjava/lang/String;ZZZZZZ)Ldev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberImpl;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberImpl;Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZZZZZZZZZZZLjava/lang/String;ZZZZZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberImpl; public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberImpl;Ldev/inmo/tgbotapi/types/chat/PreviewUser;ZZZZZZZZZZZZLjava/lang/String;ZZZZZZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberImpl;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getCanBeEdited ()Z public fun getCanBeEdited ()Z
public fun getCanChangeInfo ()Z public fun getCanChangeInfo ()Z
@@ -19079,6 +19159,7 @@ public final class dev/inmo/tgbotapi/types/chat/member/AdministratorChatMemberIm
public fun getCanInviteUsers ()Z public fun getCanInviteUsers ()Z
public fun getCanManageChat ()Z public fun getCanManageChat ()Z
public fun getCanManageDirectMessages ()Z public fun getCanManageDirectMessages ()Z
public fun getCanManageTags ()Z
public fun getCanManageTopics ()Z public fun getCanManageTopics ()Z
public fun getCanManageVideoChats ()Z public fun getCanManageVideoChats ()Z
public fun getCanManageVoiceChats ()Z public fun getCanManageVoiceChats ()Z
@@ -19128,6 +19209,7 @@ public abstract interface class dev/inmo/tgbotapi/types/chat/member/ChatAdminist
public abstract fun getCanEditStories ()Z public abstract fun getCanEditStories ()Z
public abstract fun getCanManageChat ()Z public abstract fun getCanManageChat ()Z
public abstract fun getCanManageDirectMessages ()Z public abstract fun getCanManageDirectMessages ()Z
public abstract fun getCanManageTags ()Z
public abstract fun getCanManageVideoChats ()Z public abstract fun getCanManageVideoChats ()Z
public abstract fun getCanPostMessages ()Z public abstract fun getCanPostMessages ()Z
public abstract fun getCanPostStories ()Z public abstract fun getCanPostStories ()Z
@@ -19145,8 +19227,8 @@ public final class dev/inmo/tgbotapi/types/chat/member/ChatAdministratorRights$C
public final class dev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights : dev/inmo/tgbotapi/types/chat/member/ChatAdministratorRights { public final class dev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights : dev/inmo/tgbotapi/types/chat/member/ChatAdministratorRights {
public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights$Companion; public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights$Companion;
public fun <init> ()V public fun <init> ()V
public fun <init> (ZZZZZZZZZZZZZZZZ)V public fun <init> (ZZZZZZZZZZZZZZZZZ)V
public synthetic fun <init> (ZZZZZZZZZZZZZZZZILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (ZZZZZZZZZZZZZZZZZILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Z public final fun component1 ()Z
public final fun component10 ()Z public final fun component10 ()Z
public final fun component11 ()Z public final fun component11 ()Z
@@ -19155,6 +19237,7 @@ public final class dev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRi
public final fun component14 ()Z public final fun component14 ()Z
public final fun component15 ()Z public final fun component15 ()Z
public final fun component16 ()Z public final fun component16 ()Z
public final fun component17 ()Z
public final fun component2 ()Z public final fun component2 ()Z
public final fun component3 ()Z public final fun component3 ()Z
public final fun component4 ()Z public final fun component4 ()Z
@@ -19163,8 +19246,8 @@ public final class dev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRi
public final fun component7 ()Z public final fun component7 ()Z
public final fun component8 ()Z public final fun component8 ()Z
public final fun component9 ()Z public final fun component9 ()Z
public final fun copy (ZZZZZZZZZZZZZZZZ)Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights; public final fun copy (ZZZZZZZZZZZZZZZZZ)Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;ZZZZZZZZZZZZZZZZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights; public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;ZZZZZZZZZZZZZZZZZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRights;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getCanChangeInfo ()Z public fun getCanChangeInfo ()Z
public fun getCanDeleteStories ()Z public fun getCanDeleteStories ()Z
@@ -19173,6 +19256,7 @@ public final class dev/inmo/tgbotapi/types/chat/member/ChatCommonAdministratorRi
public fun getCanInviteUsers ()Z public fun getCanInviteUsers ()Z
public fun getCanManageChat ()Z public fun getCanManageChat ()Z
public fun getCanManageDirectMessages ()Z public fun getCanManageDirectMessages ()Z
public fun getCanManageTags ()Z
public fun getCanManageTopics ()Z public fun getCanManageTopics ()Z
public fun getCanManageVideoChats ()Z public fun getCanManageVideoChats ()Z
public fun getCanPinMessages ()Z public fun getCanPinMessages ()Z
@@ -19296,14 +19380,16 @@ public final class dev/inmo/tgbotapi/types/chat/member/ChatMemberUpdated$Compani
public final class dev/inmo/tgbotapi/types/chat/member/KickedChatMember : dev/inmo/tgbotapi/types/chat/member/RestrictedChatMember { public final class dev/inmo/tgbotapi/types/chat/member/KickedChatMember : dev/inmo/tgbotapi/types/chat/member/RestrictedChatMember {
public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/KickedChatMember$Companion; public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/KickedChatMember$Companion;
public fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser;
public final fun component2 ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun component2 ()Ldev/inmo/tgbotapi/types/TelegramDate;
public final fun copy (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/types/chat/member/KickedChatMember; public final fun component3-AVO4CDE ()Ljava/lang/String;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/member/KickedChatMember;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/member/KickedChatMember; public final fun copy-XLDAstM (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/chat/member/KickedChatMember;
public static synthetic fun copy-XLDAstM$default (Ldev/inmo/tgbotapi/types/chat/member/KickedChatMember;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/member/KickedChatMember;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getStatus ()Ldev/inmo/tgbotapi/types/chat/member/ChatMember$Status; public fun getStatus ()Ldev/inmo/tgbotapi/types/chat/member/ChatMember$Status;
public fun getTag-AVO4CDE ()Ljava/lang/String;
public fun getUntilDate ()Ldev/inmo/tgbotapi/types/TelegramDate; public fun getUntilDate ()Ldev/inmo/tgbotapi/types/TelegramDate;
public fun getUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser;
public synthetic fun getUser ()Ldev/inmo/tgbotapi/types/chat/User; public synthetic fun getUser ()Ldev/inmo/tgbotapi/types/chat/User;
@@ -19363,7 +19449,7 @@ public final class dev/inmo/tgbotapi/types/chat/member/LeftChatMemberImpl$Compan
public final fun serializer ()Lkotlinx/serialization/KSerializer; public final fun serializer ()Lkotlinx/serialization/KSerializer;
} }
public abstract interface class dev/inmo/tgbotapi/types/chat/member/MemberChatMember : dev/inmo/tgbotapi/types/chat/member/ChatMember { public abstract interface class dev/inmo/tgbotapi/types/chat/member/MemberChatMember : dev/inmo/tgbotapi/abstracts/OptionallyTagged, dev/inmo/tgbotapi/types/chat/member/ChatMember {
public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/MemberChatMember$Companion; public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/MemberChatMember$Companion;
} }
@@ -19373,12 +19459,15 @@ public final class dev/inmo/tgbotapi/types/chat/member/MemberChatMember$Companio
public final class dev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl : dev/inmo/tgbotapi/types/chat/member/MemberChatMember { public final class dev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl : dev/inmo/tgbotapi/types/chat/member/MemberChatMember {
public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl$Companion; public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl$Companion;
public fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser;
public final fun copy (Ldev/inmo/tgbotapi/types/chat/PreviewUser;)Ldev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl; public final fun component2-AVO4CDE ()Ljava/lang/String;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl;Ldev/inmo/tgbotapi/types/chat/PreviewUser;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl; public final fun copy-YRaHl8Q (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl;
public static synthetic fun copy-YRaHl8Q$default (Ldev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/member/MemberChatMemberImpl;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getStatus ()Ldev/inmo/tgbotapi/types/chat/member/ChatMember$Status; public fun getStatus ()Ldev/inmo/tgbotapi/types/chat/member/ChatMember$Status;
public fun getTag-AVO4CDE ()Ljava/lang/String;
public fun getUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser;
public synthetic fun getUser ()Ldev/inmo/tgbotapi/types/chat/User; public synthetic fun getUser ()Ldev/inmo/tgbotapi/types/chat/User;
public fun hashCode ()I public fun hashCode ()I
@@ -19418,6 +19507,7 @@ public final class dev/inmo/tgbotapi/types/chat/member/OwnerChatMember : dev/inm
public fun getCanInviteUsers ()Z public fun getCanInviteUsers ()Z
public fun getCanManageChat ()Z public fun getCanManageChat ()Z
public fun getCanManageDirectMessages ()Z public fun getCanManageDirectMessages ()Z
public fun getCanManageTags ()Z
public fun getCanManageTopics ()Z public fun getCanManageTopics ()Z
public fun getCanManageVideoChats ()Z public fun getCanManageVideoChats ()Z
public fun getCanManageVoiceChats ()Z public fun getCanManageVoiceChats ()Z
@@ -19451,7 +19541,7 @@ public final class dev/inmo/tgbotapi/types/chat/member/OwnerChatMember$Companion
public final fun serializer ()Lkotlinx/serialization/KSerializer; public final fun serializer ()Lkotlinx/serialization/KSerializer;
} }
public abstract interface class dev/inmo/tgbotapi/types/chat/member/RestrictedChatMember : dev/inmo/tgbotapi/abstracts/types/UntilDate, dev/inmo/tgbotapi/types/chat/member/ChatMember { public abstract interface class dev/inmo/tgbotapi/types/chat/member/RestrictedChatMember : dev/inmo/tgbotapi/abstracts/OptionallyTagged, dev/inmo/tgbotapi/abstracts/types/UntilDate, dev/inmo/tgbotapi/types/chat/member/ChatMember {
public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/RestrictedChatMember$Companion; public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/RestrictedChatMember$Companion;
} }
@@ -19463,8 +19553,8 @@ public final class dev/inmo/tgbotapi/types/chat/member/RestrictedChatMember$Comp
public final class dev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMember : dev/inmo/tgbotapi/types/chat/ChatPermissions, dev/inmo/tgbotapi/types/chat/member/MemberChatMember, dev/inmo/tgbotapi/types/chat/member/RestrictedChatMember, dev/inmo/tgbotapi/types/chat/member/SpecialRightsChatMember { public final class dev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMember : dev/inmo/tgbotapi/types/chat/ChatPermissions, dev/inmo/tgbotapi/types/chat/member/MemberChatMember, dev/inmo/tgbotapi/types/chat/member/RestrictedChatMember, dev/inmo/tgbotapi/types/chat/member/SpecialRightsChatMember {
public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMember$Companion; public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMember$Companion;
public fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;ZZZZZZZZZZZZZZZ)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;ZZZZZZZZZZZZZZZZLjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;ZZZZZZZZZZZZZZZILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;ZZZZZZZZZZZZZZZZLjava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser;
public final fun component10 ()Z public final fun component10 ()Z
public final fun component11 ()Z public final fun component11 ()Z
@@ -19474,6 +19564,8 @@ public final class dev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMembe
public final fun component15 ()Z public final fun component15 ()Z
public final fun component16 ()Z public final fun component16 ()Z
public final fun component17 ()Z public final fun component17 ()Z
public final fun component18 ()Z
public final fun component19-AVO4CDE ()Ljava/lang/String;
public final fun component2 ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun component2 ()Ldev/inmo/tgbotapi/types/TelegramDate;
public final fun component3 ()Z public final fun component3 ()Z
public final fun component4 ()Z public final fun component4 ()Z
@@ -19482,14 +19574,15 @@ public final class dev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMembe
public final fun component7 ()Z public final fun component7 ()Z
public final fun component8 ()Z public final fun component8 ()Z
public final fun component9 ()Z public final fun component9 ()Z
public final fun copy (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;ZZZZZZZZZZZZZZZ)Ldev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMember; public final fun copy-uBvMSU0 (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;ZZZZZZZZZZZZZZZZLjava/lang/String;)Ldev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMember;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMember;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;ZZZZZZZZZZZZZZZILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMember; public static synthetic fun copy-uBvMSU0$default (Ldev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMember;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;ZZZZZZZZZZZZZZZZLjava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMember;
public fun copyCommon (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public fun copyCommon (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions;
public fun copyGranular (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions; public fun copyGranular (Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Ldev/inmo/tgbotapi/types/chat/ChatPermissions;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getCanAddWebPagePreviews ()Ljava/lang/Boolean; public fun getCanAddWebPagePreviews ()Ljava/lang/Boolean;
public fun getCanChangeInfo ()Ljava/lang/Boolean; public fun getCanChangeInfo ()Ljava/lang/Boolean;
public synthetic fun getCanChangeInfo ()Z public synthetic fun getCanChangeInfo ()Z
public fun getCanEditTag ()Ljava/lang/Boolean;
public fun getCanInviteUsers ()Ljava/lang/Boolean; public fun getCanInviteUsers ()Ljava/lang/Boolean;
public synthetic fun getCanInviteUsers ()Z public synthetic fun getCanInviteUsers ()Z
public fun getCanManageTopics ()Z public fun getCanManageTopics ()Z
@@ -19507,6 +19600,7 @@ public final class dev/inmo/tgbotapi/types/chat/member/RestrictedMemberChatMembe
public fun getCanSendVideos ()Ljava/lang/Boolean; public fun getCanSendVideos ()Ljava/lang/Boolean;
public fun getCanSendVoiceNotes ()Ljava/lang/Boolean; public fun getCanSendVoiceNotes ()Ljava/lang/Boolean;
public fun getStatus ()Ldev/inmo/tgbotapi/types/chat/member/ChatMember$Status; public fun getStatus ()Ldev/inmo/tgbotapi/types/chat/member/ChatMember$Status;
public fun getTag-AVO4CDE ()Ljava/lang/String;
public fun getUntilDate ()Ldev/inmo/tgbotapi/types/TelegramDate; public fun getUntilDate ()Ldev/inmo/tgbotapi/types/TelegramDate;
public fun getUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser;
public synthetic fun getUser ()Ldev/inmo/tgbotapi/types/chat/User; public synthetic fun getUser ()Ldev/inmo/tgbotapi/types/chat/User;
@@ -19562,13 +19656,16 @@ public final class dev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMem
public final class dev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMemberImpl : dev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMember { public final class dev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMemberImpl : dev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMember {
public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMemberImpl$Companion; public static final field Companion Ldev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMemberImpl$Companion;
public fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewUser;
public final fun component2 ()Ldev/inmo/tgbotapi/types/TelegramDate; public final fun component2 ()Ldev/inmo/tgbotapi/types/TelegramDate;
public final fun copy (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;)Ldev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMemberImpl; public final fun component3-AVO4CDE ()Ljava/lang/String;
public static synthetic fun copy$default (Ldev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMemberImpl;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMemberImpl; public final fun copy-XLDAstM (Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMemberImpl;
public static synthetic fun copy-XLDAstM$default (Ldev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMemberImpl;Ldev/inmo/tgbotapi/types/chat/PreviewUser;Ldev/inmo/tgbotapi/types/TelegramDate;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/chat/member/SubscriptionMemberChatMemberImpl;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getStatus ()Ldev/inmo/tgbotapi/types/chat/member/ChatMember$Status; public fun getStatus ()Ldev/inmo/tgbotapi/types/chat/member/ChatMember$Status;
public fun getTag-AVO4CDE ()Ljava/lang/String;
public fun getUntil-Wg0KzQs ()D public fun getUntil-Wg0KzQs ()D
public fun getUntilDate ()Ldev/inmo/tgbotapi/types/TelegramDate; public fun getUntilDate ()Ldev/inmo/tgbotapi/types/TelegramDate;
public fun getUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/PreviewUser;
@@ -24913,8 +25010,8 @@ public final class dev/inmo/tgbotapi/types/message/ChatEvents/voice/VideoChatSta
public final class dev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/CommonChannelDirectMessagesContentMessage { public final class dev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/CommonChannelDirectMessagesContentMessage {
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat; public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;
public final fun component10 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; public final fun component10 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
public final fun component11 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; public final fun component11 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent;
@@ -24923,6 +25020,7 @@ public final class dev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesCo
public final fun component14 ()Ljava/lang/Integer; public final fun component14 ()Ljava/lang/Integer;
public final fun component15 ()Z public final fun component15 ()Z
public final fun component16 ()Ljava/lang/Integer; public final fun component16 ()Ljava/lang/Integer;
public final fun component17-AVO4CDE ()Ljava/lang/String;
public final fun component2-APLFQys ()J public final fun component2-APLFQys ()J
public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/User; public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/User;
public final fun component4-Wg0KzQs ()D public final fun component4-Wg0KzQs ()D
@@ -24931,8 +25029,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesCo
public final fun component7-Ivn3T5g ()Lkorlibs/time/DateTime; public final fun component7-Ivn3T5g ()Lkorlibs/time/DateTime;
public final fun component8 ()Z public final fun component8 ()Z
public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo; public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
public final fun copy-ZKlzU5U (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesContentMessageImpl; public final fun copy-9Z86bYY (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesContentMessageImpl;
public static synthetic fun copy-ZKlzU5U$default (Ldev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesContentMessageImpl; public static synthetic fun copy-9Z86bYY$default (Ldev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesContentMessageImpl;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String; public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String;
public fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat; public fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;
@@ -24959,6 +25057,7 @@ public final class dev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesCo
public fun getReplyTo ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public fun getReplyTo ()Ldev/inmo/tgbotapi/types/message/abstracts/Message;
public fun getSenderBoostsCount ()Ljava/lang/Integer; public fun getSenderBoostsCount ()Ljava/lang/Integer;
public fun getSenderBot ()Ldev/inmo/tgbotapi/types/chat/CommonBot; public fun getSenderBot ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
public fun getSenderTag-AVO4CDE ()Ljava/lang/String;
public fun getUser ()Ldev/inmo/tgbotapi/types/chat/User; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/User;
public fun hashCode ()I public fun hashCode ()I
public fun toString ()Ljava/lang/String; public fun toString ()Ljava/lang/String;
@@ -24992,8 +25091,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonChannelDirectMessagesEv
public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/CommonForumContentMessage { public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/CommonForumContentMessage {
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewForumChat; public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;
public final fun component10 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; public final fun component10 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
public final fun component11 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; public final fun component11 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent;
@@ -25002,6 +25101,7 @@ public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl
public final fun component14 ()Ljava/lang/Integer; public final fun component14 ()Ljava/lang/Integer;
public final fun component15 ()Z public final fun component15 ()Z
public final fun component16 ()Ljava/lang/Integer; public final fun component16 ()Ljava/lang/Integer;
public final fun component17-AVO4CDE ()Ljava/lang/String;
public final fun component2-APLFQys ()J public final fun component2-APLFQys ()J
public final fun component3-hDmiKeI ()J public final fun component3-hDmiKeI ()J
public final fun component4 ()Ldev/inmo/tgbotapi/types/chat/User; public final fun component4 ()Ldev/inmo/tgbotapi/types/chat/User;
@@ -25010,8 +25110,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl
public final fun component7-Ivn3T5g ()Lkorlibs/time/DateTime; public final fun component7-Ivn3T5g ()Lkorlibs/time/DateTime;
public final fun component8 ()Z public final fun component8 ()Z
public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo; public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
public final fun copy-_c83v58 (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl; public final fun copy-KV_Ri-M (Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl;
public static synthetic fun copy-_c83v58$default (Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl; public static synthetic fun copy-KV_Ri-M$default (Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewForumChat;JJLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String; public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String;
public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
@@ -25036,6 +25136,7 @@ public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl
public fun getReplyTo ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public fun getReplyTo ()Ldev/inmo/tgbotapi/types/message/abstracts/Message;
public fun getSenderBoostsCount ()Ljava/lang/Integer; public fun getSenderBoostsCount ()Ljava/lang/Integer;
public fun getSenderBot ()Ldev/inmo/tgbotapi/types/chat/CommonBot; public fun getSenderBot ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
public fun getSenderTag-AVO4CDE ()Ljava/lang/String;
public fun getThreadCreatingInfo ()Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated; public fun getThreadCreatingInfo ()Ldev/inmo/tgbotapi/types/message/ChatEvents/forum/ForumTopicCreated;
public synthetic fun getThreadId-S3HF-10 ()Ldev/inmo/tgbotapi/types/MessageThreadId; public synthetic fun getThreadId-S3HF-10 ()Ldev/inmo/tgbotapi/types/MessageThreadId;
public fun getThreadId-hDmiKeI ()J public fun getThreadId-hDmiKeI ()J
@@ -25047,8 +25148,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonForumContentMessageImpl
public final class dev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/CommonGroupContentMessage { public final class dev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/CommonGroupContentMessage {
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat; public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;
public final fun component10 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; public final fun component10 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent;
public final fun component11 ()Ldev/inmo/tgbotapi/types/chat/CommonBot; public final fun component11 ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
@@ -25056,6 +25157,7 @@ public final class dev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl
public final fun component13 ()Ljava/lang/Integer; public final fun component13 ()Ljava/lang/Integer;
public final fun component14 ()Z public final fun component14 ()Z
public final fun component15 ()Ljava/lang/Integer; public final fun component15 ()Ljava/lang/Integer;
public final fun component16-AVO4CDE ()Ljava/lang/String;
public final fun component2-APLFQys ()J public final fun component2-APLFQys ()J
public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/User; public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/User;
public final fun component4-Wg0KzQs ()D public final fun component4-Wg0KzQs ()D
@@ -25064,8 +25166,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl
public final fun component7 ()Z public final fun component7 ()Z
public final fun component8 ()Ldev/inmo/tgbotapi/types/ReplyInfo; public final fun component8 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
public final fun component9 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; public final fun component9 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
public final fun copy-vFzrh-s (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl; public final fun copy-2zVoErM (Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl;
public static synthetic fun copy-vFzrh-s$default (Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl; public static synthetic fun copy-2zVoErM$default (Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewGroupChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLjava/lang/Integer;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String; public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String;
public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat; public synthetic fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChat;
@@ -25089,6 +25191,7 @@ public final class dev/inmo/tgbotapi/types/message/CommonGroupContentMessageImpl
public fun getReplyTo ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public fun getReplyTo ()Ldev/inmo/tgbotapi/types/message/abstracts/Message;
public fun getSenderBoostsCount ()Ljava/lang/Integer; public fun getSenderBoostsCount ()Ljava/lang/Integer;
public fun getSenderBot ()Ldev/inmo/tgbotapi/types/chat/CommonBot; public fun getSenderBot ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
public fun getSenderTag-AVO4CDE ()Ljava/lang/String;
public fun getUser ()Ldev/inmo/tgbotapi/types/chat/User; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/User;
public fun hashCode ()I public fun hashCode ()I
public fun toString ()Ljava/lang/String; public fun toString ()Ljava/lang/String;
@@ -25121,8 +25224,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonGroupEventMessage : dev
public final class dev/inmo/tgbotapi/types/message/CommonSuggestedChannelDirectMessagesContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/CommonSuggestedChannelDirectMessagesContentMessage { public final class dev/inmo/tgbotapi/types/message/CommonSuggestedChannelDirectMessagesContentMessageImpl : dev/inmo/tgbotapi/types/message/abstracts/CommonSuggestedChannelDirectMessagesContentMessage {
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLdev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLdev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLdev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/ForwardInfo;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/message/abstracts/AccessibleMessage;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLdev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLdev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;Ljava/lang/Integer;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLdev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;Ljava/lang/Integer;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLdev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;Ljava/lang/Integer;Lkotlin/jvm/internal/DefaultConstructorMarker;)V public synthetic fun <init> (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLdev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;Ljava/lang/Integer;Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat; public final fun component1 ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;
public final fun component10 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup; public final fun component10 ()Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;
public final fun component11 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent; public final fun component11 ()Ldev/inmo/tgbotapi/types/message/content/MessageContent;
@@ -25132,6 +25235,7 @@ public final class dev/inmo/tgbotapi/types/message/CommonSuggestedChannelDirectM
public final fun component15 ()Z public final fun component15 ()Z
public final fun component16 ()Ldev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo; public final fun component16 ()Ldev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;
public final fun component17 ()Ljava/lang/Integer; public final fun component17 ()Ljava/lang/Integer;
public final fun component18-AVO4CDE ()Ljava/lang/String;
public final fun component2-APLFQys ()J public final fun component2-APLFQys ()J
public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/User; public final fun component3 ()Ldev/inmo/tgbotapi/types/chat/User;
public final fun component4-Wg0KzQs ()D public final fun component4-Wg0KzQs ()D
@@ -25140,8 +25244,8 @@ public final class dev/inmo/tgbotapi/types/message/CommonSuggestedChannelDirectM
public final fun component7-Ivn3T5g ()Lkorlibs/time/DateTime; public final fun component7-Ivn3T5g ()Lkorlibs/time/DateTime;
public final fun component8 ()Z public final fun component8 ()Z
public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo; public final fun component9 ()Ldev/inmo/tgbotapi/types/ReplyInfo;
public final fun copy-Yt8lx4I (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLdev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;Ljava/lang/Integer;)Ldev/inmo/tgbotapi/types/message/CommonSuggestedChannelDirectMessagesContentMessageImpl; public final fun copy-bhtxuCc (Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLdev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;Ljava/lang/Integer;Ljava/lang/String;)Ldev/inmo/tgbotapi/types/message/CommonSuggestedChannelDirectMessagesContentMessageImpl;
public static synthetic fun copy-Yt8lx4I$default (Ldev/inmo/tgbotapi/types/message/CommonSuggestedChannelDirectMessagesContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLdev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;Ljava/lang/Integer;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonSuggestedChannelDirectMessagesContentMessageImpl; public static synthetic fun copy-bhtxuCc$default (Ldev/inmo/tgbotapi/types/message/CommonSuggestedChannelDirectMessagesContentMessageImpl;Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;JLdev/inmo/tgbotapi/types/chat/User;DLdev/inmo/tgbotapi/types/chat/DirectMessagesTopic;Ldev/inmo/tgbotapi/types/message/MessageOrigin;Lkorlibs/time/DateTime;ZLdev/inmo/tgbotapi/types/ReplyInfo;Ldev/inmo/tgbotapi/types/buttons/InlineKeyboardMarkup;Ldev/inmo/tgbotapi/types/message/content/MessageContent;Ldev/inmo/tgbotapi/types/chat/CommonBot;Ljava/lang/String;Ljava/lang/Integer;ZLdev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;Ljava/lang/Integer;Ljava/lang/String;ILjava/lang/Object;)Ldev/inmo/tgbotapi/types/message/CommonSuggestedChannelDirectMessagesContentMessageImpl;
public fun equals (Ljava/lang/Object;)Z public fun equals (Ljava/lang/Object;)Z
public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String; public fun getBusinessConnectionId-nXr5wdE ()Ljava/lang/String;
public fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat; public fun getChat ()Ldev/inmo/tgbotapi/types/chat/PreviewChannelDirectMessagesChat;
@@ -25168,6 +25272,7 @@ public final class dev/inmo/tgbotapi/types/message/CommonSuggestedChannelDirectM
public fun getReplyTo ()Ldev/inmo/tgbotapi/types/message/abstracts/Message; public fun getReplyTo ()Ldev/inmo/tgbotapi/types/message/abstracts/Message;
public fun getSenderBoostsCount ()Ljava/lang/Integer; public fun getSenderBoostsCount ()Ljava/lang/Integer;
public fun getSenderBot ()Ldev/inmo/tgbotapi/types/chat/CommonBot; public fun getSenderBot ()Ldev/inmo/tgbotapi/types/chat/CommonBot;
public fun getSenderTag-AVO4CDE ()Ljava/lang/String;
public fun getSuggestedPostInfo ()Ldev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo; public fun getSuggestedPostInfo ()Ldev/inmo/tgbotapi/types/message/ChatEvents/suggested/SuggestedPostInfo;
public fun getUser ()Ldev/inmo/tgbotapi/types/chat/User; public fun getUser ()Ldev/inmo/tgbotapi/types/chat/User;
public fun hashCode ()I public fun hashCode ()I
@@ -26545,6 +26650,7 @@ public final class dev/inmo/tgbotapi/types/message/abstracts/PossiblyWithEffectM
public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUserGroupContentMessage : dev/inmo/tgbotapi/types/message/abstracts/GroupContentMessage { public abstract interface class dev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUserGroupContentMessage : dev/inmo/tgbotapi/types/message/abstracts/GroupContentMessage {
public abstract fun getSenderBoostsCount ()Ljava/lang/Integer; public abstract fun getSenderBoostsCount ()Ljava/lang/Integer;
public abstract fun getSenderTag-AVO4CDE ()Ljava/lang/String;
} }
public final class dev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUserGroupContentMessage$DefaultImpls { public final class dev/inmo/tgbotapi/types/message/abstracts/PotentiallyFromUserGroupContentMessage$DefaultImpls {
@@ -34378,3 +34484,12 @@ public abstract interface class dev/inmo/tgbotapi/utils/serializers/Customizable
public abstract interface class dev/inmo/tgbotapi/utils/serializers/CustomizableSerializer : dev/inmo/tgbotapi/utils/serializers/CustomizableDeserializationStrategy, dev/inmo/tgbotapi/utils/serializers/CustomizableSerializationStrategy, kotlinx/serialization/KSerializer { public abstract interface class dev/inmo/tgbotapi/utils/serializers/CustomizableSerializer : dev/inmo/tgbotapi/utils/serializers/CustomizableDeserializationStrategy, dev/inmo/tgbotapi/utils/serializers/CustomizableSerializationStrategy, kotlinx/serialization/KSerializer {
} }
public final class dev/inmo/tgbotapi/utils/serializers/UnitFromBooleanSerializer : kotlinx/serialization/KSerializer {
public static final field INSTANCE Ldev/inmo/tgbotapi/utils/serializers/UnitFromBooleanSerializer;
public synthetic fun deserialize (Lkotlinx/serialization/encoding/Decoder;)Ljava/lang/Object;
public fun deserialize (Lkotlinx/serialization/encoding/Decoder;)V
public fun getDescriptor ()Lkotlinx/serialization/descriptors/SerialDescriptor;
public synthetic fun serialize (Lkotlinx/serialization/encoding/Encoder;Ljava/lang/Object;)V
public fun serialize (Lkotlinx/serialization/encoding/Encoder;Lkotlin/Unit;)V
}

View File

@@ -0,0 +1,7 @@
package dev.inmo.tgbotapi.abstracts
import dev.inmo.tgbotapi.types.UserTag
interface OptionallyTagged {
val tag: UserTag?
}

View File

@@ -16,6 +16,7 @@ import io.ktor.client.request.*
import io.ktor.client.statement.bodyAsText import io.ktor.client.statement.bodyAsText
import io.ktor.http.ContentType import io.ktor.http.ContentType
import io.ktor.http.content.* import io.ktor.http.content.*
import kotlinx.serialization.builtins.serializer
import kotlinx.serialization.json.Json import kotlinx.serialization.json.Json
import kotlin.collections.set import kotlin.collections.set

View File

@@ -49,6 +49,8 @@ data class PromoteChatMember(
private val canDeleteStories: Boolean? = null, private val canDeleteStories: Boolean? = null,
@SerialName(canManageDirectMessagesField) @SerialName(canManageDirectMessagesField)
private val canManageDirectMessages: Boolean? = null, private val canManageDirectMessages: Boolean? = null,
@SerialName(canManageTagsField)
private val canManageTags: Boolean? = null,
) : ChatMemberRequest<Boolean>, UntilDate { ) : ChatMemberRequest<Boolean>, UntilDate {
override fun method(): String = "promoteChatMember" override fun method(): String = "promoteChatMember"
override val resultDeserializer: DeserializationStrategy<Boolean> override val resultDeserializer: DeserializationStrategy<Boolean>
@@ -69,6 +71,7 @@ fun PromoteChatMember(
canPromoteMembers: Boolean? = null, canPromoteMembers: Boolean? = null,
canManageVideoChats: Boolean? = null, canManageVideoChats: Boolean? = null,
canManageChat: Boolean? = null, canManageChat: Boolean? = null,
canManageTags: Boolean? = null,
) = PromoteChatMember( ) = PromoteChatMember(
chatId = chatId, chatId = chatId,
userId = userId, userId = userId,
@@ -84,6 +87,7 @@ fun PromoteChatMember(
canPromoteMembers = canPromoteMembers, canPromoteMembers = canPromoteMembers,
canManageVideoChats = canManageVideoChats, canManageVideoChats = canManageVideoChats,
canManageChat = canManageChat, canManageChat = canManageChat,
canManageTags = canManageTags,
canManageTopics = null, canManageTopics = null,
canPostStories = null, canPostStories = null,
canEditStories = null, canEditStories = null,
@@ -144,6 +148,7 @@ fun PromoteSupergroupAdministrator(
canManageVideoChats: Boolean? = null, canManageVideoChats: Boolean? = null,
canManageChat: Boolean? = null, canManageChat: Boolean? = null,
canManageTopics: Boolean? = null, canManageTopics: Boolean? = null,
canManageTags: Boolean? = null,
) = PromoteChatMember( ) = PromoteChatMember(
chatId = chatId, chatId = chatId,
userId = userId, userId = userId,
@@ -160,6 +165,7 @@ fun PromoteSupergroupAdministrator(
canManageVideoChats = canManageVideoChats, canManageVideoChats = canManageVideoChats,
canManageChat = canManageChat, canManageChat = canManageChat,
canManageTopics = canManageTopics, canManageTopics = canManageTopics,
canManageTags = canManageTags,
canPostStories = null, canPostStories = null,
canEditStories = null, canEditStories = null,
canDeleteStories = null canDeleteStories = null

View File

@@ -0,0 +1,23 @@
package dev.inmo.tgbotapi.requests.chat.members
import dev.inmo.tgbotapi.requests.chat.abstracts.ChatMemberRequest
import dev.inmo.tgbotapi.types.*
import dev.inmo.tgbotapi.utils.serializers.UnitFromBooleanSerializer
import kotlinx.serialization.*
@Serializable
data class SetChatMemberTag(
@SerialName(chatIdField)
override val chatId: ChatIdentifier,
@Suppress("SERIALIZER_TYPE_INCOMPATIBLE")
@SerialName(userIdField)
override val userId: UserId,
@SerialName(tagField)
val tag: UserTag? = null
) : ChatMemberRequest<Unit> {
override fun method(): String = "setChatMemberTag"
override val resultDeserializer: DeserializationStrategy<Unit>
get() = UnitFromBooleanSerializer
override val requestSerializer: SerializationStrategy<*>
get() = serializer()
}

View File

@@ -80,6 +80,7 @@ val livePeriodLimit = 60 .. LiveLocation.INDEFINITE_LIVE_PERIOD
val inlineQueryAnswerResultsLimit = 0 .. 50 val inlineQueryAnswerResultsLimit = 0 .. 50
val customTitleLength = 0 .. 16 val customTitleLength = 0 .. 16
val memberTagLength = 0 .. 16
val dartsCubeAndBowlingDiceResultLimit = 1 .. 6 val dartsCubeAndBowlingDiceResultLimit = 1 .. 6
val basketballAndFootballDiceResultLimit = 1 .. 5 val basketballAndFootballDiceResultLimit = 1 .. 5
@@ -272,10 +273,12 @@ const val correctOptionIdField = "correct_option_id"
const val allowsMultipleAnswersField = "allows_multiple_answers" const val allowsMultipleAnswersField = "allows_multiple_answers"
const val isAnonymousField = "is_anonymous" const val isAnonymousField = "is_anonymous"
const val canManageTopicsField = "can_manage_topics" const val canManageTopicsField = "can_manage_topics"
const val canEditTagField = "can_edit_tag"
const val canPostStoriesField = "can_post_stories" const val canPostStoriesField = "can_post_stories"
const val canEditStoriesField = "can_edit_stories" const val canEditStoriesField = "can_edit_stories"
const val canDeleteStoriesField = "can_delete_stories" const val canDeleteStoriesField = "can_delete_stories"
const val canManageDirectMessagesField = "can_manage_direct_messages" const val canManageDirectMessagesField = "can_manage_direct_messages"
const val canManageTagsField = "can_manage_tags"
const val captionEntitiesField = "caption_entities" const val captionEntitiesField = "caption_entities"
const val hasSpoilerField = "has_spoiler" const val hasSpoilerField = "has_spoiler"
const val showCaptionAboveMediaField = "show_caption_above_media" const val showCaptionAboveMediaField = "show_caption_above_media"
@@ -488,6 +491,7 @@ const val headingField = "heading"
const val fromField = "from" const val fromField = "from"
const val userChatIdField = "user_chat_id" const val userChatIdField = "user_chat_id"
const val userField = "user" const val userField = "user"
const val tagField = "tag"
const val newOwnerField = "new_owner" const val newOwnerField = "new_owner"
const val dateField = "date" const val dateField = "date"
const val reactionsField = "reactions" const val reactionsField = "reactions"
@@ -666,6 +670,7 @@ const val mainFrameTimestampField = "main_frame_timestamp"
const val firstProfileAudioField = "first_profile_audio" const val firstProfileAudioField = "first_profile_audio"
const val paidMessageStarCountField = "paid_message_star_count" const val paidMessageStarCountField = "paid_message_star_count"
const val senderTagField = "sender_tag"
const val countField = "count" const val countField = "count"
const val ratingField = "rating" const val ratingField = "rating"
const val uniqueGiftColorsField = "unique_gift_colors" const val uniqueGiftColorsField = "unique_gift_colors"

View File

@@ -0,0 +1,16 @@
package dev.inmo.tgbotapi.types
import dev.inmo.kslog.common.w
import dev.inmo.tgbotapi.utils.DefaultKTgBotAPIKSLog
import kotlinx.serialization.Serializable
import kotlin.jvm.JvmInline
@Serializable
@JvmInline
value class UserTag(val string: String) {
init {
if (string.length !in memberTagLength) {
DefaultKTgBotAPIKSLog.w("UserTag", "Tag length must be in range $memberTagLength, but was ${string.length} ($string)")
}
}
}

View File

@@ -33,6 +33,7 @@ interface ChatPermissions {
val canChangeInfo: Boolean? val canChangeInfo: Boolean?
val canInviteUsers: Boolean? val canInviteUsers: Boolean?
val canPinMessages: Boolean? val canPinMessages: Boolean?
val canEditTag: Boolean?
@Transient @Transient
val isGranular val isGranular
get() = canSendAudios != null || get() = canSendAudios != null ||
@@ -73,7 +74,9 @@ interface ChatPermissions {
@SerialName(canInviteUsersField) @SerialName(canInviteUsersField)
override val canInviteUsers: Boolean? = null, override val canInviteUsers: Boolean? = null,
@SerialName(canPinMessagesField) @SerialName(canPinMessagesField)
override val canPinMessages: Boolean? = null override val canPinMessages: Boolean? = null,
@SerialName(canEditTagField)
override val canEditTag: Boolean = false,
) : ChatPermissions { ) : ChatPermissions {
@Transient @Transient
override val isGranular: Boolean override val isGranular: Boolean
@@ -93,7 +96,9 @@ interface ChatPermissions {
@SerialName(canInviteUsersField) @SerialName(canInviteUsersField)
override val canInviteUsers: Boolean? = null, override val canInviteUsers: Boolean? = null,
@SerialName(canPinMessagesField) @SerialName(canPinMessagesField)
override val canPinMessages: Boolean? = null override val canPinMessages: Boolean? = null,
@SerialName(canEditTagField)
override val canEditTag: Boolean = false,
) : ChatPermissions { ) : ChatPermissions {
@Transient @Transient
override val isGranular: Boolean override val isGranular: Boolean

View File

@@ -48,6 +48,8 @@ data class AdministratorChatMemberImpl(
override val canDeleteStories: Boolean = false, override val canDeleteStories: Boolean = false,
@SerialName(canManageDirectMessagesField) @SerialName(canManageDirectMessagesField)
override val canManageDirectMessages: Boolean = false, override val canManageDirectMessages: Boolean = false,
@SerialName(canManageTagsField)
override val canManageTags: Boolean = false,
) : AdministratorChatMember { ) : AdministratorChatMember {
@SerialName(statusField) @SerialName(statusField)
@Required @Required

View File

@@ -20,6 +20,7 @@ sealed interface ChatAdministratorRights : SpecialChatAdministratorRights {
val canEditStories: Boolean val canEditStories: Boolean
val canDeleteStories: Boolean val canDeleteStories: Boolean
val canManageDirectMessages: Boolean val canManageDirectMessages: Boolean
val canManageTags: Boolean
companion object { companion object {
operator fun invoke( operator fun invoke(

View File

@@ -38,4 +38,6 @@ data class ChatCommonAdministratorRights(
override val canDeleteStories: Boolean = false, override val canDeleteStories: Boolean = false,
@SerialName(canManageDirectMessagesField) @SerialName(canManageDirectMessagesField)
override val canManageDirectMessages: Boolean = false, override val canManageDirectMessages: Boolean = false,
@SerialName(canManageTagsField)
override val canManageTags: Boolean = false,
) : ChatAdministratorRights ) : ChatAdministratorRights

View File

@@ -13,7 +13,9 @@ data class KickedChatMember(
@SerialName(userField) @SerialName(userField)
override val user: PreviewUser, override val user: PreviewUser,
@SerialName(untilDateField) @SerialName(untilDateField)
override val untilDate: TelegramDate? = null override val untilDate: TelegramDate? = null,
@SerialName(tagField)
override val tag: UserTag? = null,
) : RestrictedChatMember { ) : RestrictedChatMember {
@SerialName(statusField) @SerialName(statusField)
@Required @Required

View File

@@ -1,7 +1,8 @@
package dev.inmo.tgbotapi.types.chat.member package dev.inmo.tgbotapi.types.chat.member
import dev.inmo.tgbotapi.abstracts.OptionallyTagged
import kotlinx.serialization.Serializable import kotlinx.serialization.Serializable
@Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Suppress("SERIALIZER_TYPE_INCOMPATIBLE")
@Serializable(ChatMemberSerializer::class) @Serializable(ChatMemberSerializer::class)
sealed interface MemberChatMember : ChatMember sealed interface MemberChatMember : ChatMember, OptionallyTagged

View File

@@ -10,7 +10,9 @@ import kotlinx.serialization.*
data class MemberChatMemberImpl( data class MemberChatMemberImpl(
@Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Suppress("SERIALIZER_TYPE_INCOMPATIBLE")
@SerialName(userField) @SerialName(userField)
override val user: PreviewUser override val user: PreviewUser,
@SerialName(tagField)
override val tag: UserTag? = null
) : MemberChatMember { ) : MemberChatMember {
@SerialName(statusField) @SerialName(statusField)
@Required @Required

View File

@@ -48,6 +48,8 @@ data class OwnerChatMember(
override val canDeleteStories: Boolean = true override val canDeleteStories: Boolean = true
@Transient @Transient
override val canManageDirectMessages: Boolean = true override val canManageDirectMessages: Boolean = true
@Transient
override val canManageTags: Boolean = true
@SerialName(statusField) @SerialName(statusField)
@Required @Required

View File

@@ -1,5 +1,6 @@
package dev.inmo.tgbotapi.types.chat.member package dev.inmo.tgbotapi.types.chat.member
import dev.inmo.tgbotapi.abstracts.OptionallyTagged
import dev.inmo.tgbotapi.abstracts.types.UntilDate import dev.inmo.tgbotapi.abstracts.types.UntilDate
import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.*
import dev.inmo.tgbotapi.types.chat.PreviewUser import dev.inmo.tgbotapi.types.chat.PreviewUser
@@ -8,7 +9,7 @@ import kotlinx.serialization.Serializable
@Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Suppress("SERIALIZER_TYPE_INCOMPATIBLE")
@Serializable(ChatMemberSerializer::class) @Serializable(ChatMemberSerializer::class)
sealed interface RestrictedChatMember : ChatMember, UntilDate { sealed interface RestrictedChatMember : ChatMember, UntilDate, OptionallyTagged {
companion object { companion object {
// backward compatibility fun // backward compatibility fun
@Deprecated( @Deprecated(

View File

@@ -5,7 +5,6 @@ package dev.inmo.tgbotapi.types.chat.member
import dev.inmo.tgbotapi.types.* import dev.inmo.tgbotapi.types.*
import dev.inmo.tgbotapi.types.chat.ChatPermissions import dev.inmo.tgbotapi.types.chat.ChatPermissions
import dev.inmo.tgbotapi.types.chat.PreviewUser import dev.inmo.tgbotapi.types.chat.PreviewUser
import dev.inmo.tgbotapi.types.chat.User
import kotlinx.serialization.* import kotlinx.serialization.*
/** /**
@@ -48,7 +47,11 @@ data class RestrictedMemberChatMember(
@SerialName(canPinMessagesField) @SerialName(canPinMessagesField)
override val canPinMessages: Boolean = false, override val canPinMessages: Boolean = false,
@SerialName(canManageTopicsField) @SerialName(canManageTopicsField)
override val canManageTopics: Boolean = false override val canManageTopics: Boolean = false,
@SerialName(canEditTagField)
override val canEditTag: Boolean = false,
@SerialName(tagField)
override val tag: UserTag? = null,
) : RestrictedChatMember, SpecialRightsChatMember, MemberChatMember, ChatPermissions { ) : RestrictedChatMember, SpecialRightsChatMember, MemberChatMember, ChatPermissions {
@SerialName(statusField) @SerialName(statusField)
@Required @Required

View File

@@ -13,7 +13,9 @@ data class SubscriptionMemberChatMemberImpl(
override val user: PreviewUser, override val user: PreviewUser,
@SerialName(untilDateField) @SerialName(untilDateField)
@Serializable(TelegramDateSerializer::class) @Serializable(TelegramDateSerializer::class)
override val untilDate: TelegramDate override val untilDate: TelegramDate,
@SerialName(tagField)
override val tag: UserTag? = null
) : SubscriptionMemberChatMember { ) : SubscriptionMemberChatMember {
@SerialName(statusField) @SerialName(statusField)
@Required @Required

View File

@@ -185,6 +185,8 @@ data class CommonGroupContentMessageImpl<T : MessageContent>(
override val fromOffline: Boolean, override val fromOffline: Boolean,
@SerialName(paidMessageStarCountField) @SerialName(paidMessageStarCountField)
override val cost: Int? = null, override val cost: Int? = null,
@SerialName(senderTagField)
override val senderTag: UserTag? = null,
) : CommonGroupContentMessage<T> { ) : CommonGroupContentMessage<T> {
constructor( constructor(
chat: PreviewGroupChat, chat: PreviewGroupChat,
@@ -463,6 +465,8 @@ data class CommonForumContentMessageImpl<T : MessageContent>(
override val fromOffline: Boolean, override val fromOffline: Boolean,
@SerialName(paidMessageStarCountField) @SerialName(paidMessageStarCountField)
override val cost: Int? = null, override val cost: Int? = null,
@SerialName(senderTagField)
override val senderTag: UserTag? = null,
) : CommonForumContentMessage<T> { ) : CommonForumContentMessage<T> {
constructor( constructor(
chat: PreviewForumChat, chat: PreviewForumChat,
@@ -520,6 +524,8 @@ data class CommonChannelDirectMessagesContentMessageImpl<T : MessageContent>(
override val fromOffline: Boolean, override val fromOffline: Boolean,
@SerialName(paidMessageStarCountField) @SerialName(paidMessageStarCountField)
override val cost: Int? = null, override val cost: Int? = null,
@SerialName(senderTagField)
override val senderTag: UserTag? = null
) : CommonChannelDirectMessagesContentMessage<T> { ) : CommonChannelDirectMessagesContentMessage<T> {
constructor( constructor(
chat: PreviewChannelDirectMessagesChat, chat: PreviewChannelDirectMessagesChat,
@@ -577,7 +583,9 @@ data class CommonSuggestedChannelDirectMessagesContentMessageImpl<T : MessageCon
override val fromOffline: Boolean, override val fromOffline: Boolean,
override val suggestedPostInfo: SuggestedPostInfo, override val suggestedPostInfo: SuggestedPostInfo,
@SerialName(paidMessageStarCountField) @SerialName(paidMessageStarCountField)
override val cost: Int? = null override val cost: Int? = null,
@SerialName(senderTagField)
override val senderTag: UserTag? = null
) : CommonSuggestedChannelDirectMessagesContentMessage<T> { ) : CommonSuggestedChannelDirectMessagesContentMessage<T> {
constructor( constructor(
chat: PreviewChannelDirectMessagesChat, chat: PreviewChannelDirectMessagesChat,

View File

@@ -65,6 +65,7 @@ internal data class RawMessage(
private val direct_messages_topic: DirectMessagesTopic? = null, private val direct_messages_topic: DirectMessagesTopic? = null,
@Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Suppress("SERIALIZER_TYPE_INCOMPATIBLE")
private val from: PreviewUser? = null, private val from: PreviewUser? = null,
private val sender_tag: UserTag? = null,
@Suppress("SERIALIZER_TYPE_INCOMPATIBLE") @Suppress("SERIALIZER_TYPE_INCOMPATIBLE")
private val sender_chat: PreviewPublicChat? = null, private val sender_chat: PreviewPublicChat? = null,
private val forward_origin: MessageOrigin? = null, private val forward_origin: MessageOrigin? = null,
@@ -476,6 +477,7 @@ internal data class RawMessage(
senderBoostsCount = sender_boost_count, senderBoostsCount = sender_boost_count,
fromOffline = is_from_offline, fromOffline = is_from_offline,
cost = paid_star_count, cost = paid_star_count,
senderTag = sender_tag,
) )
} }
} }
@@ -519,6 +521,7 @@ internal data class RawMessage(
fromOffline = is_from_offline, fromOffline = is_from_offline,
suggestedPostInfo = suggested_post_info, suggestedPostInfo = suggested_post_info,
cost = paid_star_count, cost = paid_star_count,
senderTag = sender_tag,
) )
} }
} }
@@ -625,6 +628,7 @@ internal data class RawMessage(
senderBoostsCount = sender_boost_count, senderBoostsCount = sender_boost_count,
fromOffline = is_from_offline, fromOffline = is_from_offline,
cost = paid_star_count, cost = paid_star_count,
senderTag = sender_tag,
) )
} }
} else { } else {
@@ -698,6 +702,7 @@ internal data class RawMessage(
senderBoostsCount = sender_boost_count, senderBoostsCount = sender_boost_count,
fromOffline = is_from_offline, fromOffline = is_from_offline,
cost = paid_star_count, cost = paid_star_count,
senderTag = sender_tag
) )
} }
} }
@@ -773,6 +778,7 @@ internal data class RawMessage(
senderBoostsCount = sender_boost_count, senderBoostsCount = sender_boost_count,
fromOffline = is_from_offline, fromOffline = is_from_offline,
cost = paid_star_count, cost = paid_star_count,
senderTag = sender_tag,
) )
} }
} }

View File

@@ -1,8 +1,8 @@
package dev.inmo.tgbotapi.types.message.abstracts package dev.inmo.tgbotapi.types.message.abstracts
import dev.inmo.tgbotapi.requests.chat.forum.CreateForumTopic
import dev.inmo.tgbotapi.types.DirectMessageThreadId import dev.inmo.tgbotapi.types.DirectMessageThreadId
import dev.inmo.tgbotapi.types.MessageThreadId import dev.inmo.tgbotapi.types.MessageThreadId
import dev.inmo.tgbotapi.types.UserTag
import dev.inmo.tgbotapi.types.chat.* import dev.inmo.tgbotapi.types.chat.*
import dev.inmo.tgbotapi.types.message.ChatEvents.forum.ForumTopicCreated import dev.inmo.tgbotapi.types.message.ChatEvents.forum.ForumTopicCreated
import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostInfo import dev.inmo.tgbotapi.types.message.ChatEvents.suggested.SuggestedPostInfo
@@ -14,6 +14,7 @@ sealed interface GroupContentMessage<T : MessageContent> : PublicContentMessage<
sealed interface PotentiallyFromUserGroupContentMessage<T : MessageContent> : GroupContentMessage<T> { sealed interface PotentiallyFromUserGroupContentMessage<T : MessageContent> : GroupContentMessage<T> {
val senderBoostsCount: Int? val senderBoostsCount: Int?
val senderTag: UserTag?
} }
sealed interface ForumContentMessage<T : MessageContent> : GroupContentMessage<T>, PossiblyTopicMessage { sealed interface ForumContentMessage<T : MessageContent> : GroupContentMessage<T>, PossiblyTopicMessage {

View File

@@ -99,6 +99,7 @@ fun <T : MediaGroupPartContent> List<PossiblySentViaBotCommonMessage<T>>.asMedia
senderBoostsCount = sourceMessage.senderBoostsCount, senderBoostsCount = sourceMessage.senderBoostsCount,
fromOffline = sourceMessage.fromOffline, fromOffline = sourceMessage.fromOffline,
cost = sourceMessage.cost, cost = sourceMessage.cost,
senderTag = sourceMessage.senderTag,
) )
is ConnectedFromChannelGroupContentMessage -> ConnectedFromChannelGroupContentMessageImpl( is ConnectedFromChannelGroupContentMessage -> ConnectedFromChannelGroupContentMessageImpl(
chat = sourceMessage.chat, chat = sourceMessage.chat,
@@ -168,6 +169,7 @@ fun <T : MediaGroupPartContent> List<PossiblySentViaBotCommonMessage<T>>.asMedia
senderBoostsCount = sourceMessage.senderBoostsCount, senderBoostsCount = sourceMessage.senderBoostsCount,
fromOffline = sourceMessage.fromOffline, fromOffline = sourceMessage.fromOffline,
cost = sourceMessage.cost, cost = sourceMessage.cost,
senderTag = sourceMessage.senderTag,
) )
is CommonChannelDirectMessagesContentMessage -> CommonChannelDirectMessagesContentMessageImpl( is CommonChannelDirectMessagesContentMessage -> CommonChannelDirectMessagesContentMessageImpl(
chat = sourceMessage.chat, chat = sourceMessage.chat,
@@ -186,6 +188,7 @@ fun <T : MediaGroupPartContent> List<PossiblySentViaBotCommonMessage<T>>.asMedia
senderBoostsCount = sourceMessage.senderBoostsCount, senderBoostsCount = sourceMessage.senderBoostsCount,
fromOffline = sourceMessage.fromOffline, fromOffline = sourceMessage.fromOffline,
cost = sourceMessage.cost, cost = sourceMessage.cost,
senderTag = sourceMessage.senderTag,
) )
is FromChannelForumContentMessage -> FromChannelForumContentMessageImpl( is FromChannelForumContentMessage -> FromChannelForumContentMessageImpl(
chat = sourceMessage.chat, chat = sourceMessage.chat,
@@ -243,6 +246,7 @@ fun <T : MediaGroupPartContent> List<PossiblySentViaBotCommonMessage<T>>.asMedia
fromOffline = sourceMessage.fromOffline, fromOffline = sourceMessage.fromOffline,
suggestedPostInfo = sourceMessage.suggestedPostInfo, suggestedPostInfo = sourceMessage.suggestedPostInfo,
cost = sourceMessage.cost, cost = sourceMessage.cost,
senderTag = sourceMessage.senderTag,
) )
is FromChannelSuggestedChannelDirectMessagesContentMessage<*> -> FromChannelSuggestedChannelDirectMessagesContentMessageImpl( is FromChannelSuggestedChannelDirectMessagesContentMessage<*> -> FromChannelSuggestedChannelDirectMessagesContentMessageImpl(
chat = sourceMessage.chat, chat = sourceMessage.chat,

View File

@@ -0,0 +1,24 @@
package dev.inmo.tgbotapi.utils.serializers
import kotlinx.serialization.KSerializer
import kotlinx.serialization.builtins.serializer
import kotlinx.serialization.descriptors.SerialDescriptor
import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encoding.Encoder
object UnitFromBooleanSerializer : KSerializer<Unit> {
override val descriptor: SerialDescriptor
get() = Boolean.serializer().descriptor
override fun serialize(encoder: Encoder, value: Unit) {
encoder.encodeBoolean(true)
}
override fun deserialize(decoder: Decoder) {
return if (decoder.decodeBoolean()) {
Unit
} else {
throw IllegalStateException("Can't deserialize Unit from false")
}
}
}