Enable resource sharing

Summary

Allow users to share specific resources from a bridge (like specific channels from Telegram) with their groups.

Motivation

The goal is to make some resources available to groups without the need to spawn a new connection, when it's not "free" (for example, in IM apps, a phone number will be needed for each account/connection), while allowing the sharing user to only expose part of that connection (only a subset of the channels where they are connected to the bot).

Description

Some bridge "callbacks" will be converted to resources, signaling that the user can share them. On the platform's UI it will be possible for the users to open the connection data on that bridge, see which resources are available and choose to share (and stop sharing) specific resource values (ie: channels) with the groups the user is admin of.

Edited by kenkeiras