Method: Viberroo::Input.share_phone_button

Defined in:
lib/viberroo/input.rb

.share_phone_button(params) ⇒ Object

Note:

Not supported on desktop.

Share phone button.

Examples:

button = Viberroo::Input.share_phone_button(contact: { name: 'Gwythyr', phone_number: '12343214' })

See Also:



92
93
94
95
96
# File 'lib/viberroo/input.rb', line 92

def self.share_phone_button(params)
  { ActionType: 'share-phone',
    min_api_version: 3
  }.merge(params)
end