# WeChat Channels promotion event

Support from the base library 2.21.0

If Weixin Mini Program is the same entity as or a related entity to the main entity of the WeChat Channels, it is possible to navigate to the event initiated by WeChat Channels using wx.openChannelsEvent .

# Subject judgment logic

If Weixin Mini Program is associated with the same entity as the WeChat Channels, the relevant interfaces can be called. If Weixin Mini Program is associated with a different entity than the one responsible for the WeChat Channels, the following three conditions must be met simultaneously for the relevant interface to be called:

  1. Weixin Mini Program Tied to WeChat Open Platform account
  2. Weixin Mini Program and WeChat open platform account as the same subject or associated subject
  3. WeChat The list of main and associated entities for the Open Platform account includes entities related to WeChat Channels https://kf.qq.com/faq/190726e6JFja190726qMJBn6.html

# Parameter acquisition

Finderusername says WeChat ChannelsID, get WeChat ChannelsID need to login Weixin Channels Assistant , you can view your WeChat ChannelsID on the home page.

EventId uniquely identifies an activity. Getting the eventId of an activity requires logging in Weixin Channels Assistant ,In the "Content Management" - "Event Management" module you can copy the eventId corresponding to each activity you initiate.