Uses of Class
com.cadiducho.telegrambotapi.ChatPermissions
-
Packages that use ChatPermissions Package Description com.cadiducho.telegrambotapi -
-
Uses of ChatPermissions in com.cadiducho.telegrambotapi
Methods in com.cadiducho.telegrambotapi with parameters of type ChatPermissions Modifier and Type Method Description default Boolean
BotAPI. restrictChatMember(Object chat_id, Integer user_id, ChatPermissions permissions)
Use this method to restrict a user in a supergroup.The bot must be an administrator in the supergroup for this to work and must have the appropriate admin rights.Boolean
BotAPI. restrictChatMember(Object chat_id, Integer user_id, ChatPermissions permissions, Integer until_date)
* Use this method to restrict a user in a supergroup.Boolean
TelegramBot. restrictChatMember(Object chat_id, Integer user_id, ChatPermissions permissions, Integer until_date)
Boolean
BotAPI. setChatPermissions(Object chat_id, ChatPermissions permissions)
Use this method to set default chat permissions for all members.Boolean
TelegramBot. setChatPermissions(Object chat_id, ChatPermissions permissions)
-