Question: I have a invite link of private channel, and I wanna forwards (or delivery) posts from this channel to me. My desired pseudo code is like below.

```
def get_channel(bot, update):
   message=update.channel_post.text
   print(message)

updater = Updater(my_token)
channel_handler = MessageHandler(Filters.text, get_channel, 
channel_post_updates=True, invite_link='http://t.me/aa23faba22939bf')
updater.dispatcher.add_handler(channel_handler)

```

This works well when my bot is in the channel which I created(invite\_link is added for my purpose. I don't know where invite\_link should be input). But what I want is that my bot forwards posts from channel in which my bot is 'not' included. I prefer python, but any API will be ok. I searched all the google world but have no clues.. Any tips appreciated.

Answer: 
With awk:

```
kubectl get pods -l run=hello-kube -o yaml | awk '/podIP:/ {print $2}'

```

Output:

```

10.244.1.9

```
You may also use the format json to get the value with jsonpath, something like,

```
kubectl get pods -l app=cron -o=jsonpath='{.items[0].status.podIP}'

```

Thanks