Class SendContact

  • All Implemented Interfaces:
    Validable

    public class SendContact
    extends BotApiMethodMessage
    Version:
    1.0 Use this method to send information about user contact. On success, the sent Message is returned.
    Author:
    Ruben Bermudez
    • Constructor Detail

      • SendContact

        public SendContact()
    • Method Detail

      • setChatId

        public void setChatId​(@NonNull
                              @NonNull Long chatId)
      • enableNotification

        public void enableNotification()
      • disableNotification

        public void disableNotification()