设置 btn 指向的 Button 为 扫码推事件且弹出"消息接收中"提示框 类型按钮.
(name, key string)
| 103 | |
| 104 | // 设置 btn 指向的 Button 为 扫码推事件且弹出"消息接收中"提示框 类型按钮. |
| 105 | func (btn *Button) SetAsScanCodeWaitMsgButton(name, key string) { |
| 106 | btn.Type = ButtonTypeScanCodeWaitMsg |
| 107 | btn.Name = name |
| 108 | btn.Key = key |
| 109 | |
| 110 | btn.URL = "" |
| 111 | btn.MediaId = "" |
| 112 | btn.SubButtons = nil |
| 113 | } |
| 114 | |
| 115 | // 设置 btn 指向的 Button 为 弹出系统拍照发图 类型按钮. |
| 116 | func (btn *Button) SetAsPicSysPhotoButton(name, key string) { |
nothing calls this directly
no outgoing calls
no test coverage detected