How to get a Gameobject parameter in rpc call

I want to get the Gameobject parameter in the rpc call so I can change the game objects child of Textmech so how would I go about doing this?

Sorry if the code is incomplete I did it in note on my phone

GameManager code

Void Start(){

if(photonplayer.ismaster){

Game object small = Gameobject.findwithtag("Small");

Foreach (game object place in small){

int random = Random.Number(10,50);
Photoneteork,sendrpc ( ("RPCTest") something.all. random. Place)(

}
[RPC]
Void RPCTest (int random. Gameobject Place){
Place.Getcomponetinchildern<Textmech>().text = random.ToString();
}

}
}