V7 bgp peer in_filter and out filter config?

there is no in_filter and out_filter for bgp peer, how to achieve this in v7?

https://help.mikrotik.com/docs/display/ROS/ROSv7+Basic+Routing+Examples#heading-BGPConfiguration

thanks

before this thread, i have readed this doc, did’t get it, it is better if there is some more configuration sample

Then it is not clear what exactly you are unable to find, because there is an example that shows how to specify out filter:

/routing/bgp/template
add name=myAsTemplate as=65500 output.filter=myAsFilter