类的使用
cn.siriusbot.siriuspro.bot.api.tuple.Tuple
使用Tuple的程序包
-
cn.siriusbot.siriuspro.bot.api中Tuple的使用
修饰符和类型方法说明PinsMessageApi.addPinsMessage(String bot_id, String channel_id, String message_id) 添加精华消息ApiPermissionApi.createApiGrantLink(String bot_id, String guild_id, String channel_id, ApiPermissionDemandIdentify api_identify, String desc) 创建频道Api接口权限,授权链接ChannelApi.createChannel(String bot_id, String guild_id, Channel channel) 创建子频道创建私信会话 机器人和用户存在共同频道才能创建私信会话。AnnouncesApi.createGuildAnnounces(String bot_id, String guild_id, String message_id, String channel_id) 创建频道公告 用于创建频道全局公告,公告类型分为 消息类型的频道公告 和 推荐子频道类型的频道公告 。AnnouncesApi.createGuildRecommend_Channels(String bot_id, String guild_id, Integer announces_type, List<RecommendChannel> recommendChannels) 创建频道推荐子频道列表创建频道身份组ScheduleApi.createSchedule(String bot_id, String channel_id, Schedule schedule) 在指定日程子频道创建一个日程ApiPermissionApi.getAPIPermissions(String bot_id, String guild_id) 获取频道可用权限列表ChannelApi.getChannelInfo(String bot_id, String channel_id) 获取子频道详情ChannelApi.getChannelList(String bot_id, String guild_id) 获取子频道列表ChannelPermissionsApi.getChannelPermissionsByRole_id(String bot_id, String channel_id, String role_id) 获取指定身份组在指定子频道的权限 用于获取子频道 channel_id 下身份组 role_id 的权限。ChannelPermissionsApi.getChannelPermissionsByUser_id(String bot_id, String channel_id, String user_id) 获取子频道用户权限 用于获取 子频道channel_id 下用户 user_id 的权限。GuildApi.getGuildInfo(String bot_id, String guild_id) 获取频道详情UserApi.getGuildList(String bot_id, String before, String after, int limit) 获取频道指定机器人频道列表MemberApi.getMemberInfo(String bot_id, String guild_id, String user_id) 获取成员详情MemberApi.getMemberList(String bot_id, String guild_id, String after, int limit) 获取频道成员列表MemberApi.getMemberListByRoleId(String bot_id, String guild_id, String role_id, String start_index, int limit) 获取拥有此身份组的成员列表MessageApi.getMessageById(String bot_id, String channel_id, String message_id) 获取指定子频道的指定消息详情MessageSettingApi.getMessageSettingInfo(String bot_id, String guild_id) 获取频道消息频率设置信息 用于获取机器人在频道 guild_id 内的消息频率设置。PinsMessageApi.getPinsMessage(String bot_id, String channel_id) 获取当前子频道精华消息MessageReactionApi.getReactionUsers(String bot_id, String channel_id, String message_id, Integer type, String id, String cookie, Integer limit) 拉取表情表态用户列表UserApi.getRobotInfo(String bot_id) 获取机器人基本信息RoleApi.getRoleListByGuild(String bot_id, String guild_id) 从指定频道中获取所有身份组ScheduleApi.getScheduleInfo(String bot_id, String channel_id, String schedule_id) 获取日程详情 获取日程子频道 channel_id 下 schedule_id 指定的的日程的详情。ScheduleApi.getScheduleListByChannel_id(String bot_id, String channel_id, String since) 获取日程列表 用于获取channel_id指定的子频道中当天的日程列表。ForumApi.getThreadInfo(String bot_id, String channel_id, String thread_id) 获取子频道帖子详情 仅私域可用ForumApi.getThreadsByChannelId(String bot_id, String channel_id) 获取指定论坛子频道帖子列表 仅私域可用ChannelApi.modifyChannel(String bot_id, String channel_id, Channel channel) 修改子频道RoleApi.modifyRoleByGuild(String bot_id, String guild_id, String role_id, String name, Integer color, Integer hoist) 修改频道身份组ScheduleApi.modifySchedule(String bot_id, String channel_id, String schedule_id, Schedule schedule) 修改日程NoSpeakApi.noSpeakByUser_ids(String bot_id, String guild_id, List<String> user_ids, String mute_end_timestamp, String mute_seconds) 批量禁言成员发表帖子DMS_Api.sendArkMessage(String bot_id, String guild_id, MessageArk ark, String msg_id, String event_id) 通过指定 ark 字段发送模板消息。MessageApi.sendArkMessage(String bot_id, String channel_id, MessageArk ark, String msg_id, String event_id) 通过指定 ark 字段发送模板消息。DMS_Api.sendCustomInLineKeyword(@NonNull String bot_id, @NonNull String guild_id, @NonNull RequestCustomKeyboard requestCustomKeyboard, String msg_id, String event_id) 发送自定义按钮模板对象MessageApi.sendCustomInLineKeyword(String bot_id, String channel_id, RequestCustomKeyboard requestCustomKeyboard, String msg_id, String event_id) 发送自定义按钮模板对象DMS_Api.sendEmbedMessage(String bot_id, String guild_id, MessageEmbed embed, String msg_id, String event_id) 发送embed模板消息 如传入event_id和msg_id其中一个,此条消息视为被动消息MessageApi.sendEmbedMessage(String bot_id, String channel_id, MessageEmbed embed, String msg_id, String event_id) 发送embed模板消息 如传入event_id和msg_id其中一个,此条消息视为被动消息DMS_Api.sendImageAndTextMessage(String bot_id, String guild_id, String content, String image_path, String msg_id, String event_id) 发送图文消息MessageApi.sendImageAndTextMessage(String bot_id, String channel_id, String content, String image_path, String msg_id, String event_id) 发送图文消息DMS_Api.sendMarkdownMessage(String bot_id, String guild_id, String msg_id, String event_id, MessageMarkdown markdown) 发送markdown消息(富文本) 要求操作人在该子频道具有发送消息和对应 Markdown 模版 的权限。MessageApi.sendMarkdownMessage(String bot_id, String channel_id, String msg_id, String event_id, MessageMarkdown markdown) 发送markdown消息(富文本) 要求操作人在该子频道具有发送消息和对应 Markdown 模版 的权限。DMS_Api.sendMessage(String bot_id, String guild_id, String content, String image_Url, String msg_id, String event_id) 发送普通私信消息 用于向 guild_id 指定的私信会话发送普通私信消息。MessageApi.sendMessage(String bot_id, String channel_id, String content, String image_Url, String msg_id, String event_id) 用于向 channel_id 指定的子频道发送消息。DMS_Api.sendReferenceMessage(String bot_id, String guild_id, String content, MessageReference reference) 发送私信引用消息 用于向 guild_id 指定的私信会话发送引用私信消息。MessageApi.sendReferenceMessage(String bot_id, String channel_id, String content, MessageReference reference) 发送引用消息