• Check if the current user can post stories as a given peer

    Parameters

    Returns Promise<CanSendStoryResult>

    • true if the user can post stories
      • "need_admin" if the user is not an admin in the chat
      • "need_boosts" if the channel doesn't have enough boosts