getFriendOrFail

open fun getFriendOrFail(id: Long): Friend

对方 QQ 号码 获取一个好友对象, 在获取失败时抛出 NoSuchElementException. 在 idBot.id 相同时返回 Bot.asFriend.