Home > Mobile >  Enterprise WeChat development, send CARDS, style can't identify
Enterprise WeChat development, send CARDS, style can't identify

Time:03-20

Card message display form is very flexible, support the use of br tag or the blank space to line feed processing, also support the use of div tags to use a different font color, the built-in 3 kinds of text color: grey (gray), highlighting (highlight), the default black (normal), as a div tag's class attribute, specific usage, please refer to the above example,
Above is card to send the document
{
"Touser" : "@ all,"
"Msgtype" : "textcard,"
"Agentid" : 1,
"Textcard" : {
"Title" : "award notice 1
reference
Quote:
",
"Description" : "& lt; Div class=\ "gray " & gt; On September 26, 2016 & lt;/div>
" ,
"Url" : "url"
}
}
I side with the postman send messages without style,

CodePudding user response:

CodePudding user response:

The building Lord, I also encountered this problem, could you tell me how do you solve?

CodePudding user response:

~ ~ ~ asked enterprise customer service, only the enterprise WeChat can display color ~ ~ ~ WeChat can't

CodePudding user response:

The customer service feedback abnormal escape ~ your sister don't understand completely

CodePudding user response:

Ask the enterprise WeChat push card message code is how to implement? How to define the class? Thank you very much!
  • Related