I am adding a reply action as a menu item to a timeline card. I want to display custom text instead of "REPLY". I use the code below and still get "REPLY". Strange thing is if I go to the glass playground and just update the card(without ANY changes) it then shows the custom text. Also if I update the card the menu displays the correct custom text. Any ideas??
TimelineItem card=new TimelineItem();
List<MenuItem> menuItems=new ArrayList<MenuItem>();
List<MenuValues> menuValues=new ArrayList<MenuValue>();
menuValues.add(new MenuValue().setDisplayName("My Text"));
menuItems.add(new MenuItem().setAction("REPLY").setValues(menuValues));
card.setMenuItems(menuItems);